forked from blacksag/To-Dos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (63 loc) · 2.75 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>My TODOS</title>
<link rel="icon" sizes="192x192" href="icon.png">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="top-bar">
<img src="icon.png" height="30px"><h1>To-Do APP</h1>
</div>
<div class="wrapper">
<div class="controls">
<div class="control-group add-item">
<div class="control-group-buttons">
<button id="btn_add_todo" onclick="handler.addTodos()" >Add</button>
</div>
<div class="control-group-inputs">
<input class="effect" type="text" id="todoAddTextInput" placeholder="New Item">
</div>
</div>
<div class="control-group rename-item">
<div class="control-group-buttons">
<button id="btn_change_todo" onclick="handler.changeTodos()">Change</button>
</div>
<div class="control-group-inputs">
<input class="effect" type="number" id="todoChangePositionInput" placeholder="Item Index">
<input class="effect" type="text" id="todoChangeNameInput" placeholder="New Item Name">
</div>
</div>
<div class="control-group delete-item">
<div class="control-group-buttons">
<button id="btn_delete_todo" onclick="handler.deleteTodos()" class="danger">Delete</button>
</div>
<div class="control-group-inputs">
<input class="effect" type="number" id="todoDeletePositionInput" placeholder="Item Index">
</div>
</div>
<div class="control-group toggle-item">
<div class="control-group-buttons">
<button id="btn_toggle_completed" onclick="handler.toggleCompleted()" class="success">Toggle</button>
</div>
<div class="control-group-inputs">
<input class="effect" type="number" id="todoTogglePositionInput" placeholder="Item Index">
</div>
</div>
<div class="control-group toggle-all-items">
<div class="control-group-buttons">
<button id="btn_toggle_all" onclick="handler.toggleAll()" class="success">Toggle All</button>
</div>
</div>
</div>
<div class="todos-container">
<h2>Open Tasks</h2>
<ul></ul>
</div>
</div>
<script type="text/javascript" src="todos.js"></script>
</body>
</html>