-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (46 loc) · 1.64 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<title>Todo List</title>
</head>
<body>
<div id="app" class="p-1">
<h1 id="heading" class=" m-3 is-size-1">
Todo List
</h1>
<div id="tableViewContainer">
<table id="todoTable" class="table is-striped is-bordered is-hoverable is-fullwidth m-3">
<thead>
<tr>
<th>Todo</th>
<th>Delete</th>
</tr>
</thead>
</table>
<div id="tableViewContainerAddItem" class="m-3">
<input id="tableViewContainerAddItemInput" type="text" class="input" placeholder="your todo..."/>
<button id="tableViewContainerAddItemAdd" class="button is-primary mt-2">Add todo</button>
</div>
</div>
<hr>
<div id="tileViewContainer">
<div class="tile-container" id="tileContainer">
<!-- Tiles will be added in while execution -->
</div>
<div id="tileViewContainerAddItem" class="m-3">
<input id="tileViewContainerAddItemInput" type="text" class="input" placeholder="your todo..."/>
<button id="tileViewContainerAddItemAdd" class="button is-link mt-2">Add todo</button>
</div>
</div>
</div>
<div id="viewChange m-3 p-3">
<button id="changeViewButton" class="button is-info m-3"> Show tile view</button>
</div>
<script type="module" src="/main.js"></script>
</body>
</html>