-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (62 loc) · 2.2 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>EntropyKey</title>
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.5.0/font/bootstrap-icons.min.css"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container mt-5">
<div class="card shadow">
<div class="card-body text-center">
<h1 class="card-title text-primary">EntropyKey</h1>
<video id="video" autoplay class="d-none"></video>
<button id="generateTokenBtn" class="btn btn-primary mt-3">
Generate Token
</button>
<div id="tokenContainer" class="mt-3 d-none">
<div class="input-group">
<input
type="text"
id="tokenOutput"
class="form-control"
readonly
/>
<div class="input-group-append">
<button
id="copyIcon"
class="btn btn-outline-secondary"
title="Copy Token"
>
<i class="bi bi-clipboard"></i>
</button>
</div>
</div>
</div>
<div class="description mt-4">
<h2 class="text-primary">How It Works</h2>
<p>
This tool generates a unique token by using the camera on your
device. The randomness in the video feed helps create a secure and
unpredictable token. This makes it great for creating passwords or
other secure identifiers.
</p>
</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/core@2.9.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="script.js"></script>
</body>
</html>