ulrich
2016-11-27 5bf001d9a557bec3a0b67cd519936c4ed4295db4
user prototyp
2 files modified
20 ■■■■■ changed files
web/ui/ui.js 8 ●●●●● patch | view | raw | blame | history
web/ui/user.jsp 12 ●●●●● patch | view | raw | blame | history
web/ui/ui.js
@@ -47,3 +47,11 @@
 
 
 */
function um_init() {
  $('.user-save-btn').click(um_user_save);
}
function um_user_save() {
  alert('user-save');
}
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>