From f7254551bdefb51624b4a26940543235e07db48f Mon Sep 17 00:00:00 2001 From: ulrich@undisclosed <ulrich@ulrich-vaio> Date: Sun, 17 May 2020 11:56:42 +0000 Subject: [PATCH] Nutzer loeschen und Dialog zur Bestaetigung --- web/ui/index.html | 33 ++++++++++++++++++++++++++++----- 1 files changed, 28 insertions(+), 5 deletions(-) diff --git a/web/ui/index.html b/web/ui/index.html index 383671b..f11ade7 100644 --- a/web/ui/index.html +++ b/web/ui/index.html @@ -6,14 +6,33 @@ <title>Benutzer</title> <link rel="stylesheet" type="text/css" href="/jslib/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="stile.css"> + <script id="tpl-list" type="x-tmpl-mustache"> + {{#List}} + {{#List}} + <option value="{{ String }}">{{ String }}</option>' + {{/List}} + {{/List}} + </script> </head> <body> <div id="inhalt"> - <div class="breadcrumb"> - <a class="breadcrumb-item" href="/">WebBox</a> - <a class="breadcrumb-item" href="/wbx/">Verwaltung</a> - <span class="breadcrumb-item active">Benutzer</span> - </div> + <ul class="nav"> + <li class="nav-item dropdown"> + <a id="userMenu" class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a> + <div class="dropdown-menu"> + <a class="dropdown-item" href="/data/dok/wbx/Bedienung.htmi">Hilfe</a> + <a class="dropdown-item" href="/">Zur Hauptseite der WebBox wechseln</a> + <div class="dropdown-divider"></div> + <a class="dropdown-item" href="/wbx/mng">Apps verwalten</a> + <a class="dropdown-item disabled" href="#">Benutzer verwalten</a> + <a class="dropdown-item" href="/file-cms/ui">Dateien verwalten</a> + <a class="dropdown-item" href="/wbx-dbcon/ui">Datenbanken verwalten</a> + <div class="dropdown-divider"></div> + <a id="profil" class="dropdown-item" href="/um/profil">Profil</a> + <a id="logout" class="dropdown-item" href="#">Abmelden</a> + </div> + </li> + </ul> <!-- <h1>Benutzer</h1> --> <div id="user-list-form"> <select multiple class="form-control eingabe role-select" size="5" name="nutzerliste" id="nutzerliste"></select> @@ -26,6 +45,8 @@ <input class="form-control eingabe" type="text" size="20" maxlength="30" placeholder="Anmeldename" name="anmeldename" id="anmeldename"> <input class="form-control eingabe" type="password" size="20" maxlength="30" placeholder="Kennwort" name="kennwort" id="kennwort"> <input class="form-control eingabe" type="password" size="20" maxlength="30" placeholder="Wiederholung" name="kennwortw" id="kennwortw"> + <input class="form-control eingabe" type="text" size="20" maxlength="250" placeholder="Vorname" name="vorname" id="vorname"> + <input class="form-control eingabe" type="text" size="20" maxlength="250" placeholder="Name" name="nachname" id="nachname"> <!--<button class="user-cancel-btn">Abbrechen</button>--> <button class="user-save-btn btn btn-primary eingabe">Speichern</button> </div> @@ -49,6 +70,8 @@ </div> </div> <script src="/jslib/jquery/jquery.min.js"></script> + <script src="/jslib/bootstrap/js/bootstrap.min.js"></script> + <script src="/jslib/mustache/mustache.min.js"></script> <script src="ui.js"></script> <script type="text/javascript" charset="utf-8"> //var ui; -- Gitblit v1.9.3