-
Notifications
You must be signed in to change notification settings - Fork 1
/
timeslot.html
90 lines (85 loc) · 5 KB
/
timeslot.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="logo_no.png">
<title>Reservations</title>
<!-- TailWind CSS-->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Flowbite -->
<script src="https://unpkg.com/[email protected]/dist/flowbite.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/flowbite.min.js"></script>
<style>
.services {
display: flex;
align-items: center;
margin: 50px;
}
.services-footer {
margin: 10px 40px;
}
.services-footer button {
font-size: 14px;
background-color: #fddc58;
border: none;
padding: 15px 32px;
cursor: pointer;
border-radius: 8px;
display: inline;
justify-content: center;
align-items: center;
}
</style>
</head>
<header class="services">
<a href="/home"><img class="h-20 w-auto mr-2" src="library_logo.jpg" alt="Logo"></a>
<div>
<a href="/home" class="text-xl font-bold text-amber-800">UP SLIS LIBRARY</a>
</div>
</header>
<body>
<div class="flex items-center text-center justify-around mx-24">
<section class="">
<h1 class="text-5xl font-bold ">RESERVATIONS</h1>
<p class="text-sm text-wrap">Please select the date and time of your reservation</p>
<div class="services">
<div class="services-footer">
<button href="/services">FACILITY SELECTION</button>
<button href="/collection">TIMESLOT</button>
<button href="/resources">SUBMISSION</button>
</div>
</div>
</section>
<section class="mr-12">
<div id="datepicker-inline" inline-datepicker data-date="02/25/2024" class="mb-8"></div>
<div id="timepicker">
<form class="max-w-[16rem] mx-auto grid grid-cols-2 gap-4">
<div>
<label for="start-time" class="block mb-2 text-sm font-medium text-gray-900 dark:text-black">Start time:</label>
<div class="relative">
<div class="absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none">
<svg class="w-4 h-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24">
<path fill-rule="evenodd" d="M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z" clip-rule="evenodd"/>
</svg>
</div>
<input type="time" id="start-time" class="bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" min="09:00" max="18:00" value="00:00" required />
</div>
</div>
<div>
<label for="end-time" class="block mb-2 text-sm font-medium text-gray-900 dark:text-black">End time:</label>
<div class="relative">
<div class="absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none">
<svg class="w-4 h-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24">
<path fill-rule="evenodd" d="M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z" clip-rule="evenodd"/>
</svg>
</div>
<input type="time" id="end-time" class="bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" min="09:00" max="18:00" value="00:00" required />
</div>
</div>
</form>
</div>
</section>
</div>
</body>
</html>