-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (47 loc) · 1.83 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Date Calculator</title>
<link rel="stylesheet" href="index.css">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
</head>
<body>
<p id="timezone"></p>
<main>
<article>
<div id="display"></div>
<div id="help">
<p>Here is a list of commands:</p>
<code>help</code>
<p>Displays this wall of text.</p>
<code>+[amount] [unit]</code>
<p>Adds to the working time</p>
<code>-[amount] [unit]</code>
<p>Subtracts from the working time</p>
<code>diff [month] [day] [year]</code>
<code>diff [month] [day] [year] [hh:mm:ss]</code>
<code>diff [month] [day] [year] [hh:mm:ss] [am|pm]</code>
<p>Gets difference to another date</p>
<code>set [month] [day] [year]</code>
<code>set [month] [day] [year] [hh:mm:ss]</code>
<code>set [month] [day] [year] [hh:mm:ss] [am|pm]</code>
<p>Sets working time to another time</p>
<code>setorg</code>
<p>Sets original time to working time</p>
<code>clear</code>
<p>Clears the screen and resets to original time</p>
<code>now</code>
<p>Sets working time to current time</p>
<code>show</code>
<p>Show working time</p>
</div>
<p id="flair">Flair</p>
<p id="error">Error</p>
</article>
<input type="text" id="commandline" placeholder="Enter a command...">
</main>
<script src="index.js"></script>
</body>
</html>