-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
413 lines (381 loc) · 22.2 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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
<!DOCTYPE html>
<html>
<head lang="en">
<title>
Visualized Environment for Search Methods
</title>
<!--Favicon-->
<link rel="icon" type="image/png" href="resources/logo1.png">
<!--Bootstrap required Libraries-->
<!-- Required meta tags -->
<meta charset="utf-8">
<!--<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">-->
<meta name="description" content="">
<meta name="author" content="">
<!-- css sheet for how the page is laid out -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB"
crossorigin="anonymous">
<!-- materialize -->
<!-- Compiled and minified CSS -->
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"> -->
<!-- Compiled and minified JavaScript -->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
-->
<!-- Custom styles for this template -->
<style>
body {
padding-top: 54px;
}
@media (min-width: 992px) {
body {
padding-top: 56px;
}
}
</style>
<!-- /Bootstrap required Libraries-->
<!-- FontAwesome for About icons -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ"
crossorigin="anonymous">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
<!-- CSS for DarkTheme
<link href=http://fonts.googleapis.com/css?family=Fira+Sans:300,400,500,700,300italic,400italic,500italic,700italic
rel=stylesheet>
<link href=http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900,200italic,300italic,400italic,600italic,700italic,900italic
rel=stylesheet>
<link href=http://fonts.googleapis.com/css?family=Source+Code+Pro:300,400,500,600,700,900 rel=stylesheet>
<link href=http://staticresource.com/basic.css rel=stylesheet>
<link href=http://staticresource.com/data-buttons.css rel=stylesheet> -->
<!--MyCss-->
<link rel="stylesheet" href="stylesheets/HomeScreen.css">
<link rel="stylesheet" href="stylesheets/SnackBar.css">
<link rel="stylesheet" href="stylesheets/Modal.css">
<link rel="stylesheet" href="stylesheets/Slider.css">
<link rel="stylesheet" href="stylesheets/DragableContainer.css">
<link rel="stylesheet" href="stylesheets/Toggle.css">
<link rel="stylesheet" href="stylesheets/DarkTheme.css">
</head>
<body class="MainPageStyling">
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
<div class="container">
<a class="navbar-brand" href="index.html">
<img src="resources/logo1.png" style="width: 30px; height: 30px;" /> Visualized Environment for
Search
Methods</a>
<button id="navBar_toggler" class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive"
aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link" href="index.html">
<img src="resources/ic_action_home.png" /> Home
<span class="sr-only">(current)</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="modal" data-target="#myModal">
<img src="resources/ic_action_info.png" /> About</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header" align="center">
<p>
<img src="resources/teiser_logo.png" />
</p>
</div>
<div class="modal-body" align="center">
<table>
<tr>
<td>
<i class="fas fa-graduation-cap" style="font-size:50px"></i>
</td>
<td>
<p>Development of an application for the Implementation and use of search methods
in a
visualized
environment
</p>
</td>
</tr>
<tr>
<td>
<i class="far fa-user" style="font-size:50px"></i>
</td>
<td>
<p>Supervisor Professor:
<a href="http://teachers.teicm.gr/outsios/index.html">Evangelos Outsios
</a>
</p>
</td>
</tr>
<tr>
<td>
<i class="fas fa-user-graduate" style="font-size:50px"></i>
</td>
<td>
<p>Student: Anastasios Tilsizoglou</p>
</td>
</tr>
<tr>
<td>
<i class="fas fa-id-card" style="font-size:50px"></i>
</td>
<td>
<p>AEM: 3878</p>
</td>
</tr>
<tr>
<td>
<i class="fas fa-link" style="font-size:50px"></i>
</td>
<td>
<a href="https://git.io/fpWvx">Github Repository</a>
</td>
</tr>
<tr>
<td>
<i class="far fa-copyright" style="font-size:50px"></i>
</td>
<td>
<p>
<a href="https://git.io/fpWff">MIT License</a>
<br />Copyright ©
<a href="https://git.io/vNjE6">Anastasios Tilsizoglou</a>
</p>
</td>
</tr>
<tr>
<td>
<i class="fas fa-desktop" style="font-size:50px"></i>
</td>
<td>
<p>
Check The Desktop Version
<a href="https://git.io/fALxo">Here</a>
</p>
</td>
</tr>
<tr>
<td>
<i class="fas fa-user-circle" style="font-size:50px"></i>
</td>
<td align="center" style="padding: 7px 0 2px; ">
<div align="center">
<table cellpadding="0" cellspacing="0" border="0" style="font-family: sans-serif; line-height: 13px; width: auto; border-collapse: collapse; color: #333;">
<tbody>
<tr>
<td valign="top" width="24" style="padding-right: 4px;">
<p style="margin: 0.75pt;">
<a href="http://www.linkedin.com/in/tasostilsi">
<i class="fab fa-linkedin" style="font-size: 30px; color: #00008b"></i>
</a>
</p>
</td>
<td valign="top" width="24" style="padding-right: 4px;">
<p style="margin: 0.75pt;">
<a href="http://facebook.com/tasostilsi">
<i class="fab fa-facebook-square" style="font-size: 30px; color: #0000ff"></i>
</a>
</p>
</td>
<td valign="top" width="24" style="padding-right: 4px;">
<p style="margin: 0.75pt;">
<a href="http://twitter.com/tasostilsi">
<i class="fab fa-twitter-square" style="font-size: 30px; color: #20b2aa"></i>
</a>
</p>
</td>
<td valign="top" width="24" style="padding-right: 4px;">
<p style="margin: 0.75pt;">
<a href="http://instagram.com/tasostilsi">
<i class="fab fa-instagram" style="font-size: 30px; color: #8b008b"></i>
</a>
</p>
</td>
<td valign="top" width="24" style="padding-right: 4px;">
<p style="margin: 0.75pt;">
<a href="http://github.com/tasostilsi">
<i class="fab fa-github-square" style="font-size: 30px; color: #000000"></i>
</a>
</p>
</td>
<td valign="top" width="24" style="padding-right: 4px;">
<p style="margin: 0.75pt;">
<a href="http://twitch.tv/tasostilsi">
<i class="fab fa-twitch" style="font-size: 30px; color: #800080"></i>
</a>
</p>
</td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
<!-- Page Content -->
<div class="body_container">
<div class="AlgorithmControlSection">
<div id="inputs" class="input-group" role="group">
<input class="form-control" min="0" max="9999" id="arraySize" type="number" placeholder="Specify Array Size (Default: 100)" />
<input class="form-control" min="0" max="9999" id="numbersRange" type="number" placeholder="Specify Numbers Range (Default: 300)" />
<div class="btn-group">
<button type="button" id="generateNumbers" class="btn btn-info waves-effect waves-light">Generate
Numbers</button>
<button type="button" class="btn btn-info dropdown-toggle dropdown-toggle-split waves-effect waves-light"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="sr-only">Toggle Dropdown</span>
</button>
<div class="dropdown-menu">
<button class="dropdown-item waves-effect waves-light" type="button" id="exponential">Exponential
Distribution</button>
<button class="dropdown-item waves-effect waves-light" type="button" id="logarithmic">Logarithmic
Distribution</button>
<button class="dropdown-item waves-effect waves-light" type="button" id="geometric">Geometric
Distribution</button>
</div>
</div>
<input class="form-control" min="0" max="9999" id="searchingNumber" type="number" placeholder="Specify Searching Number" />
</div>
<div id="searchButtons" class="btn-group" role="group">
<button id="linearSearch" type="button" class="btn btn-secondary waves-effect waves-light">Linear
Search</button>
<button id="binarySearch" type="button" class="btn btn-secondary waves-effect waves-light">Binary
Search</button>
<button id="jumpSearch" type="button" class="btn btn-secondary waves-effect waves-light">Jump
Search</button>
<button id="interpolationSearch" type="button" class="btn btn-secondary waves-effect waves-light">Interpolation
Search</button>
<button id="exponentialSearch" type="button" class="btn btn-secondary waves-effect waves-light">Exponential
Search</button>
<button id="fibonacciSearch" type="button" class="btn btn-secondary waves-effect waves-light">Fibonacci
Search</button>
<!--<button id="stratosSearch" type="button" class="btn btn-secondary">Stratos Search</button>-->
</div>
<div id="stepButtons" class="btn-group" role="group">
<!-- <button id="undo" type="button" class="btn btn-outline-secondary" disabled>Undo Step</button> -->
<div class="btn-group" role="group">
<button id="options" title="settings" type="button" class="btn btn-outline-secondary dropdown-toggle"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="material-icons">settings</i>
</button>
<div class="dropdown-menu" aria-labelledby="btnGroupDrop1">
<div class="col-sm">
Dark Mode
<button type="button" class="btn btn-toggle" data-toggle="button" title="Toggle Dark Theme"
id="dark_theme" aria-pressed="false" autocomplete="off">
<div class="handle"></div>
</button>
</div>
<div class="col-sm">
<button class="btn btn-outline-secondary" title="Clear the cells and start over" type="button"
id="clear_button">
Clear
</button>
</div>
<div class="col-sm">
Help Container
<button type="button" class="btn btn-toggle active" title="Toggle Help Container" id="show_hide_manual"
data-toggle="button" aria-pressed="true" autocomplete="off">
<div class="handle"></div>
</button>
</div>
<div class="col-sm">
Steps Container
<button type="button" class="btn btn-toggle active" title="Toggle Steps Container" id="show_hide_step"
data-toggle="button" aria-pressed="true" autocomplete="off">
<div class="handle"></div>
</button>
</div>
</div>
</div>
<button id="pause" title="Pause the method" type="button" class="btn btn-outline-secondary" disabled>Pause
</button>
<button id="next" title="One step at time" type="button" class="btn btn-outline-secondary" disabled>Next
Step
</button>
<button id="skipForward" title="Press to Skip to the end" type="button" class="btn btn-outline-secondary"
disabled>Skip Forward
</button>
<div id="slider">
<input class="bar" type="range" id="rangeinput" value="1000" min="350" max="3000" step="50" title="Animation Speed" />
<output id="rangevalue">1000</output>
</div>
</div>
</div>
<div id="table_container" class="container-fluid" align="center">
<!--This container handled in javascript-->
</div>
<!--Draggable DIV:-->
<div class="dragable_container" id="dragable_container_manual" title="Click and Drag">
<!--Include a header DIV with the same name as the draggable DIV, followed by "header":-->
<div class="dragable_container_header" id="dragable_container_manual_header">
<div id="collapse_manual" class="float-left"><i id="collapse_manual_icon" class="material-icons">expand_more</i></div>
<div id="collapse_manual_right" class="float-left" hidden><i class="material-icons">chevron_right</i></div>
Help
<div class="float-right"><i class="material-icons right" style="font-size:24px">drag_handle</i></div>
</div>
<div class="dragable_container_content" id="dragable_container_manual_content">
<h4 id="search_title">Press a Search Button</h4>
<p id="manual">A manual for this search will appear hear</p>
</div>
</div>
<!--Draggable DIV:-->
<div class="dragable_container" id="dragable_container_step">
<!--Include a header DIV with the same name as the draggable DIV, followed by "header":-->
<div class="dragable_container_header" id="dragable_container_step_header" title="Click and Drag">
<div id="collapse_step" class="float-left"><i id="collapse_step_icon" class="material-icons">expand_more</i>
</div>
<div id="collapse_step_right" class="float-left" hidden><i class="material-icons">chevron_right</i></div>
Step by Step
<div class="float-right"><i class="material-icons right" style="font-size:24px">drag_handle</i></div>
</div>
<div class="dragable_container_content" id="dragable_container_step_content">
<p>You will see the steps of every search you run...</p>
</div>
</div>
<div id="snackbar">This message handled in javascript</div>
<!--Footer-->
<div class="bg-dark navbar fixed-bottom footer">
<p class="m-0 text-center text-white">MIT License</p>
<p class="m-0 text-center text-white">Copyright © Anastasios Tilsizoglou 2018</p>
</div>
<!--/.footer -->
</div>
<!-- container -->
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T"
crossorigin="anonymous"></script>
<!--myScripts-->
<script type="text/javascript" src="scripts/GenerateRandomNumbers.js"></script>
<script type="text/javascript" src="scripts/GeneralFunctions.js"></script>
<script type="text/javascript" src="scripts/LinearSearch.js"></script>
<script type="text/javascript" src="scripts/BinarySearch.js"></script>
<script type="text/javascript" src="scripts/JumpSearch.js"></script>
<script type="text/javascript" src="scripts/InterpolationSearch.js"></script>
<script type="text/javascript" src="scripts/ExponentialSearch.js"></script>
<script type="text/javascript" src="scripts/FibonacciSearch.js"></script>
<script type="text/javascript" src="scripts/StepButtons.js"></script>
<script type="text/javascript" src="scripts/DragableContainer.js"></script>
<script type="text/javascript" src="scripts/Manual.js"></script>
<script type="text/javascript" src="scripts/Steps.js"></script>
</body>
</html>