-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
256 lines (229 loc) · 14.1 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
<!DOCTYPE html>
<html lang="en">
<head>
<title>Crypticket</title>
<script src="registerWorker.js"></script>
<!-- tab favicon -->
<link rel="icon" href="assets/sidebar-logo.png" />
<!-- metadata -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="GokulVSD & AnushaB05">
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#FFFFFF">
<link rel="manifest" href="manifest.json">
<!-- Bootstrap CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- SVG Icons (from FontAwesome) -->
<link rel="stylesheet" href="icons/css/all.css">
<link href="css/structure.css" rel="stylesheet">
<link href="css/sidebar.css" rel="stylesheet">
<link href="css/pillbar.css" rel="stylesheet">
<link href="css/containers.css" rel="stylesheet">
<link href="css/tabs.css" rel="stylesheet">
<link href="css/components.css" rel="stylesheet">
<link href="css/forms.css" rel="stylesheet">
<link href="css/media.css" rel="stylesheet">
</head>
<body>
<div class="modal fade2" id="modal" tabindex="-1" role="dialog" aria-labelledby="error-modal" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 style="color: #555;"><i class="fas fa-exclamation-circle"></i> Oops!</h4>
<button type="button" class="close" style="position: absolute; right: 25px; outline: none;"
data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body" style="text-align: center; color: #3a586d;">
<!-- modal text placeholder -->
</div>
</div>
</div>
</div>
<div id="wrapper">
<!-- Sidebar-wrapper -->
<div id="sidebar-wrapper">
<ul class="sidebar-nav">
<li>
<a href="https://gokulvsd.github.io/Crypticket">
<div class="first-sidebar"><img src="assets/sidebar-logo.png"><span class="align-middle">Crypticket</span></div>
</a>
</li>
<li onClick="viewTicketsPg()">
<div id="tickets-pg-button" class="toggle-engaged"><i class="align-middle sb1 fas fa-ticket-alt fa-3x"></i><span
class="align-middle">View</span></div>
</li>
<li onClick="viewCreatePg()">
<div id="create-pg-button"><i class="align-middle sb2 far fa-calendar fa-3x"></i><span class="align-middle">Create</span></div>
</li>
<li onclick="viewVerifyPg()">
<div id="verify-pg-button"><i class="align-middle sb3 fas fa-key fa-3x"></i><span class="align-middle">Verify</span></div>
</li>
<li>
<a href="https://github.com/anushab05/Crypticket">
<div class="last-sidebar"><i class="fab fa-github fa-3x"></i><span>Github</span></div>
</a>
</li>
</ul>
</div>
<!-- /#sidebar-wrapper -->
<!-- Page Content -->
<div id="page-content-wrapper">
<div class="container-fluid">
<!-- pill-bar -->
<div class="pill-bar">
<button type="button" id="sidebarCollapse" class="sidebar-toggle active">
<span></span>
<span></span>
<span></span>
</button>
<img class="img-pill-bar" src="assets/logo.png">
<button type="button" id="pillbar-settings" class="ripple dropdown-toggle" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false"><i class="fas fa-ellipsis-v"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<div id="dropdown-menu-container">
<h3><i class="fas fa-save"></i> Backup & Restore</h2>
<div class="bnr-btn" id="backup-btn" onclick="getBackupString()"><i class="fas fa-copy"></i>
Save to Clipboard</div>
<div class="input-container restore">
<span class="labels"><i class="fas fa-redo-alt"></i> Restore</span><input
spellcheck="false" id="restore-input" class="inputs" type="text" placeholder="Paste Here and Enter">
</div>
<div class="bnr-btn" id="reset-btn" onclick="resetState()"><i class="fas fa-undo-alt"></i>
Factory Reset</div>
</div>
</div>
</div>
<!-- /pill-bar -->
<div class="container fragment-container">
<!-- Containers for React -->
<div id="tickets-pg">
<div class="tabs">
<span onclick="viewTicketsTab()">Cryptickets</span>
<span onclick="viewPasswordsTab()">Passwords</span>
</div>
<div id="ticket-tab-slider">
<div id="tickets-tb-container">
<div style="height: 1px;"></div>
<div id="tickets-tb"></div>
</div>
<div id="passwords-tb-container">
<div style="height: 1px;"></div>
<div id="passwords-tb"></div>
</div>
</div>
</div>
<div id="create-pg" style="display: none;">
<div class="head-title">New Generator</div>
<div class="ticket generator">
<div class="tabs">
<span onclick="viewTicketsTab()">Crypticket</span>
<span onclick="viewPasswordsTab()">Password</span>
</div>
<div id="create-tab-slider">
<div id="event-creater-tb-container">
<div style="height: 1px;"></div>
<div id="event-creater-tb">
<div class="input-container">
<span class="labels"><i class="far fa-keyboard"></i> Name</span><input
spellcheck="false" maxlength="24" class="inputs" type="text" id="event-name"
placeholder="Event or Group Name">
</div>
<div class="input-container">
<span class="labels"><i class="fas fa-user-secret"></i> Secret</span><input
spellcheck="false" class="inputs" type="password" id="event-password"
placeholder="Should be Long and Unique">
</div>
<div class="input-container">
<span class="labels"><i class="fas fa-list-ol"></i> Count</span><input
spellcheck="false" maxlength="7" class="inputs" type="text" id="no-of-tickets"
placeholder="Number of Crypickets">
</div>
<div class="input-container half grr">
<span class="labels"><i class="fas fa-calendar-alt"></i> Date</span><input
spellcheck="false" maxlength="15" class="inputs" type="text" id="date"
placeholder="25th May, 2019">
</div>
<div class="input-container half grr">
<span class="labels"><i class="far fa-clock"></i> Time</span><input
spellcheck="false" maxlength="12" class="inputs" type="text" id="time"
placeholder="9:30 AM UTC">
</div>
<div></div>
<div tabindex="0" class="bnr-btn nibnr" id="opt-btn" onclick="optionalTicketGenerator()">
Optional <i class="fas fa-chevron-circle-down"></i></div>
<div id="optional-ticket-generator">
<div class="input-container">
<span class="labels">Website</span><input spellcheck="false" class="inputs"
type="text" id="url" placeholder="Associated Link, eg: reddit.com">
</div>
<div class="head-title intick"><i class="fas fa-map-marker-alt"></i>
Coordinates</div>
<div></div>
<div class="input-container half">
<span class="labels">X</span><input spellcheck="false" maxlength="10"
class="inputs" type="text" id="x-coord" placeholder="Lattitude">
</div>
<div class="input-container half">
<span class="labels">Y</span><input spellcheck="false" maxlength="10"
class="inputs" type="text" id="y-coord" placeholder="Longitude">
</div>
</div>
<div></div>
<div tabindex="0" class="bnr-btn nibnr weirdo" onclick="newGenerator()"><i
class="fas fa-plus-circle"></i> Create Ticket
Generator</div>
</div>
</div>
<div id="password-creater-tb-container">
<div style="height: 1px;"></div>
<div id="password-creater-tb">
<div class="input-container">
<span class="labels"><i class="fas fa-user"></i> Username</span><input
spellcheck="false" maxlength="24" tabindex="1" class="inputs" type="text" id="username"
placeholder="Password Group Name">
</div>
<div class="input-container">
<span class="labels"><i class="fas fa-globe-americas"></i> Password</span><input
spellcheck="false" tabindex="1" class="inputs" type="password" id="global-password"
placeholder="Should be Long and Unique">
</div>
<div tabindex="1" class="bnr-btn nibnr weirdo" onclick="newPassGenerator()"><i
class="fas fa-plus-circle"></i> Create
Password Generator</div>
</div>
</div>
</div>
</div>
<div id="generators"></div>
</div>
<div id="verify-pg" style="display: none;">
<div class="head-title">Crypticket Verification</div>
<div id="verifiers"></div>
</div>
</div>
</div>
</div>
<!-- /#page-content-wrapper -->
</div>
<!-- /#wrapper -->
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Menu Toggle Script -->
<script type="text/javascript" src="scripts/sidebar.js"></script>
<script type="text/javascript" src="scripts/tabs.js"></script>
<script type="text/javascript" src="scripts/storage.js"></script>
<script type="text/javascript" src="scripts/crypticket.js"></script>
<script src="vendor/react/reactmin.js"></script>
<script src="vendor/react/react-dom-min.js"></script>
<script src="vendor/react/react-tooltip.min.js"></script>
<script type="module" src="react/tickets-tab.js"></script>
<script type="module" src="react/passwords-tab.js"></script>
<script type="module" src="react/generators.js"></script>
<script type="module" src="react/verifiers.js"></script>
</body>
</html>