-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (62 loc) · 2.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>flow-deck-cyd Web Flasher</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
background-color: #f8f9fa;
}
.container {
margin-top: 50px;
}
.header {
text-align: center;
margin-bottom: 40px;
display: flex;
justify-content: center;
align-items: center;
}
.header img {
margin-right: 10px;
}
.esp-button {
display: flex;
justify-content: center;
}
h1 {
color: #343a40;
display: inline;
}
.card {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
.card-body {
text-align: center;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<img src="primary/resources/icon.png" alt="Icon" width="80" height="80">
<h1>flow-deck-cyd Web Flasher</h1>
</div>
<p class="lead text-center">You can flash firmware from the button below!</p>
<div class="card">
<div class="card-body">
<script type="module" src="https://unpkg.com/[email protected]/dist/web/install-button.js?module"></script>
<div class="esp-button">
<esp-web-install-button manifest="firmware/manifest.json"></esp-web-install-button>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>