-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
79 lines (77 loc) · 2.13 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#061a40" />
<link rel="stylesheet" href="src/style.css" />
<link rel="icon" href="icons/any.svg" />
<title>Task Aggregator</title>
</head>
<body>
<div class="header">
<h1>Task Aggregator</h1>
</div>
<div class="main">
<h2>Add Tasks</h2>
<form id="task-form">
<label>Date: <input name="date" type="date" /></label>
<label>
Duration:
<input
value="0"
name="hours"
type="number"
min="0"
step="1"
required
/>
:
<input
value="0"
name="minutes"
type="number"
min="0"
max="59"
step="1"
required
/>
</label>
<label>
Tags:
<select name="tagNames" id="tag-dropdown" size="5" multiple></select>
</label>
<br />
<br />
<label>
Description:
<br />
<textarea
name="description"
placeholder="Describe the task..."
rows="5"
cols="80"
></textarea>
</label>
<br>
<button class="form-button" type="submit">Add Task</button>
</form>
<h2>Created Tags</h2>
<form id="tag-form">
<div id="tags-list" class="list"></div>
<input placeholder="New tag" name="name" required />
<input type="color" name="color" required />
<button class="form-button" type="submit">Add Tag</button>
<p id="tag-submission-error-text"></p>
</form>
<h2>Past Tasks</h2>
<div id="tasks-list"></div>
<script type="module" src="/src/main.ts"></script>
<dialog id="startup-dialog">
<h1>Open File</h1>
<button class="form-button" id="open-button">Open File</button>
<button class="form-button" id="create-button">Create File</button>
</dialog>
</div>
</body>
</html>