Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
134 lines (125 loc) · 2.63 KB
/
Copy pathindex.html
File metadata and controls
134 lines (125 loc) · 2.63 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
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link
rel="stylesheet"
type="text/css"
href="style/animations.css"
/>
<link rel="stylesheet" type="text/css" href="style/style.css" />
<link
rel="stylesheet"
type="text/css"
href="style/switch.css"
/>
<link rel="icon" type="image/png" href="favicon.png" />
<title>TERMINAL v0.01-alpha</title>
<script src="./components/dial.js"></script>
<script src="https://unpkg.com/rot-js@2.1.1/dist/rot.js"></script>
<svg style="display: none;">
<style>
.handle {
cursor: grab;
}
</style>
<!-- SVG for the radial dial component -->
<defs id="sample_gfx">
<symbol
id="circle-with-dot"
viewBox="-6 -6 12 12"
>
<circle
cx="0"
cy="0"
r="5.875"
stroke="#2e3436"
fill="#babdb6"
stroke-width="0.25"
/>
<circle
class="handle"
cx="0"
cy="-3.75"
r="0.75"
stroke="none"
fill="#2e3436"
/>
</symbol>
</defs>
</svg>
</head>
<body class="theme-green">
<div id="monitor" class="off">
<div id="screen">
<div id="crt">
<div class="scanline"></div>
<div class="terminal"></div>
</div>
</div>
<div id="slider">
<label class="switch">
<input type="checkbox" />
<span class="slider"></span>
</label>
</div>
<div id="controls">
<div id="sticky" class="post-it">
Admin<br />only
</div>
<div id="themes">
<button
id="theme-red"
class="theme"
></button>
<button
id="theme-green"
class="theme active"
></button>
<button
id="theme-blue"
class="theme"
></button>
</div>
<div id="volume">
<span>min</span>
<div id="dial-container">
<x-dial
id="dial"
min="0"
max="0.75"
value="0"
svgsymbolid="circle-with-dot"
>
</x-dial>
</div>
<span>max</span>
</div>
<div id="power">
<button id="fullscreen">
⛶
</button>
<label class="rocker rocker-small">
<input
id="switch"
type="checkbox"
checked
/>
<span class="switch-left"
>O</span
>
<span class="switch-right"
>I</span
>
</label>
</div>
</div>
</div>
<script src="./terminal.mjs" type="module"></script>
</body>
</html>