-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (63 loc) · 2.78 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Phone Hunter</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
</head>
<body>
<header>
<h1 class=" text-center">Welcome to my Phone Hunter!</h1>
</header>
<main class="container">
<section>
<div class="mb-3 w-50">
<input id="search-field" type="email" class="form-control" id="exampleFormControlInput1" placeholder="Search Your Phone">
<div id="btn-search" class="btn btn-primary">Search</div>
</div>
</section>
<!-- display search results -->
<section>
<div id="phones-container" class="row row-cols-1 row-cols-md-3 g-4">
</div>
<div id="no-found-message" class="mt-4 d-none">
<h3 class="text-warning">No Phone Found! Please try a new search</h3>
</div>
<div id="show-all" class="text-center d-none">
<div id="btn-show-all" class="btn btn-primary">Show All</div>
</div>
</section>
<!-- loader -->
<section id="loader" class="d-none">
<div style="height: 400px;" class="d-flex justify-content-center align-items-center">
<div class="spinner-border text-success" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
</section>
<!-- modal contents -->
<section>
<!-- Modal -->
<div class="modal fade" id="phoneDetailsModal" tabindex="-1" aria-labelledby="phoneDetailsModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="phoneDetailsModalLabel"></h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div id="phone-details" class="modal-body">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- scripts -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
<script src="js/app.js"></script>
</body>
</html>