2 <html xmlns="http://www.w3.org/1999/xhtml">
\r
4 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
\r
6 <script type="text/javascript" src="resources/jQuery/jquery-1.10.2.min.js"></script>
\r
7 <link rel='stylesheet' type='text/css' href='http://fonts.googleapis.com/css?family=Open+Sans:400,300italic,800,300,400italic,600,600italic,700,700italic,800italic' />
\r
8 <style media="screen" type="text/css">
\r
11 font-family:'Open Sans';
\r
35 #block input[type=text],#block input[type=password] {
\r
36 font-family:'Open Sans';
\r
46 #block input[type=password]{
\r
65 $(document).ready(function()
\r
67 $('#loginForm').submit(function()
\r
69 var username = $('#user').val();
\r
70 var password = $('#password').val();
\r
74 'password' : password,
\r
75 'username' : username,
\r
76 'url' : 'index.php',
\r
78 'success' : function(){ window.location = 'index.php'; },
\r
79 'error' : function(){ alert('Bad Login Details');},
\r
89 <form id="loginForm">
\r
91 <input id="user" type="text" placeholder="Username" required="required" />
\r
92 <input id="password" type="password" placeholder="Password" required="required" />
\r
93 <input id="submit" type="submit" value="→" />
\r