-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
133 lines (116 loc) · 5.24 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<!--Symbols-->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
<!--Font -->
<link href="https://fonts.googleapis.com/css?family=Indie+Flower" rel="stylesheet">
<!--DatePicker-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/gijgo/1.9.13/combined/css/gijgo.min.css">
<!--CSS-->
<link rel="stylesheet" href="styles.css">
<!--JS-->
<!--NavBar-->
<nav class="navbar navbar-expand-lg navbar-light">
<div class="nav-body">
<a class="navbar-brand" href="#"><b><i>My ToDos</i></b></a>
<a href="#" class="btn btn-primary" id="btn-create" data-toggle="modal" data-target="#create">Create</a>
</div>
</nav>
<!--Modal-->
<div class="modal fade" id="create" tabindex="-1" role="dialog" aria-labelledby="createLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="createLabel">Create your note...</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="recipient-name" class="col-form-label">TO DO:</label>
<input type="text" class="form-control" id="title_todo" required>
</div>
<div class="form-group">
<label for="message-text" class="col-form-label">Description:</label>
<textarea class="form-control" id="description_todo" required></textarea>
</div>
<div class="form-group">
<label for="recipient-name" class="col-form-label">Deadline:</label>
<input id="inputdate" width="312" id="deadline_todo" required>
</div>
</form>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-primary" onclick="create_new_todo()" id="btn-todo">Create</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="editTodo" tabindex="-1" role="dialog" aria-labelledby="editTodoLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="editTodoLabel">Edit your note!</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="recipient-name" class="col-form-label">TO DO:</label>
<input type="text" class="form-control" id="edit_title_todo">
</div>
<div class="form-group">
<label for="message-text" class="col-form-label">Description:</label>
<textarea class="form-control" id="edit_description_todo"></textarea>
</div>
<div class="form-group">
<label for="recipient-name" class="col-form-label">Deadline:</label>
<input width="312" id="edit_deadline_todo" required>
</div>
<div class="form-group">
<label for="recipient-name" class="col-form-label">Progress bar</label>
<input type="number" class="form-control" id="edit_progress_todo" min="0" max="100" required>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" onclick="editActualTodo()" id="btn-todo">Edit</button>
</div>
</div>
</div>
</div>
<!--Cards-->
<!--Card Template-->
<div class="container" id="container0">
<div class="row" id="list_of_todos">
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gijgo/1.9.13/combined/js/gijgo.min.js"></script>
<script src="notes.js"></script>
</body>
</html>