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 |   50 +++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 41 insertions(+), 9 deletions(-)

diff --git a/web/ui/user.jsp b/web/ui/user.jsp
index 6f5cbe3..f8425d9 100644
--- a/web/ui/user.jsp
+++ b/web/ui/user.jsp
@@ -1,20 +1,52 @@
-<%-- 
-    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" type="text/css" href="stile.css">
   </head>
   <body>
-    <h1>Benutzer</h1>
-    <div>
-      <input>
+    <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&ouml;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>
+    <script type="text/javascript" charset="utf-8">
+      //var ui;
+      $(document).ready(function() {
+        um_init();
+      });
+    </script>
   </body>
 </html>

--
Gitblit v1.9.3