From 50ed237526f1ccb57724c94fd1d1ffa2a23a690b Mon Sep 17 00:00:00 2001 From: ulrich <not disclosed> Date: Tue, 27 Dec 2016 13:59:04 +0000 Subject: [PATCH] Abbrechen bei new-user-form und kleinere Anpassungen --- web/ui/ui.js | 1 + web/ui/user.html | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/web/ui/ui.js b/web/ui/ui.js index eb0eb23..5da03e6 100644 --- a/web/ui/ui.js +++ b/web/ui/ui.js @@ -5,6 +5,7 @@ $('#role-form').hide(); $('#user-role-form').hide(); $('.user-save-btn').click(um_user_save); + $('.user-cancel-btn').click(um_back_from_new_user); $('#nutzerliste').click(um_user_list_click); $('#nutzerLoeschen').click(um_del_user); $('#nutzerNeu').click(um_new_user); diff --git a/web/ui/user.html b/web/ui/user.html index 240d934..8c89572 100644 --- a/web/ui/user.html +++ b/web/ui/user.html @@ -20,9 +20,9 @@ <button id="nav-back-btn">zurück</button> </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"> + <input type="text" size="20" maxlength="30" placeholder="Anmeldename" name="anmeldename" id="anmeldename"> + <input type="password" size="20" maxlength="30" placeholder="Kennwort" name="kennwort" id="kennwort"> + <input type="password" size="20" maxlength="30" placeholder="Wiederholung" name="kennwortw" id="kennwortw"> <button class="user-cancel-btn">Abbrechen</button> <button class="user-save-btn">OK</button> </div> -- Gitblit v1.9.3