From c79c120dae38042f0f5d5c31d9b7413b0a8a3e7e Mon Sep 17 00:00:00 2001 From: ulrich <not disclosed> Date: Tue, 27 Dec 2016 12:21:53 +0000 Subject: [PATCH] Neue Rolle speichern und zeigen --- web/ui/user.jsp | 46 ++++++++++++++++++++++++++++++++-------------- 1 files changed, 32 insertions(+), 14 deletions(-) diff --git a/web/ui/user.jsp b/web/ui/user.jsp index 8952c94..f8425d9 100644 --- a/web/ui/user.jsp +++ b/web/ui/user.jsp @@ -1,26 +1,44 @@ -<%-- - Document : user - Created on : 27.11.2016, 18:05:23 - Author : Ulrich Hilger ---%> - <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Benutzer</title> - <link rel="stylesheet" href="/jslib/skeleton-2.0.4/css/normalize.css"> - <link rel="stylesheet" href="/jslib/skeleton-2.0.4/css/skeleton.css"> <link rel="stylesheet" type="text/css" href="stile.css"> </head> <body> - <h1>Benutzer</h1> - <div id="user-form"> - <input type="text" size="20" maxlength="20" placeholder="Anmeldename" name="anmeldename" id="anmeldename"> - <input type="password" size="20" maxlength="20" placeholder="Kennwort" name="kennwort" id="kennwort"> - <input type="password" size="20" maxlength="20" placeholder="Wiederholung" name="kennwortw" id="kennwortw"> - <button class="user-save-btn">OK</button> + <div id="inhalt"> + <h1>Benutzer</h1> + <div id="user-list-form"> + <select size="5" name="nutzerliste" id="nutzerliste"></select> + </div> + <div> + <input type="button" name="nutzerLoeschen" id="nutzerLoeschen" value="Löschen"> + <input type="button" name="nutzerNeu" id="nutzerNeu" value="Neu"> + </div> + <div id="user-form"> + <input type="text" size="20" maxlength="20" placeholder="Anmeldename" name="anmeldename" id="anmeldename"> + <input type="password" size="20" maxlength="20" placeholder="Kennwort" name="kennwort" id="kennwort"> + <input type="password" size="20" maxlength="20" placeholder="Wiederholung" name="kennwortw" id="kennwortw"> + <button class="user-cancel-btn">Abbrechen</button> + <button class="user-save-btn">OK</button> + </div> + <div id="user-role-form"> + <h5>Rollen des Benutzers</h5> + <select size="5" name="nutzerrollen" id="nutzerrollen"></select> + </div> + <div> + <input type="button" name="nutzerRolleEntziehen" id="nutzerRolleEntziehen" value="Entziehen"> + </div> + <div id="role-form"> + <h5>Rollen</h5> + <select size="5" name="rollen" id="rollen"></select> + </div> + <div> + <input type="button" name="neueRolle" id="neueRolle" value="Neu"> + <input type="button" name="rolleErteilen" id="rolleErteilen" value="Erteilen"> + </div> </div> <script src="/jslib/jquery-1.11.1/jquery-1.11.1.min.js"></script> <script src="ui.js"></script> -- Gitblit v1.9.3