-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (60 loc) · 2.42 KB
/
Copy pathindex.html
File metadata and controls
69 lines (60 loc) · 2.42 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>StayOnTime</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="app">
<div id="timer-container" class="draggable">
<div id="timer-display">20:00</div>
</div>
<div id="controls">
<button id="play-pause-btn" class="control-btn">▶</button>
<button id="reset-btn" class="control-btn">↺</button>
<button id="settings-btn" class="control-btn">⚙</button>
</div>
</div>
<!-- Settings Panel -->
<div id="settings-panel" class="hidden">
<div id="settings-content">
<h2>Settings</h2>
<div class="setting-group">
<label for="time-input">Timer Duration (minutes):</label>
<input type="number" id="time-input" min="1" max="120" value="20">
</div>
<div class="setting-group">
<label for="overtime-toggle">
<input type="checkbox" id="overtime-toggle" checked>
Allow Overtime (continue past 0:00)
</label>
</div>
<div class="setting-group">
<label for="hotkeys-toggle">
<input type="checkbox" id="hotkeys-toggle">
Enable Keyboard Shortcuts
</label>
</div>
<div class="setting-group hotkey-config">
<label for="hotkey-startpause">Start/Pause Key:</label>
<input type="text" id="hotkey-startpause" value="Space" maxlength="20">
</div>
<div class="setting-group hotkey-config">
<label for="hotkey-reset">Reset Key:</label>
<input type="text" id="hotkey-reset" value="r" maxlength="20">
</div>
<div class="setting-group hotkey-config">
<label for="hotkey-close">Close App Key:</label>
<input type="text" id="hotkey-close" value="Escape" maxlength="20">
</div>
<div class="setting-actions">
<button id="save-settings-btn" class="control-btn">Save</button>
<button id="cancel-settings-btn" class="control-btn secondary">Cancel</button>
</div>
</div>
</div>
<script src="renderer.js"></script>
</body>
</html>