From a3166fd29e01a31c2f72ca28123e5afbaac6f86a Mon Sep 17 00:00:00 2001 From: Ognjen Cirkovic Date: Thu, 22 Dec 2022 03:20:44 +0100 Subject: Omoguceno adminu brisanje korisnika. --- src/main/webapp/pages/adminIndex.jsp | 60 ++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) (limited to 'src/main/webapp/pages/adminIndex.jsp') diff --git a/src/main/webapp/pages/adminIndex.jsp b/src/main/webapp/pages/adminIndex.jsp index e4225e2..3c16a28 100644 --- a/src/main/webapp/pages/adminIndex.jsp +++ b/src/main/webapp/pages/adminIndex.jsp @@ -1,13 +1,73 @@ +<%@page import="models.User"%> +<%@page import="models.Monster"%> +<%@page import="java.util.ArrayList"%> +<%@page import="models.CONSTS"%> +<%@page import="java.rmi.Naming"%> +<%@page import="pokemon.IService"%> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> + <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> Admin + +

Lista korisnika

+<% +IService service=(IService)Naming.lookup(CONSTS.rmiUrl); +ArrayListusers=service.getAllUsers(); +request.setAttribute("users", users); +%> + + + + + + + + + + + + + + + + + + + +
IdUsernameadminpokemonId
+ + + + + + + + + + + + + + + +
+ + + +

Registracija novog admina

Korisnicko ime -- cgit v1.2.3