-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
134 lines (108 loc) · 4.93 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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta name='og:viewport' content='width=device-width,initial-scale=1'>
<meta name="og:description" content="Data Structures Visualizer">
<title>Data Structures Visualizer</title>
<link rel="stylesheet" href="css/index.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="icon" type="image/x-icon" href="./assets/favicon.png">
<link href="https://fonts.googleapis.com/css2?family=Finlandica&display=swap" rel="stylesheet">
</head>
<body style="height: 94vh; overflow-x: hidden;">
<nav id="nav1" style="height: 50px;">
<ul class="nav-items navleft">
<li class="headername">Data Structures Visualizer</li>
</ul>
<ul class="nav-items navright">
<li title="Settings"><a onclick="openprefs(); openscreen();"><img src="assets/settings.png" height="30px" class="logo"></a></li>
<li title="Report bug"><a href="https://github.com/skparab1/arfaoui/issues/new" target="_blank"><img src="assets/reportbuggy.png" height="30px" class="logo"></a></li>
</ul>
</nav>
<div class="fullwidth">
<h1 id='head' style="font-size: 50px; color: rgba(0,0,0,0);">e</h1>
</div>
<div class="fullwidth" style="height: 30%; overflow: visible; width: 200%;">
<a href="./ds/list.html">
<div class="thingpanel" id="panel1" style="background-image: url(./assets/lists1.png); background-size: cover;">
<div class="thingheader">
Lists
</div>
</div>
</a>
<a href="./ds/linkedlist.html">
<div class="thingpanel" id="panel2" style="background-image: url(./assets/linkedlists1.png); background-size: cover;">
<div class="thingheader">
Linked Lists
</div>
</div>
</a>
<a href="./ds/stack.html">
<div class="thingpanel" id="panel3" style="background-image: url(./assets/stacks2.png); background-size: cover;">
<div class="thingheader">
Stacks
</div>
</div>
</a>
<a href="./ds/queue.html">
<div class="thingpanel" id="panel4" style="background-image: url(./assets/queues1.png); background-size: cover;">
<div class="thingheader">
Queues
</div>
</div>
</a>
</div>
<div class="fullwidth" style="height: 30%; margin-top: 6%; overflow: visible; width: 200%;">
<a href="./ds/binarytree.html">
<div class="thingpanel" id="panel5" style="background-image: url(./assets/binarytrees1.png); background-size: cover;">
<div class="thingheader">
Binary Trees
</div>
</div>
</a>
<a href="./ds/bstmap.html">
<div class="thingpanel" id="panel6" style="background-image: url(./assets/binarytrees1.png); background-size: cover;">
<div class="thingheader">
Binary Search Tree Map
</div>
</div>
</a>
<a href="./ds/hashmapchaining.html">
<div class="thingpanel" id="panel7" style="background-image: url(./assets/dictionaries.png); background-size: cover;">
<div class="thingheader">
Hashmap - Chaining
</div>
</div>
</a>
<a href="./ds/hashmapprobing.html">
<div class="thingpanel" id="panel8" style="background-image: url(./assets/dictionaries.png); background-size: cover;">
<div class="thingheader">
Hashmap - Linear Probing
</div>
</div>
</a>
</div>
<div id="screen" class="screen"></div>
<div class="largenotif" id="preferences" style="height: fit-content;">
<h1 style="font-size: 25px;">Settings</h1>
<h3 style="font-size: 15px; margin-bottom: 5px; margin-top: 0px;" id="theme">Theme: (Dark)</h3>
<label class="switch" onclick="toggletheme();">
<input type="checkbox">
<span class="slider round"></span>
</label>
<h3 style="font-size: 15px; margin-bottom: 5px; margin-top: 0px;" id="lines">Lines: (Cornered)</h3>
<label class="switch" onclick="toggleangle();">
<input type="checkbox">
<span class="slider round"></span>
</label>
<h3 style="font-size: 15px; margin-bottom: 0px; margin-top: 0px;" id="animwait">Light-up animation delay time: 500ms</h3>
<div class="slide2container" style="margin-top: -20px;">
<input type="range" min="100" max="2000" value="500" step="10" class="slider2" name="waittime" id="waittime" onchange="document.getElementById('animwait').textContent = 'Light-up animation delay time: '+document.getElementById('waittime').value+'ms'; localStorage.setItem('btspeed',document.getElementById('waittime').value);">
</div>
<div class="close" onclick="closeprefs(); closescreen();">Close</div>
</div>
<script src="js/index.js"></script>
</body>
</html>