-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
98 lines (88 loc) · 3.2 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<link rel='shortcut icon' href='favicon.ico' type='image/x-icon'>
<link rel='stylesheet' href='styles/main.css'>
<script type='module' defer src='scripts/main.js'></script>
<script type='module' defer src='scripts/mainMenu.js'></script>
<script>
/*to prevent Firefox FOUC, this must be here*/
// noinspection JSUnusedGlobalSymbols
let FF_FOUC_FIX
</script>
<title>TODO App</title>
</head>
<body class='has-mask dark'>
<div class='mask'></div>
<header class='sticky-header centered-row'>
<button type='button' class='icon-button content-box' name='list-categories' id='list-categories'>
<img src='icons/list-solid.svg' alt='Icon representing a list of elements' class='icon-image'>
</button>
<h1 class='centered-item'>TODO App</h1>
<button type='button' class='icon-button content-box' name='menu' id='menu-button'>
<img src='icons/bars-menu-solid.svg' alt='Horizontal bars representing a menu icon' class='icon-image'>
</button>
</header>
<div class='top-level-side-panel right-panel' id='menu'>
<div class='top-level-panel-container'>
<section class='panel-section'>
<nav class='top-navbar'>
<ul class='nav-list'>
<li class='nav-item'>
<a href='/' class='item-title'>Home</a>
</li>
<li class='nav-item'>
<a href='/pages/about.html' class='item-title'>About</a>
<ul class='nav-sublist'>
<li class='nav-sub-item'><a href='/pages/about.html#author'>Author</a></li>
<li class='nav-sub-item'><a href='/pages/about.html#repo'>Repository</a></li>
<li class='nav-sub-item'><a href='/pages/about.html#resources'>Resources</a></li>
</ul>
</li>
</ul>
</nav>
</section>
<section class='panel-section'>
<span class='theme-text'>Theme</span>
<button class='change-theme-button'>Light</button>
</section>
</div>
</div>
<main class='single-column expand-flex'>
<article class='expand-flex'>
<ul class='none-list-style content'>
<!-- TODOElements go here... -->
</ul>
</article>
<button class='icon-button floating-button' id='expand-todo-panel'>
<img src='icons/plus-solid.svg' alt='Icon of a white plus sign' class='icon-image'>
</button>
<div class='add-todo-panel'>
<form name='add-new-todo-to-list' class='expand-flex'>
<div class='form-section'>
<label for='todo-title'>Title:</label>
<input type='text'
name='todo-title'
id='todo-title'
placeholder='Add a title...'
pattern='.*\S+.*'
required>
</div>
<div class='form-section expand-flex'>
<label for='todo-description'>Description:</label>
<textarea name='todo-description'
id='todo-description'
class='expand-flex'
placeholder='And a description...'
required></textarea>
</div>
<div class='centered-row'>
<button type='submit'>Add TODO</button>
</div>
</form>
</div>
</main>
</body>
</html>