From 5bf001d9a557bec3a0b67cd519936c4ed4295db4 Mon Sep 17 00:00:00 2001 From: ulrich Date: Sun, 27 Nov 2016 19:56:30 +0000 Subject: [PATCH] user prototyp --- web/ui/user.jsp | 12 ++++++++++++ web/ui/ui.js | 10 +++++++++- 2 files changed, 21 insertions(+), 1 deletions(-) diff --git a/web/ui/ui.js b/web/ui/ui.js index e567e34..9af656f 100644 --- a/web/ui/ui.js +++ b/web/ui/ui.js @@ -46,4 +46,12 @@ - */ \ No newline at end of file + */ + +function um_init() { + $('.user-save-btn').click(um_user_save); +} + +function um_user_save() { + alert('user-save'); +} \ No newline at end of file diff --git a/web/ui/user.jsp b/web/ui/user.jsp index ddf6a87..52ac39b 100644 --- a/web/ui/user.jsp +++ b/web/ui/user.jsp @@ -10,6 +10,8 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <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"> </head> <body> <h1>Benutzer</h1> @@ -17,6 +19,16 @@ <input type="text" size="20" maxlength="20" name="anmeldename" id="anmeldename"> <input type="password" size="20" maxlength="20" name="kennwort" id="kennwort"> <input type="password" size="20" maxlength="20" name="kennwortw" id="kennwortw"> + <button class="user-save-btn">OK</button> </div> + <script src="/jslib/jquery-1.11.1/jquery-1.11.1.min.js"></script> + <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