2013-02-20 20:33:05 -05:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<title>Sign In</title>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div id="loginPage" data-role="page" class="page standalonePage">
|
|
|
|
|
|
|
|
|
|
<div data-role="content">
|
2013-07-08 12:13:21 -04:00
|
|
|
|
|
2013-08-24 00:10:50 -04:00
|
|
|
|
<form class="manualLoginForm" id="manualLoginForm" style="display: none; text-align: center; margin: 0 auto;">
|
2013-07-08 12:13:21 -04:00
|
|
|
|
<h2 style="text-align: left;">Please sign in</h2>
|
|
|
|
|
|
|
|
|
|
<label for="txtManualName" style="text-align: left;">User:</label>
|
2013-07-08 15:31:45 -04:00
|
|
|
|
<input type="text" name="txtManualName" id="txtManualName" required="required" />
|
2013-07-08 12:13:21 -04:00
|
|
|
|
|
|
|
|
|
<label for="txtManualPassword" style="text-align: left;">Password:</label>
|
|
|
|
|
<input type="password" name="txtManualPassword" id="txtManualPassword" placeholder="password" />
|
|
|
|
|
|
|
|
|
|
<p>
|
2013-12-24 13:37:29 -05:00
|
|
|
|
<button type="submit" data-theme="b" data-icon="check">
|
2013-07-08 12:13:21 -04:00
|
|
|
|
Sign in
|
|
|
|
|
</button>
|
|
|
|
|
</p>
|
|
|
|
|
</form>
|
|
|
|
|
|
2013-08-24 00:10:50 -04:00
|
|
|
|
<div class="visualLoginForm" style="display: none; text-align: center;">
|
|
|
|
|
<div id="divUsers"></div>
|
|
|
|
|
|
|
|
|
|
<p style="text-align: center;"><a onclick="$('.manualLoginForm').show();$('.visualLoginForm').hide();" href="#">Manual Login</a></p>
|
|
|
|
|
</div>
|
2013-02-20 20:33:05 -05:00
|
|
|
|
</div>
|
|
|
|
|
|
2013-12-24 13:37:29 -05:00
|
|
|
|
<div data-role="popup" id="popupLogin" class="popup">
|
2013-07-08 12:13:21 -04:00
|
|
|
|
<form class="loginForm">
|
2013-12-24 13:37:29 -05:00
|
|
|
|
<div class="ui-bar-a" style="text-align: center;">
|
2013-02-20 20:33:05 -05:00
|
|
|
|
<h3>Please sign in</h3>
|
|
|
|
|
</div>
|
2013-12-24 13:37:29 -05:00
|
|
|
|
<div data-role="content">
|
2013-02-20 20:33:05 -05:00
|
|
|
|
<label for="pw" class="ui-hidden-accessible">Password:</label>
|
|
|
|
|
<input type="password" name="pw" id="pw" value="" placeholder="password" />
|
|
|
|
|
|
|
|
|
|
<p>
|
2013-12-24 13:37:29 -05:00
|
|
|
|
<button type="submit" data-theme="b" data-icon="check">
|
2013-02-20 20:33:05 -05:00
|
|
|
|
Sign in
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" data-icon="delete" onclick="$(this).parents('.popup').popup('close');">
|
|
|
|
|
Cancel
|
|
|
|
|
</button>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
2013-07-15 21:36:18 -04:00
|
|
|
|
$('.loginForm').on('submit', LoginPage.onSubmit);
|
2013-07-08 12:13:21 -04:00
|
|
|
|
$('#manualLoginForm').on('submit', LoginPage.onManualSubmit);
|
2013-02-20 20:33:05 -05:00
|
|
|
|
</script>
|
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|