-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
116 lines (89 loc) · 4.59 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Montserrat|Poiret+One" rel="stylesheet">
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<link rel="icon" href="img/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="css/style.css">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>To Do List App</title>
</head>
<body>
<!-- HEADER -->
<div class="container container1" id="header">
<div class="title row align-items-center">
<div class="col">
<h3>TO DO LIST</h3>
<div class="dateAndTime row">
<div class="date" id="getDate"></div>
<div class="time" id="getTime"></div>
</div>
</div>
</div> <!-- title row ENDS -->
</div> <!-- container ENDS -->
<!-- MAIN CONTENT -->
<div class="container" id="container2">
<div class="row box">
<div class="col taskCol clearTaskBtn clearBtnContainer">
<!-- <div class="clearTaskBtn"> -->
<i class="fas fa-times" id="icon"></i>
<!-- </div> -->
</div>
<div class="col-8">
<label class="form-check-label" for="exampleCheck1">Click the plus button to add a task like this to your list</label>
</div>
<div class="col taskCol">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
</div>
</div> <!-- row ENDS -->
<div class="row box">
<div class="col taskCol clearTaskBtn clearBtnContainer">
<!-- <div class="clearTaskBtn"> -->
<i class="fas fa-times" id="icon"></i>
<!-- </div> -->
</div>
<div class="col-8">
<label class="form-check-label" for="exampleCheck1">Click the <strong>x</strong> to delete the task</label>
</div>
<div class="col taskCol">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
</div>
</div> <!-- row ENDS -->
</div> <!-- container ENDS -->
<!-- ********************** Modal Interactions ********************** -->
<!-- Button trigger modal -->
<div class="container">
<button type="button" class="btn btn-outline-dark" data-toggle="modal" data-target="#exampleModalCenter">
<i class="fas fa-plus plusIcon"></i>
</button>
</div>
<!-- Add task Modal -->
<div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalCenterTitle">Add a task</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<input class="form-control" id="taskInput" type="text" placeholder="E.g Visit Macy">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" id="addBtn" data-dismiss="modal" aria-label="Close">Add</button>
</div>
</div> <!-- modal-content -->
</div> <!-- modal-dialog ends-->
</div> <!-- Modal ends -->
<!-- <div class="row box"><div class="col taskCol clearTaskBtn clearBtnContainer"><i class="fas fa-times"></i></div><div class="col-8"><label class="form-check-label nameOfTask" for="exampleCheck1">' + inputValueStorage + '</label></div><div class="col taskCol"><input type="checkbox" class="form-check-input" id="exampleCheck1"></div></div> -->
<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/jquery/3.3.1/jquery.js" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm" crossorigin="anonymous"></script>
<script src="js/script.js"></script>
</body>
</html>