forked from Fr4nkFletcher/Adafruit_WebSerial_ESPTool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
172 lines (158 loc) · 6.58 KB
/
index.html
File metadata and controls
172 lines (158 loc) · 6.58 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>CYM WebFlasher</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width" />
<meta http-equiv="cache-control" content="no-cache, must-revalidate, post-check=0, pre-check=0">
<meta http-equiv="expires" content="0">
<meta http-equiv="pragma" content="no-cache">
<link rel="apple-touch-icon" sizes="120x120" href="https://raw.githubusercontent.com/CodeHedge/Adafruit_WebSerial_ESPTool/main/fav/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://raw.githubusercontent.com/CodeHedge/Adafruit_WebSerial_ESPTool/main/fav/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://raw.githubusercontent.com/CodeHedge/Adafruit_WebSerial_ESPTool/main/fav/favicon-16x16.png">
<link rel="manifest" href="https://raw.githubusercontent.com/CodeHedge/Adafruit_WebSerial_ESPTool/main/fav/site.webmanifest">
<link rel="mask-icon" href="https://raw.githubusercontent.com/CodeHedge/Adafruit_WebSerial_ESPTool/main/fav/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<script>
// Redirect to HTTPS if HTTP is requested.
if (
window.location.hostname !== "localhost" &&
window.location.protocol === "http:"
) {
window.location.href = "https:" + window.location.href.substring(5);
}
</script>
<style>
a:link {
color: red;
}
</style>
<style>
#butDisconnect i {
color: red; /* Applies red color specifically to the icon in the butDisconnect link */
}
</style>
<!-- import the web page's stylesheets along with the themes -->
<link rel="stylesheet" href="https://use.typekit.net/qtk5kiq.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.12.1/css/all.css" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/modern.css" />
<link
rel="stylesheet"
href="css/light.css"
id="light"
class="alternate"
disabled
/>
<link
rel="stylesheet"
href="css/dark.css"
id="dark"
class="alternate"
disabled
/>
<!-- import the webpage's javascript file -->
<script type="module">
window.esptoolPackage = import("./dist/web/index.js");
</script>
<script src="js/variables.js" type="module"></script>
<script src="js/script.js" type="module"></script>
</head>
<body>
<div id="productSelector" class="product-overlay">
<div class="product-modal">
<h2>Choose Your Device</h2>
<div class="product-cards">
<div class="product-card" data-product="biscuit">
<img src="assets/logo_biscuit.png" alt="Biscuit">
<h3>Biscuit</h3>
<p>DIY & Node Firmware</p>
</div>
<div class="product-card" data-product="marauder">
<img src="assets/logo2.png" alt="CYD Marauder">
<h3>CYD Marauder</h3>
<p>CYD Display Firmware</p>
</div>
</div>
</div>
</div>
<header id="mainHeader" class="header">
<div class="left">
</div>
<div class="right">
<p class="top-text">
<font face="Tahoma, Verdana, Arial" color="white" size="2">Current Version: </font></p> <p class="top-text">
<font id="versionDisplay" face="Tahoma, Verdana, Arial" color="#fc9999" size="2"><b>Loading...</b></font></p>
</div>
</header>
<main class="main">
<div class="subheader">
<a id="butConnect"><i class="fas fa-plug"></i> Connect</a>
<a id="butDisconnect"style="display: none;"><i class="far fa-window-close"></i> Disconnect</a>
<a id="butSerialTerminal" href="https://CodeHedge.github.io/Adafruit_WebSerial_ESPTool/serial_terminal.html"><i class="fas fa-keyboard"></i> Serial Terminal</a>
<a id="butClear"><i class="fas fa-eraser"></i> Clear Text</a>
<div class="right">
</div>
</div>
</div>
</div>
<div id="app">
<div id="commands" class="connected">
<div class="upload">
<label class="firmware">
<div class="model-select">
<select id="modelSelect" class="dropdown"style="background-color: #333; color: white;">
<option value="NULL" disabled selected style="display:none;"><b>--- SELECT BOARD ---</b></option>
</select>
<select id="versionSelect" class="dropdown" style="background-color: #333; color: white;">
<option value="NULL" disabled selected style="display:none;"><b>--- VERSION ---</b></option>
</select>
</div>
<style>
/* Hides scrollbar for any element with class .no-scrollbar */
#commands::-webkit-scrollbar {
display: none; /* for Webkit browsers */
}
#commands {
overflow-y: auto; /* This allows vertical scrolling to remain functional */
}
</style>
</label>
<br><br>
</div>
<div class="buttons">
<a id="butProgram"><i class="fas fa-upload"></i> Program</a>
<a id="butErase"><i class="fas fa-trash"></i> Erase</a>
</div>
</div>
<div id="flashMessages" class="flashMessages"></div>
<div id="log"></div>
</div>
</main>
<footer class="footer">
<div class="controls">
<div>
<label for="autoscroll">Autoscroll </label>
<div class="onoffswitch">
<input type="checkbox" name="autoscroll" class="onoffswitch-checkbox" id="autoscroll" checked>
<label class="onoffswitch-label" for="autoscroll">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
</div>
</div>
<div id="footerCenter" class="center">
<i class="fab fa-github"></i> <a id="footerRepoLink" href="https://github.com/CodeHedge/ESP32-Marauder-Cheap-Yellow-Display">Cheap-Yellow-Marauder</a> —
<span id="footerPoweredText">powered by <a href="https://github.com/CodeHedge/Adafruit_WebSerial_ESPTool">Adafruit WebSerial ESPTool</a></span> <i class="fas fa-flask"></i>
</div>
<div class="controls">
<a id="switchProduct" href="#" style="color: #4A90E2; text-decoration: none; font-size: 13px;"><i class="fas fa-exchange-alt"></i> Switch Device</a>
</div>
</footer>
</div>
</footer>
</body>
</html>