-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.xml
More file actions
93 lines (93 loc) · 2.46 KB
/
Copy pathindex.xml
File metadata and controls
93 lines (93 loc) · 2.46 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta charset="utf-8" />
<title>title</title>
<style>
.hide { display: none; }
</style>
<script src="@HTURI@/index.min.js"></script>
</head>
<body>
<section id="loading">
Loading...
</section>
<section id="loaded">
<section id="login" class="hide">
<form class="styled" id="loginform" method="post" action="@CGIURI@/login.json">
<p class="error error400 hide">
Bad user and/or password. Try again!
</p>
<fieldset>
<label>
E-mail address
<input type="email" name="user-email" required="required" />
</label>
<label>
Password
<input type="password" name="user-hash" required="required" />
</label>
</fieldset>
<div class="buttons">
<button type="submit" class="submit">
Login
</button>
<button type="button" disabled="disabled" class="hide pending">
Logging in…
</button>
</div>
</form>
</section>
<section id="loggedin" class="hide">
<p>
You're logged in, <span class="user-email"></span>.
</p>
<div id="usermod">
<form id="modpassform" method="post" action="@CGIURI@/usermodpass.json">
<fieldset>
<label>
Password
<input type="password" name="user-hash" required="required" />
</label>
</fieldset>
<div class="buttons">
<button type="submit" class="submit">
Change
</button>
<button type="button" disabled="disabled" class="pending hide">
Changing…
</button>
</div>
</form>
<form id="modemailform" method="post" action="@CGIURI@/usermodemail.json">
<fieldset>
<label>
E-mail
<input type="email" name="user-email" required="required" />
</label>
</fieldset>
<div class="buttons">
<button type="submit" class="submit">
Change
</button>
<button type="button" disabled="disabled" class="hide pending">
Changing…
</button>
</div>
</form>
</div>
<form id="logoutform" method="post" action="@CGIURI@/logout.json">
<div class="buttons">
<button type="submit" class="submit">
Logout
</button>
<button type="button" disabled="disabled" class="pending hide">
Logging out…
</button>
</div>
</form>
</section>
</section>
</body>
</html>