Advertisement
Guest User

Untitled

a guest
Jan 9th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. <html>
  2. <head>
  3. <meta charset="UTF-8" />
  4. <title>
  5. HTML Document Structure
  6. </title>
  7. <link rel="stylesheet" type="text/css" href="style.css" />
  8. <link rel="stylesheet" href="themes/my-costum-theme.min.css" />
  9. <link rel="stylesheet" href="themes/jquery.mobile.icons.min.css" />
  10. <script src="http://code.jquery.com/jquery-2.1.3.min.js"></script>
  11. <script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
  12.  
  13. <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile.structure-1.4.5.min.css" />
  14. <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.14.0/jquery.validate.min.js"></script>
  15. <!-- Einstellungen zur Defintion als WebApp -->
  16. <meta name="apple-mobile-web-app-capable" content="yes" />
  17. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
  18. <script>
  19. $(document).ready(function () {
  20. $('#myform').validate({ // initialize the plugin
  21. rules: {
  22. username: {
  23. required: true,
  24. minlength: 2,
  25. maxlength: 30
  26. },
  27. password: {
  28. required: true,
  29. minlength: 3,
  30. maxlength: 30
  31. }
  32. },
  33. submitHandler: function (form) { // for demo
  34.  
  35.  
  36. form.submit();
  37. return false; // for demo
  38. }
  39. });
  40. });
  41. </script>
  42. </head>
  43. <body>
  44. <div class="ui-page" data-theme="a" data-role="page">
  45. <div data-role="header">
  46. <h1>lendsth</h1>
  47.  
  48. </div>
  49. <div id="wrapper1" style=" width: 90%; padding-left:5%;padding-right:5%" name="wrapper1">
  50.  
  51. <form data-ajax="false" name="login-form" id="myform" class="login-form" action="./login.php" method="post">
  52.  
  53. <div class="content1">
  54. <div data-role="fieldcontain">
  55. <label for="username">Username</label>
  56. <input name="username" type="text" class="input username" id="username"
  57. />
  58. </div>
  59. <div data-role="fieldcontain">
  60. <label for="password">Password</label>
  61. <input name="password" type="password" class="input password" id="password"
  62. />
  63. </div>
  64. </div>
  65. <div class="footer">
  66. <input type="submit" name="submit" value="Register" class="ui-btn"/>
  67. </div>
  68.  
  69. </form>
  70.  
  71. </div>
  72.  
  73. </div>
  74. </body>
  75. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement