-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (61 loc) · 1.87 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Advanced Roll Call Check-In</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>Advanced Roll Call Check-In</h1>
</header>
<div id="emergencyLinks">
<a href="#" onclick="alert('Marked as Absent')">Mark Absent</a>
<a href="tel:911">Emergency (911)</a>
<a href="#" onclick="openHelp()">Help</a>
</div>
<main>
<form id="rollCallForm">
<label for="name">Name:</label>
<input type="text" id="name" placeholder="Enter your name" required>
<label for="id">ID:</label>
<input type="text" id="id" placeholder="Enter your ID" required>
<button type="button" onclick="submitRollCall()">Check In</button>
</form>
<div id="statusContainer">
<p id="locationStatus"></p>
<p id="checkInStatus"></p>
<p id="timer"></p>
</div>
<button id="startRollCall" onclick="startCountdown()">Start Roll Call</button>
</main>
<section id="dataDisplay">
<h2>Roll Call Submissions</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>ID</th>
<th>Latitude</th>
<th>Longitude</th>
<th>Timestamp</th>
</tr>
</thead>
<tbody id="submissionTable"></tbody>
</table>
</section>
<footer>
<p>Created by P社長 - Follow on <a href="https://www.instagram.com/p_shachou" target="_blank">Instagram</a></p>
</footer>
<!-- Modal for Help -->
<div id="helpModal" class="modal">
<div class="modal-content">
<span class="close" onclick="closeHelp()">×</span>
<h3>Help Information</h3>
<p>If you encounter issues, ensure your location services are enabled and your ID is correct.</p>
</div>
</div>
<script src="script.js"></script>
</body>
</html>