-
Notifications
You must be signed in to change notification settings - Fork 0
/
jurorIdentifier.html
43 lines (38 loc) · 1.99 KB
/
jurorIdentifier.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Semaphore Court</title>
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<script type="module" src="./dist/jurorIdentifier.js"></script>
<div class="form-wrapper">
<div class="form-step" id="step1">
<p>Please enter the case name and reference number.</p>
<input type="text" id="caseName" placeholder="Case Name">
<input type="text" id="referenceNumber" placeholder="Reference Number">
<button class="next-btn" onclick="nextStep(2)">Next</button>
</div>
<div class="form-step" id="step2" style="display: none;">
<p>The first question is: How many jurors are on the case jury?</p>
<input type="number" id="juryCount">
<button class="next-btn" onclick="nextStep(3)">Next</button>
</div>
<div class="form-step" id="step3" style="display: none;">
<p>We will begin the process for registering <span id="juryCountDisplay"></span> jurors. Please place first juror at the computer.</p>
<button class="next-btn" onclick="nextStep(4)">Next</button>
</div>
<div class="form-step" id="step4" style="display: none;">
<p>Please enter a secret message. This message should be private to you and not easily guessable by someone who knows you.</p>
<input type="text" id="secretMessage" maxlength="10">
<div id="message"></div>
<button class="generate-btn" onclick="generateSecretKeys()">Generate Secret Keys</button>
<div id="secretkeys"></div>
<button class="next-btn" id="clearMessageButton" onclick="clearMessage()" style="display: none;">Next</button>
<button class="final-btn" id="final" onclick="clearMessage()" style="display: none;">Finalise Identification Round</button>
</div>
</div>
</body>
</html>