Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
576
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 2.09 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta charset="utf-8" />
  5.     <meta name="format-detection" content="telephone=no" />
  6.     <meta name="msapplication-tap-highlight" content="no" />
  7.     <!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
  8.     <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
  9.     <link rel="stylesheet" type="text/css" href="css/ionic.min.css" />
  10.     <title>Login</title>
  11.         <script type="text/javascript">
  12.     var url = window.location.pathname;var filename = url.substring(url.lastIndexOf('/')+1);
  13.     if(localStorage.login=="true" && filename == 'login.html'){window.location.href = "index.html";}
  14.     else if(localStorage.login=="false" && filename != 'login.html'){window.location.href = "login.html";}
  15.   </script>
  16. </head>
  17. <body>
  18.     <div class="bar bar-header">
  19.         <h1 class="title">Login</h1>
  20.         <a href="signup.html" class="button button-clear button-royal">Signup</a>
  21.     </div>
  22.     <div class="padding" style="margin-top:55px;">
  23.         <label class="item-input">
  24.             <span class="input-label">Email</span>
  25.             <input type="email" placeholder="email@domain.com" id="email">
  26.         </label>
  27.         <label class="item-input">
  28.             <span class="input-label">Password</span>
  29.             <input type="password" placeholder="password" id="password">
  30.         </label>
  31.         <label class="item-input">
  32.             <span class="input-label"></span>
  33.             <a href="forget-password.html" class="button button-clear button-royal">Forget Password ?</a>
  34.         </label>
  35.         <label class="item-input">
  36.             <button class="button button-block button-positive" id="login">Login</button>
  37.         </label>
  38.     </div>
  39.     <script type="text/javascript" src="cordova.js"></script>
  40.     <script type="text/javascript" src="js/jq.js"></script>
  41.     <script type="text/javascript" src="js/auth.js"></script>
  42. </body>
  43.  
  44. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement