This repository has been archived by the owner on Mar 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
auth.html
63 lines (62 loc) · 2.21 KB
/
auth.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html>
<head>
<!-- JQuery -->
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<!-- Material Lite -->
<link href="css/material.min.css" rel="stylesheet">
<script src="bower_components/material-design-lite/material.min.js"></script>
<!-- Dialog Polyfill -->
<script src="bower_components/dialog-polyfill/dialog-polyfill.js"></script>
<link href="bower_components/dialog-polyfill/dialog-polyfill.css" rel="stylesheet">
<!-- Material Fonts -->
<link href="bower_components/material-design-icons/iconfont/material-icons.css" rel="stylesheet">
<!-- API -->
<script src="js/api.js"></script>
<!-- Core -->
<link href="css/core.css" rel="stylesheet">
<script src="js/core.js"></script>
<script src="js/auth.js"></script>
<title>Authentication</title>
</head>
<body>
<div class="mdl-layout mdl-js-layout">
<main class="mdl-layout__content">
<!-- Snackbar -->
<div id="snackbar" class="mdl-js-snackbar mdl-snackbar">
<div class="mdl-snackbar__text"></div>
<button class="mdl-snackbar__action" type="button"></button>
</div>
</main>
</div>
<!-- Dialogs -->
<dialog id="busy_dialog" class="mdl-dialog">
<h3 class="mdl-dialog__title">Please wait</h3>
<div class="mdl-dialog__content">
<p>
Logging in...
</p>
<br>
<div class="dialog_spinner_wrapper">
<div class="loading_spinner">
<div class="mdl-spinner mdl-js-spinner is-active"></div>
</div>
</div>
</div>
</dialog>
<dialog id="auth_dialog" class="mdl-dialog">
<h3 class="mdl-dialog__title">Authenticate</h3>
<div class="mdl-dialog__content">
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="password" id="auth_dialog_password">
<label class="mdl-textfield__label" for="auth_dialog_password">Password</label>
</div>
</div>
<div class="mdl-dialog__actions">
<button type="submit" id="auth_submit" class="mdl-button mdl-js-button mdl-js-ripple-effect">
Login
</button>
</div>
</dialog>
</body>
</html>