-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (68 loc) · 3.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<title>Search for name days</title>
</head>
<body>
<div class="container my-5 mx-auto">
<h1 class="text-muted font-weight-bold text-center my-4">Name day search</h1>
<form id="search-form" class="mb-3">
<div class="form-row">
<div class="col-12 col-md-6">
<div class="input-group mb-2">
<div class="input-group-prepend">
<label class="input-group-text" for="search-type">Search by:</label>
</div>
<select class="custom-select" id="search-type">
<option value="name">Name</option>
<option value="date">Date</option>
<option value="today">Today</option>
<option value="tomorrow">Tomorrow</option>
<option value="yesterday">Yesterday</option>
</select>
</div>
</div>
<div class="col-12 col-md-6">
<div class="input-group mb-2">
<div class="input-group-prepend">
<label class="input-group-text" for="search-country">Country:</label>
</div>
<select class="custom-select" id="search-country">
</select>
</div>
</div>
<div id="timezones" class="col-12 d-none">
<div class="input-group mb-2">
<div class="input-group-prepend">
<label class="input-group-text" for="search-timezone">Timezone:</label>
</div>
<select class="custom-select" id="search-timezone">
</select>
</div>
</div>
<div class="col-12">
<div class="input-group mb-2">
<input type="text" class="form-control" placeholder="Enter a name..." id="search-input"
required>
<div class="input-group-append">
<button class="btn btn-outline-secondary" type="submit" id="button-date">🔍</button>
</div>
</div>
</div>
</div>
</form>
<section id="search-result">
</section>
</div>
<script src="assets/script/moment.js"></script>
<script src="assets/script/nameday.js"></script>
<script src="assets/script/app.js"></script>
</body>
</html>