-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
162 lines (137 loc) · 6.15 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"
integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous"/>
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;800&display=swap" rel="stylesheet">
<!-- <link rel="stylesheet" href="style.css">-->
<link rel="stylesheet" href="bootstrap-5.1.3-dist/css/bootstrap.css">
<title>Document</title>
<style>
body {
background-color: #e3eef0;
}
.border-bottom-1 {
border-bottom: 3px solid #ced8e0 !important;
}
.description {
resize: none;
}
</style>
</head>
<body>
<header class="container-fluid ">
<div class="row">
<nav aria-label="breadcrumb" class="bg-primary py-2 px-5">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a class=" text-light" href="index.html">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">
<a href="todolist.html" class=" text-light">TodoList</a></li>
</ol>
</nav>
<div class="toast position-absolute mt-5 toast-third py-2 bg-danger text-light align-items-center" role="alert"
aria-live="assertive" aria-atomic="true">
<div class="d-flex">
<div class="toast-body">
Please fill in all values...!!!
</div>
<button type="button" class="btn-close me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
</div>
<div class="toast position-absolute mt-5 toast-fourth py-2 bg-success text-light align-items-center"
role="alert" aria-live="assertive" aria-atomic="true">
<div class="d-flex">
<div class="toast-body">
Your Data get Edit...!
</div>
<button type="button" class="btn-close me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
</div>
</div>
<!-- start header-section -->
<div class="row">
<div class="col-6 col-md-3 mx-auto mt-5 d-flex align-items-center justify-content-center mb-5 fs-4 text-primary">
<i class="fas fa-check-square me-2 "></i>
<u>My Todo-s </u>
</div>
</div>
</header>
<div id="spinner" class="d-none">
<div class="position-fixed top-0 vh-100 w-100 bg-dark bg-opacity-50 d-flex justify-content-center align-items-center">
<div class="spinner-grow text-primary" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
</div>
<div class="container inputs-wrapper">
<form action="/" name="myform">
<section class="row pb-4 border-bottom-1">
<div class="add-task-wrapper col-12 mx-auto bg-white py-4 px-3 rounded-3 shadow">
<div class="row">
<div class="col-12 col-md-9">
<input type="text" class="form-control shadow-none fw-bold" id="form-inp"
placeholder="Add new...">
</div>
<div class="text-center mt-3 col-md-3 mt-md-0 text-md-end ">
<button class="btn btn-primary px-5 px-md-3 shadow-lg sub-btn" type="submit" id="addtaskbtn"
value="Submit">ADD
</button>
<button class="btn btn-primary px-5 px-md-3 shadow-lg sub-btn" style="display: none;"
type="button" id="savetaskbtn" onclick="saveTask()">SAVE
</button>
</div>
</div>
</div>
</section>
<section class="row mt-3 description">
<div class="add-task-wrapper col-12 mx-auto bg-white py-4 px-3 rounded-3 shadow">
<div class="row">
<div class="col-12">
<textarea type="text" class="form-control shadow-none fw-bold description" id="description"
placeholder="Write Description..."></textarea>
</div>
</div>
</div>
</section>
<section class="row mt-3 deudate">
<div class="add-task-wrapper col-12 mx-auto bg-white py-4 px-3 rounded-3 shadow">
<div class="row">
<div class="col-12">
<label for="dueDate">Enter Due Date:</label>
<input type="date" class="form-control border-0 shadow-none fw-bold " value="" id="dueDate">
</div>
</div>
</div>
</section>
</form>
</div>
<div class="container toast-wrapper">
<div class="toast position-absolute toast-first py-2 bg-success text-light align-items-center" role="alert"
aria-live="assertive"
aria-atomic="true">
<div class="d-flex">
<div class="toast-body">
Information successfully Added...
</div>
<button type="button" class="btn-close me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
</div>
<div class="toast position-absolute toast-second py-2 bg-danger text-light align-items-center" role="alert"
aria-live="assertive" aria-atomic="true">
<div class="d-flex">
<div class="toast-body">
There Is An error to post Data...
</div>
<button type="button" class="btn-close me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
</div>
</div>
<script src="scripts/home.js"></script>
<script src="bootstrap-5.1.3-dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>