77 lines
2.3 KiB
HTML
77 lines
2.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="description" content="Easily create a timer or stopwatch as a popup on your screen, directly from within your browser for free. Configure countdown time, alarm settings and more.">
|
|
<title>Popup Timer - Create timers and stopwatches online</title>
|
|
<!-- FontAwesome -->
|
|
<script src="https://kit.fontawesome.com/b3a602c8a0.js" crossorigin="anonymous"></script>
|
|
<link rel="stylesheet" href="/style.css">
|
|
<link rel="shortcut icon" href="/favicon.ico" />
|
|
<script src="/script.js" defer></script>
|
|
</head>
|
|
<body>
|
|
<h1>Popup Timer</h1>
|
|
|
|
<main>
|
|
<h4>Create new</h4>
|
|
|
|
<table id="popup-type">
|
|
<tr>
|
|
<td id="timer">Timer</td>
|
|
<td id="stopwatch">Stopwatch</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br><br>
|
|
|
|
<div id="welcome">
|
|
<h5>Welcome to Popup Timer!</h5>
|
|
|
|
Begin by clicking above whether you want to start a timer or a stopwatch.
|
|
After configuring, the timer/stopwatch will show as a popup-window you can
|
|
move around while doing other tasks.
|
|
</div>
|
|
|
|
<div id="input-timer">
|
|
<label style="float: left;">Time:</label>
|
|
<div id="time-input-container">
|
|
<input id="hours" class="time-input" type="number" min="0" step="1" value="0"> h
|
|
<input id="minutes" class="time-input" type="number" min="0" max="60" step="1" value="10"> m
|
|
<input id="seconds" class="time-input" type="number" min="0" max="60" step="1" value="0"> s
|
|
</div>
|
|
<br>
|
|
<label>
|
|
<input id="beep" type="checkbox" checked>Beep when finished
|
|
</label>
|
|
<br>
|
|
<br>
|
|
</div>
|
|
|
|
<div id="input-common">
|
|
<div style="display:flex;">
|
|
<label>Name: </label>
|
|
<input id="name" style="flex: 2;">
|
|
</div>
|
|
<br>
|
|
<label>
|
|
<input id="autostart" type="checkbox" checked>Start automatically
|
|
</label>
|
|
<br><br>
|
|
<button id="create">Create</button>
|
|
<br>
|
|
<span id="bookmark" title="Adds a shortcut for creating the popup to your bookmarks">
|
|
<i class="far fa-bookmark"></i>
|
|
<span id="bookmark-label">Bookmark this <span id="bookmark-type"></span></span>
|
|
</span>
|
|
</div>
|
|
</main>
|
|
|
|
<br><br>
|
|
<span id="link" title="Click to copy"></span>
|
|
</body>
|
|
</html>
|
|
|