-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdashboard-access.html
More file actions
72 lines (64 loc) · 2.78 KB
/
Copy pathdashboard-access.html
File metadata and controls
72 lines (64 loc) · 2.78 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<meta name="theme-color" content="#2563eb" />
<title>Swift Poll - Dashboard access</title>
<link rel="icon" href="https://i.ibb.co/LDdkBqsS/image-4.png" />
<link rel="stylesheet" href="css/styles.css" />
</head>
<body class="sp-body sp-body--access">
<header class="sp-header">
<a href="index.html" class="sp-header__brand" aria-label="Swift Poll home">
<img data-brand-logo alt="Swift Poll" class="sp-header__logo" />
<span class="sp-header__name" data-brand-name>Swift Poll</span>
</a>
<nav class="sp-header__nav" aria-label="Primary">
<a href="index.html" class="sp-link">Home</a>
</nav>
</header>
<main class="sp-main">
<section class="sp-card sp-card--poll" aria-labelledby="access-title">
<h1 id="access-title" class="sp-card__title">Dashboard access</h1>
<p class="sp-card__subtitle">Pick the user you want to view and enter the password.</p>
<form class="sp-form" data-access-form novalidate>
<label class="sp-field">
<span class="sp-field__label">Select user <span class="sp-req">*</span></span>
<select class="sp-input sp-select" name="accessUser" required
data-access-user-select>
<option value="">Choose...</option>
</select>
</label>
<label class="sp-field">
<span class="sp-field__label">Password <span class="sp-req">*</span></span>
<input class="sp-input" name="accessPassword" type="password"
autocomplete="current-password" required
placeholder="Enter dashboard password" />
</label>
<p class="sp-error" data-access-error role="alert"></p>
<div class="sp-form__actions">
<button class="sp-btn sp-btn--primary sp-btn--block" type="submit">Continue</button>
</div>
</form>
<p class="sp-fineprint sp-fineprint--sm">
You can switch users from the dashboard once you are in.
</p>
</section>
</main>
<footer class="sp-footer">
<span class="sp-credit">
Built with <span class="sp-credit__heart" aria-hidden="true">❤️</span>
<span class="sp-visually-hidden">love</span>
by
<a href="https://www.linkedin.com/in/in-sumit/" target="_blank" rel="noopener noreferrer"
class="sp-credit__link">Sumit</a>
</span>
</footer>
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2.45.4/dist/umd/supabase.min.js"></script>
<script src="js/config.js?v=7"></script>
<script src="js/utils.js?v=7"></script>
<script src="js/supabase.js?v=7"></script>
<script src="js/dashboard-access.js?v=7"></script>
</body>
</html>