-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (82 loc) · 4.27 KB
/
index.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html manifest="manifest.appcache">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/turretcss.min.css" integrity="sha256-OyCIWTH8XVzlBgue2UM2JLSq512Oq2SOoHdM1MOy0GM=" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/surpass.css" integrity="sha256-zeXm6nDG9CVlCCL10O9LnXXcb55H8fWZ0dCYInNxFiM=" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<link rel="manifest" href="/manifest.json">
<title>National Association of Florists With Mismatched Gloves Check-In</title>
</head>
<body>
<main class="container">
<div id="setup-mode">
<form id="setup-form">
<div class="field">
<label for="sbox-file">Encrypted Member List File</label>
<input type="file" id="sbox-file">
</div>
<div class="field">
<label for="passphrase">Passphrase</label>
<input type="password" id="passphrase">
</div>
<button type="submit" class="button-block button-primary field" id="setup-button">Start Sign-in</button>
</form>
</div>
<div id="signin-mode" hidden>
<div id="lookup-mode">
<div class="field">
<label for="member-search">Member Name</label>
<input id="member-search" maxlength="32">
</div>
<div id="top-result" class="border padding-s" hidden>
<div id="top-name" class="font-size-xl"></div>
<div id="top-details">
<span id="top-date"></span>
<span id="top-action" class="right"> <span id="top-action-taken" hidden></span> <button type="button" id="top-action-button" class="button-xs"></button></span>
</div>
</div>
<div id="no-result" class="border text-center padding-s">
</div>
<button type="button" id="add-note-button" class="field">Add note on record</button>
</div>
<div id="note-mode" hidden>
<div class="field">
<label for="note-content">Note</label>
<textarea id="note-content"></textarea>
</div>
<div class="field">
<button id="save-note" type="button" class="button-primary">Add note</button>
<button id="discard-note" type="button">Cancel</button>
</div>
</div>
<div id="lookup-footer" class="container position-bottom background-dark padding-xs color-white">
<span id="footer-message"></span>
<button id="finish-button" type="button" class="right button-xs warning"></button>
</div>
</div>
<div id="end-mode" hidden>
<h1>Sign-in closed</h1>
<button type="button" id="save-signins" class="button-block button-primary field">Save sign-in log</button>
<p>In case something's wrong with that file, you can copy/paste this text:</p>
<textarea id="final-json" readonly class="field"></textarea>
<hr>
<button type="button" id="start-new" class="field button-block success">Clear and restart</button>
<button type="button" id="resume" class="field button-block warning">Reopen sign-in (for late arrivals)</button>
</div>
<div id="late-end-mode" hidden>
<p>You have an <strong>old meeting sign-in log</strong>.</p>
<button type="button" id="start-new-late">I submitted it, clear and start a new meeting</button>
<button type="button" id="resume-end">Wait, show me the old log</button>
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/nacl-fast.min.js" integrity="sha256-PFNk0L1SZO7Vl1OXdyjcqo76UxE3EnJ66+y6dr2qq70=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/fuse.min.js" integrity="sha256-CB/G+xw3ep7+dlklAxcIvF20YMfFtF+7xbtauQSMi78=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/surpass.js" integrity="sha256-1qDHLgLveHz9DujbqkVnSktigVt420LXQUG5J7SbTEI=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/localforage.min.js" integrity="sha256-eDmtS07BgLF67ARG+XTiimRis9PsnvusL0grvtopb+s=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/FileSaver.min.js" integrity="sha256-FPJJt8nA+xL4RU6/gsriA8p8xAeLGatoyTjldvQKGdE=" crossorigin="anonymous"></script>
<script src="setup.js"></script>
<script src="checkin.js"></script>
</body>
</html>