Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <meta charset="UTF-8" />
- <title>
- HTML Document Structure
- </title>
- <link rel="stylesheet" type="text/css" href="style.css" />
- <link rel="stylesheet" href="themes/my-costum-theme.min.css" />
- <link rel="stylesheet" href="themes/jquery.mobile.icons.min.css" />
- <script src="http://code.jquery.com/jquery-2.1.3.min.js"></script>
- <script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
- <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile.structure-1.4.5.min.css" />
- <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.14.0/jquery.validate.min.js"></script>
- <!-- Einstellungen zur Defintion als WebApp -->
- <meta name="apple-mobile-web-app-capable" content="yes" />
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
- <script>
- $(document).ready(function () {
- $('#myform').validate({ // initialize the plugin
- rules: {
- username: {
- required: true,
- minlength: 2,
- maxlength: 30
- },
- password: {
- required: true,
- minlength: 3,
- maxlength: 30
- }
- },
- submitHandler: function (form) { // for demo
- form.submit();
- return false; // for demo
- }
- });
- });
- </script>
- </head>
- <body>
- <div class="ui-page" data-theme="a" data-role="page">
- <div data-role="header">
- <h1>lendsth</h1>
- </div>
- <div id="wrapper1" style=" width: 90%; padding-left:5%;padding-right:5%" name="wrapper1">
- <form data-ajax="false" name="login-form" id="myform" class="login-form" action="./login.php" method="post">
- <div class="content1">
- <div data-role="fieldcontain">
- <label for="username">Username</label>
- <input name="username" type="text" class="input username" id="username"
- />
- </div>
- <div data-role="fieldcontain">
- <label for="password">Password</label>
- <input name="password" type="password" class="input password" id="password"
- />
- </div>
- </div>
- <div class="footer">
- <input type="submit" name="submit" value="Register" class="ui-btn"/>
- </div>
- </form>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement