-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
61 lines (56 loc) · 1.94 KB
/
popup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mfresh Auto-Refresh</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="container">
<header class="header">
<span class="header-content">
<img class="logo animate-spin" src="icons/refresh.png" alt="Logo" />
<h1>Mfresh</h1>
</span>
<span>
on/off
<label class="switch">
<input type="checkbox" id="on-off-toggle" />
<span class="slider"></span>
</label>
</span>
</header>
<div id="countdown-container" class="container gradient-button">
<button class="heartbeat-button">
<span id="timer" class="timer">15</span>
</button>
</div>
<main id="main-content">
<div id="interval-settings">
<span class="settings-container">
<button class="interval-btn" data-interval="15">15 sec</button>
<button class="interval-btn" data-interval="30">30 sec</button>
<button class="interval-btn" data-interval="60">1 min</button>
<button class="interval-btn" data-interval="120">2 min</button>
</span>
</div>
<div id="custom-interval-settings">
<label class="switch">
<input type="checkbox" id="on-random-toggle" />
<span class="slider"></span>
<h2 style="margin-left: 10px">Random Interval</h2>
</label>
<span class="interval-settings">
<input type="number" id="min-interval" placeholder="Min seconds" />
<input type="number" id="max-interval" placeholder="Max seconds" />
</span>
</div>
</main>
<footer class="footer">
<p>© 2024 Mfresh</p>
</footer>
</div>
<script src="popup.js"></script>
</body>
</html>