-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
112 lines (103 loc) · 3.67 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link href="http://fonts.googleapis.com/css?family=Roboto:400,300,700" rel="stylesheet" type="text/css" />
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<nav>
<img src="./assets/logo.svg" alt="ironcore-logo" height="60" width="60" />
<h1>IronCore Get Started</h1>
</nav>
<main>
<section>
<div id="alert-box"></div>
<!-- Order Encryption -->
<article>
<div class="input-container">
<img src="./assets/kirk.jpg" alt="kirk-headshot" height="110" width="110" />
<div class="encrypt-order-input">
<h2>Kirk, encrypt your order:</h2>
<div class="form">
<div class="encrypt-order">
<input type="text" id="order" placeholder="Enter your order..." autofocus />
<button id="encrypt-button">Encrypt</button>
</div>
</div>
</div>
</div>
<div id="encrypted-orders-container" class="table-container">
<h3>Your encrypted orders:</h3>
<table id="encrypted-orders">
<thead>
<th>Order Id</th>
<th>Encrypted Order</th>
</thead>
<tbody></tbody>
</table>
</div>
</article>
<!-- Away Team Selection -->
<article>
<h2>Kirk, select your away team:</h2>
<div class="away-team-select">
<div>
<h3>Crew:</h3>
<select multiple="multiple" size="6" id="from-element">
<option value="spock">Spock</option>
<option value="mccoy">McCoy</option>
<option value="scotty">Scotty</option>
<option value="sulu">Sulu</option>
<option value="chekov">Chekov</option>
<option value="redshirt">Red Shirt</option>
</select>
<button id="add-button">Add</button>
</div>
<div>
<h3>Away team:</h3>
<select multiple="multiple" size="6" id="to-element"> </select>
<button id="remove-button">Remove</button>
</div>
</div>
</article>
<!-- Order Decryption -->
<article>
<div class="input-container-decrypt">
<img src="./assets/kirk.jpg" alt="crew-member-headshot" height="110" width="110" id="crew-member-headshot" />
<div class="decrypt-order-input">
<h2>Decrypt your order as:</h2>
<select id="crew-member">
<option value="kirk" selected>Kirk</option>
<option value="spock">Spock</option>
<option value="mccoy">McCoy</option>
<option value="scotty">Scotty</option>
<option value="sulu">Sulu</option>
<option value="chekov">Chekov</option>
<option value="redshirt">Red Shirt</option>
</select>
</div>
</div>
<select id="order-id-to-decrypt">
<option value="">Choose your order to decrypt...</option>
</select>
<input type="text" id="order-ciphertext" placeholder="Your encrypted order" />
<button id="decrypt-button">Decrypt</button>
<div id="decrypted-orders-container" class="decrypted-orders table-container">
<h3>Your decrypted orders:</h3>
<table id="decrypted-orders">
<thead>
<th>Order Id</th>
<th>Decrypted Order</th>
</thead>
<tbody></tbody>
</table>
</div>
</article>
</section>
<pre id="logger"></pre>
<div id="loadbar"></div>
</main>
<script src="/static/dist/main.js"></script>
</body>
</html>