forked from tsr07/anthena-rotator-rpi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
105 lines (83 loc) · 3.02 KB
/
index.html
File metadata and controls
105 lines (83 loc) · 3.02 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
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<div class="grid grid-cols-1 gap-4 m-2">
<div class="h-32 rounded-lg px-auto text-center my-auto ">
<h1 id="degreetext" class="text-xs " style="font-size: xx-large; font-weight: 600; padding-top: 40px;">
260°
</h1>
</div>
<div class="h-32 rounded-lg text-center">
<!--
Heads up! 👋
Plugins:
- @tailwindcss/forms
-->
<input
type="number"
id="textBox"
placeholder="0"
min="0"
max="360"
class="m-auto w-50 rounded-md border-gray-200 shadow-sm sm:text-sm"
/>
</label>
<a
class="inline-block rounded border border-indigo-600 bg-indigo-600 px-12 py-3 text-sm font-medium text-white focus:outline-none focus:ring active:text-indigo-500"
href="#" id="ButtonTerapkan"
>
Terapkan
</a>
<br> <br>
<a
class="inline-block rounded border border-red-600 bg-red-600 px-12 py-3 text-sm font-medium text-white hover:bg-transparent hover:text-indigo-600 focus:outline-none focus:ring active:text-indigo-500"
href="#" id="ButtonStop"
>
Stop
</a>
</div>
<div class="h-32 rounded-lg ">
<div class="grid grid-cols-2 gap-4 ">
<div class="h-20 rounded-lg bg-grey-200 mx-auto py-auto">
<a href="#" id="leftImageLink">
<img id="leftImage" src="/assets/left_arrow.png" alt="Gambar" width="50" height="50">
</a>
<a
class="inline-block rounded border border-red-600 bg-red-600 px-5 py-2 text-sm font-medium text-white hover:bg-transparent hover:text-indigo-600 focus:outline-none focus:ring active:text-indigo-500"
href="#" id="ButtonStopLeft"
>
Stop
</a>
</div>
<div class="h-20 rounded-lg bg-grey-200 mx-auto py-auto">
<a href="#" id="rightImageLink">
<img id="rightImage" src="/assets/right_arrow.png" alt="Tes" width="50" height="50">
</a>
<a
class="inline-block rounded border border-red-600 bg-red-600 px-5 py-2 text-sm font-medium text-white hover:bg-transparent hover:text-indigo-600 focus:outline-none focus:ring active:text-indigo-500"
href="#" id="ButtonStopRight"
>
Stop
</a>
</div>
</div>
</div>
<!--
Heads up! 👋
This component comes with some `rtl` classes. Please remove them if they are not needed in your project.
-->
</div>
<script src="https://www.gstatic.com/firebasejs/9.6.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.6.1/firebase-database.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<!-- Include your JavaScript files -->
<script type="module" src="main.js"></script>
<script>
</script>
</body>
</html>