popup-timer/index.html

99 lines
3.0 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="canonical" href="https://popup-timer.reim.ar/" />
<link rel="stylesheet" href="/style.css">
<link rel="shortcut icon" href="/favicon.ico" />
<script src="/pip.js" defer></script>
<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">
&nbsp; <input id="hours" class="time-input" type="number" min="0" step="1" value="0">&nbsp;h
&nbsp; <input id="minutes" class="time-input" type="number" min="0" max="60" step="1" value="10">&nbsp;m
&nbsp; <input id="seconds" class="time-input" type="number" min="0" max="60" step="1" value="0">&nbsp;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:&nbsp;&nbsp;</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>
<details id="advanced">
<summary>Advanced</summary>
<div style="margin-top: 20px">
<span id="link" title="Click to copy"></span>
<p class="desc">
Pasting this link in your browser will make the timer/stopwatch immediately pop up.
</p>
</div>
<div id="pip" style="margin-top: 40px">
<label>
<input id="pip-enabled" type="checkbox"> Enable Picture-in-picture mode (experimental)
</label>
<i class="fas fa-flask"></i>
<br>
<p class="desc">
If enabled, the window will always stay on top, but requires that this tab stay open.
</p>
</div>
</details>
</body>
</html>