-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
123 lines (117 loc) · 4.65 KB
/
index.html
File metadata and controls
123 lines (117 loc) · 4.65 KB
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
<!DOCTYPE html>
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-4HHP888F7Y"
></script>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Sorting Visualizer</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div id="sorting" class="flex-container"></div>
<div style="display: flex; align-items: center; margin-top: 20px">
<div
class="col range-input"
id="input-panel"
style="display: flex; justify-content: start"
data-range
>
<div>
<span id="size" class="label" style="margin-right: 20px"
>Size
<input
id="size_input"
type="range"
value="50"
min="1"
max="100"
style="margin-left: 35px"
/>
</span>
<span id="speed" class="label"
>Speed
<input
id="speed_input"
type="range"
min="20"
max="300"
value="60"
style="margin-left: 20px"
/>
</span>
</div>
<div
class="btn-group-md btn-group-horizontal center"
data-control-speed-sorting
style="margin-left: 20px"
>
<button
type="button"
class="btn btn-outline-success new"
style="margin-right: 5px"
>
New Array
</button>
<button
type="button"
class="btn btn-outline-danger stop"
style="margin-left: 5px"
disabled="true"
>
Stop Sorting
</button>
</div>
</div>
<div style="display: flex; flex-direction: column">
<div
class="col-auto center"
id="control-panel"
data-sorting-btn
>
<div class="btn-group-md btn-group-vertical">
<button type="button" class="btn bubbleSort">
Bubble Sort
</button>
<button type="button" class="btn mergeSort">
Merge Sort
</button>
</div>
<div class="btn-group-md btn-group-vertical">
<button type="button" class="btn selectionSort">
Selection Sort
</button>
<button type="button" class="btn quickSort">
Quick Sort
</button>
</div>
<div class="btn-group-md btn-group-vertical">
<button type="button" class="btn insertionSort">
Insertion Sort
</button>
<button type="button" class="btn heapSort">
Heap Sort
</button>
</div>
</div>
</div>
</div>
</body>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0"
crossorigin="anonymous"
></script>
<script src="static/bundle.js" async defer></script>
</html>