-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
115 lines (102 loc) · 3.72 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
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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ESP Firebase App</title>
<!-- CSS files and Icons -->
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@48,400,0,0" />
<!-- Core Firebase JS SDK -->
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/8.8.1/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-storage.js"></script>
<script>
const firebaseConfig = {
apiKey: "AIzaSyCjEiC5bhZ7H6vo7nSJPzqi66i-M8_WB_8",
authDomain: "esp-camera-project.firebaseapp.com",
projectId: "esp-camera-project",
storageBucket: "esp-camera-project.appspot.com",
messagingSenderId: "114807843164",
appId: "1:114807843164:web:5d0d39a6f27de4db5c3999"
};
firebase.initializeApp(firebaseConfig);
var storage = firebase.storage();
var storageRef = storage.ref();
</script>
<script src="app.js" defer></script>
</head>
<body>
<nav class="navbar navbar-light bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="#">ESP32-CAM</a>
</div>
</nav>
<div class="p-1"></div>
<div class="row align-items-md-stretch">
<div class="col-md-6">
<div class="h-100 p-1 bg-light rounded-3">
<img id="img_01">
<p>Изображение было получено
<span id="date-time_01"></span>
</p>
<img id="img_02">
<p>Изображение было получено
<span id="date-time_02"></span>
</p>
<button class="btn btn-primary btn-lg" type="button" onclick="window.location.reload();">
Обновить
</button>
</div>
</div>
<div class="col-md-6">
<div class="h-100 p-5 bg-light rounded-3">
<h2>Управление камерой (не работает)</h2>
<iframe src="https://dimstr.github.io/newspapper/" height="250px" width="250px"></iframe>
<div class="p-1"></div>
<div class="container">
<div class="row row-cols-3">
<div></div>
<button class="btn btn-lg" type="button" onclick="">
<span class="material-symbols-rounded">
north
</span>
</button>
<div></div>
</div>
<div class="row row-cols-3">
<button class="btn btn-lg" type="button" onclick="">
<span class="material-symbols-rounded">
west
</span>
</button>
<button class="btn btn-lg" type="button" onclick="">
<span class="material-symbols-rounded">
radio_button_unchecked
</span>
</button>
<button class="btn btn-lg" type="button" onclick="">
<span class="material-symbols-rounded">
east
</span>
</button>
</div>
<div class="row row-cols-3">
<div></div>
<button class="btn btn-lg" type="button" onclick="">
<span class="material-symbols-rounded">
south
</span>
</button>
<div></div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>