-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathticket.ejs
More file actions
52 lines (49 loc) · 1.79 KB
/
ticket.ejs
File metadata and controls
52 lines (49 loc) · 1.79 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
<!--
Cheng Tsz Hung (25017438D)
Awwab Hamam (22103907D)
-->
<%- include('partials/page-start', { pageTitle: 'Login' }) %>
<div class="row justify-content-center">
<% const remembered = typeof rememberedId !== 'undefined' ? rememberedId : ''; %>
<div class="col-lg-5">
<div class="card shadow-sm">
<div class="card-body p-4">
<h1 class="h3 mb-3">Vendor Login</h1>
<p class="text-muted">Use your registered user ID and password to access booth reservations.</p>
<form action="/login" method="post" novalidate>
<div class="mb-3">
<label for="userId" class="form-label">User ID</label>
<input
type="text"
class="form-control"
id="userId"
name="userId"
required
value="<%= remembered %>"
/>
</div>
<div class="mb-3">
<label for="password" class="form-label">Password</label>
<input type="password" class="form-control" id="password" name="password" required />
</div>
<div class="form-check mb-4">
<input
class="form-check-input"
type="checkbox"
value="true"
id="rememberId"
name="rememberId"
<%= remembered ? 'checked' : '' %>
/>
<label class="form-check-label" for="rememberId">Remember my user ID on this device</label>
</div>
<button type="submit" class="btn btn-primary w-100">Login</button>
</form>
<div class="mt-3 text-center text-muted">
<p class="mb-0">Admin login: user ID <code>admin</code>, password <code>adminpass</code>.</p>
</div>
</div>
</div>
</div>
</div>
<%- include('partials/page-end') %>