-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (51 loc) · 1.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<link rel="shortcut icon" href="./icons/favicon.ico" type="image/x-icon" />
<title>Captura</title>
</head>
<body>
<div class="video-stream">
<video src="" autoplay></video>
</div>
<div class="video-actions">
<div class="record" title="Record Video">
<img class="record-icon" src="./icons/record.png" alt="Record" />
<div class="record-time">
<h1 class="timer">00:00:00</h1>
</div>
</div>
<div class="capture" title="Capture Image">
<img class="capture-icon" src="./icons/capture.png" alt="Capture" />
</div>
</div>
<div class="filter-images">
<p class="title">Image Filters</p>
<div class="filter-image orange" title="Orange"></div>
<div class="filter-image brown" title="Brown"></div>
<div class="filter-image pink" title="Pink"></div>
<div class="filter-image transparent" title="Transparent"></div>
</div>
<div class="filter-layer"></div>
<div class="gallery-content">
<img
src="./icons/gallery.png"
class="gallery"
alt="Open Gallery"
title="Open Gallery"
/>
</div>
<script src="https://unpkg.com/shortid-dist@1.0.5/dist/shortid-2.2.13.min.js"></script>
<script src="./db.js"></script>
<script src="./script.js"></script>
<script>
const gallery = document.querySelector(".gallery-content");
gallery.addEventListener("click", () => {
location.assign("./gallery.html");
});
</script>
</body>
</html>