From 58aa3b03b63bda8496a953a936ef847a611a52c9 Mon Sep 17 00:00:00 2001 From: ulrich <ulrich> Date: Tue, 19 May 2020 14:02:12 +0000 Subject: [PATCH] Abmelden fertig, neues UI und neues Profil aktiviert --- web/profil/index.html | 99 +++++++++++++++++++++---------------------------- 1 files changed, 42 insertions(+), 57 deletions(-) diff --git a/web/profil/index.html b/web/profil/index.html index 9919174..922ee07 100644 --- a/web/profil/index.html +++ b/web/profil/index.html @@ -1,71 +1,56 @@ <!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="/jslib/bootstrap/css/bootstrap.min.css"> + <title>Nutzerprofil</title> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalabe=no"> + <meta name="apple-mobile-web-app-capable" content="yes" /> <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"> - <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" href="/um/ui">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 disabled" href="/um/profil">Profil</a> - <a id="logout" class="dropdown-item" href="#">Abmelden</a> - </div> - </li> - </ul> - <!-- <h1>Benutzer</h1> --> - <div class="bg-warning p-3" id="meldung-box"> - <button type="button" class="close" aria-label="Close" id="mldg-x"> - <span aria-hidden="true">×</span> - </button> - <div class="meldung"></div> + <!-- Kopfzeile --> + <div class="nord"> + <div class="back-btn"> + <button type="button" class="zurueck-btn">❮ Zurück</button> </div> - <div id="user-form"> - <label class="pl-3" id="anmeldename">id</label> - <!-- <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="Neues Kennwort" name="kennwortneu" id="kennwortNeu"> - <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 class="app-titel"> + <span id="app-titel">Nutzerprofil</span> </div> - - <!-- - <div id="nav"> - <button id="nav-back-btn" class="btn btn-secondary">zurück</button> + <div class="top-btn-area"> + <button type="button" title="Abmelden" class="top-btn" id="top-logout-btn"><i class="icon-off"></i></button> </div> - --> </div> - <script src="/jslib/jquery/jquery.min.js"></script> - <script src="/jslib/bootstrap/js/bootstrap.min.js"></script> + <div class="inhalt"> + <!-- westliche Seitenleiste --> + <div class="west"></div> + <div class="zentrum-behaelter"> + <!-- Einblendbereich --> + <div class="dialog"></div> + <!-- zentraler Inhaltsbereich --> + <div class="zentrum"> + <div class="zentraler-inhalt"> + <div class="zentrum-liste" id="nutzer"> + <figure> + <i class="demo-icon icon-folder"></i> + <figcaption class="i-name">icon-folder</figcaption> + </figure> + </div> + </div> + </div> + </div> + <!-- oestliche Seitenleiste --> + <div class="ost"></div> + </div> + <!-- Fusszeile --> + <div class="sued"></div> + <!-- Skripte --> <script src="/jslib/mustache/mustache.min.js"></script> - <script src="ui.js"></script> - <script type="text/javascript" charset="utf-8"> - //var ui; - $(document).ready(function() { - um_prf_init(); + <script src="app.js"></script> + <script> + var app; + document.addEventListener('DOMContentLoaded', function () { + app = new NutzerProfilApp(); + app.init(); }); </script> </body> -- Gitblit v1.9.3