-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
164 lines (154 loc) · 5.86 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
163
164
<!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">
<!--Font family-->
<link rel="preconnect" href="https://fonts.gstatic.com"/>
<link
href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"
rel="stylesheet"
/>
<!--Font awesome-->
<link
rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<!--Bootstrap-->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x"
crossorigin="anonymous"
/>
<!--CSS file-->
<link rel="stylesheet" href="style.css"/>
<title>Tasky</title>
</head>
<body onload="loadInitialCardData()" style=background-color:#ebf2ff>
<!--Modal-->
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Modal title</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form>
<div class="mb-3">
<label for="imageUrl" class="form-label" >Image Url</label>
<input type="url" class="form-control" id="imageUrl" aria-describedby="imageUrl" placeholder="https://images.hello.com/hello.jpg">
</div>
<div class="mb-3">
<label for="taskTitle" class="form-label" >Task Title</label>
<input type="text" class="form-control" id="taskTitle" aria-describedby="taskTitle" placeholder="eg.API integration">
</div>
<div class="mb-3">
<label for="taskType" class="form-label" >Task type</label>
<input type="text" class="form-control" id="taskType" aria-describedby="taskType" placeholder="eg.Development">
</div>
<div class="mb-3">
<label for="taskDescription" class="form-label" >Task description</label>
<textarea
rows="6"
class="form-control"
id="taskDescription"
aria-describedby="taskDescription"
placeholder="Bulding an amazing API"
></textarea>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary " onclick="saveChanges()" data-bs-dismiss="modal">Save changes</button>
</div>
</div>
</div>
</div>
<!--Navbar-->
<nav class="navbar navbar-expand-md navbar-light bg-light shadow-sm">
<div class="container-fluid">
<h1 class="fw-bold">
<a class="navbar-brand text-primary" href="#">Tasky</a>
</h1>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
</li>
</ul>
<button
type="button"
class="btn btn-primary"
data-bs-toggle="modal"
data-bs-target="#exampleModal">Add new
<i class="fas fa-plus"></i>
</button>
</div>
</div>
</nav>
<!--Search container-->
<div class="container ">
<section class="mt-5">
<div class="row justify-content-center ">
<div class="col-sm-6 col-md-6">
<div class="input-group mb-3 shadow-sm">
<input
type="text"
class="form-control"
placeholder="Search Task"
aria-label="Search Task"
aria-describedby="basic-addon2">
<span class="input-group-text" id="basic-addon2">
<i class="fab fa-searchengin"></i>
</span>
</div>
</div>
</div>
</section>
</div>
<!--Card-->
<section class="ms-lg-5 me-lg-5 ms-md-3 me-md-3">
<div class="row task_container">
</div>
</section>
<!--open the card-->
<div class="modal" id="showModal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<image class="showImage" src="" alt="image" style="width:100%"></image>
<h5 class="showTitle"></h5>
<p class="showDescription"></p>
<button class="showType btn btn-primary"></button>
</div>
</div>
</div>
</div>
<!--Javascript bundle-->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4"
crossorigin="anonymous">
</script>
<!--Javascript file-->
<script src="index.js"></script>
</body>
</html>