-
Notifications
You must be signed in to change notification settings - Fork 1
/
reserve_services.html
189 lines (175 loc) · 6.67 KB
/
reserve_services.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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<!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="images/logo_no.png">
<title>Facility Reservation</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/[email protected]/dist/flowbite.js"></script>
<style>
body {
background-color: #fffef2;
}
header {
padding: 10px 20px;
border-bottom: 2px solid #f1d547;
}
.container {
display: flex;
justify-content: space-around;
align-items: flex-start;
margin: 20px;
}
.form-section {
width: 30%;
}
.form-section .dropdown {
margin: 20px 0;
background-color: #f7d547;
border-radius: 10px;
padding: 10px;
text-align: left;
}
.dropdown label {
font-weight: bold;
display: block;
margin-bottom: 5px;
}
.dropdown select,
.dropdown input[type="date"] {
width: 90%;
padding: 8px 10px;
border-radius: 5px;
border: none;
font-size: 16px;
background-color: #fff;
}
.carousel-section {
width: 60%;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 20px;
}
.carousel-placeholder {
width: 500px;
height: 300px;
border-radius: 10px;
border: 2px solid #f1c232;
display: flex;
justify-content: center;
align-items: center;
background-color: #f7d547;
position: relative;
}
.carousel-placeholder img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 10px;
}
.carousel-placeholder a {
position: absolute;
color: white;
font-size: 18px;
font-weight: bold;
text-decoration: none;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.submit-btn {
background-color: #f7d547;
padding: 20px 60px;
border: none;
border-radius: 10px;
font-weight: bold;
cursor: pointer;
}
.submit-btn:hover {
background-color: #f1c232;
}
</style>
</head>
<header>
<div class="flex">
<a href="/"><img class="h-20 w-auto" src="logo_no.png" alt="Logo"></a>
<div class="block mt-4">
<a href="/" class="text-xl font-bold text-amber-800">UP SLIS LIBRARY</a>
<button id="dropdownAvatarNameButton" data-dropdown-toggle="dropdownAvatarName" class="flex items-center text-sm pe-1 font-bold text-gray-900 rounded-full hover:text-blue-600 dark:hover:text-amber-600 md:me-0 dark:text-black" type="button">
{{ auth()->user()->name}}
</button>
<div id="dropdownAvatarName" class="hidden bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-amber-100 dark:divide-white">
<div class="px-4 py-3 text-sm text-white dark:text-black">
<div>Welcome</div>
<div class="font-bold truncate">{{ auth()->user()->email}}</div>
</div>
<ul class="py-2 text-sm text-black dark:text-black" aria-labelledby="dropdownUserAvatarNameButton">
<li>
<a href="/dashboard" class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-amber-200 dark:hover:text-black">Dashboard</a>
</li>
<li>
<a href="#" class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-amber-200 dark:hover:text-black">Reservations</a>
</li>
<li>
<a href="#" class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-amber-200 dark:hover:text-black">Requests</a>
</li>
<li>
<a href="#" class="hidden px-4 py-2 hover:bg-gray-100 dark:hover:bg-amber-200 dark:hover:text-black">Statistics</a>
</li>
</ul>
<div class="py-2">
<form id="logout-form" action="{{ route('logout') }}" method="POST">
@csrf
<button type="submit" class="text-sm w-full px-4 py-2 hover:bg-gray-100 dark:hover:bg-amber-200 dark:hover:text-black">
Log out
</button>
</form>
</div>
</div>
</div>
</div>
<p class="text-3xl font-bold absolute top-8 right-12">RESERVATION</p>
</header>
<body>
<div class="container">
<div class="form-section">
<div class="dropdown">
<label for="date">Date</label>
<input type="date" id="date">
</div>
<div class="dropdown">
<label for="services">Services</label>
<select id="services">
<option value="0">Reader Advisory</option>
<option value="1">Research Counselling</option>
<option value="2">Library Orientation</option>
<option value="3">Scanning</option>
<option value="4">Printing</option>
</select>
</div>
<div class="dropdown">
<label for="timeslot">Time Slot</label>
<select id="timeslot">
<option value="8-9AM">8:00 - 9:00 AM</option>
<option value="9-10AM">9:00 - 10:00 AM</option>
<option value="10-11AM">10:00 - 11:00 AM</option>
<option value="11-12PM">11:00 - 12:00 PM</option>
<option value="1-2PM">1:00 - 2:00 PM</option>
<option value="2-3PM">2:00 - 3:00 PM</option>
<option value="3-4PM">3:00 - 4:00 PM</option>
<option value="4-5PM">4:00 - 5:00 PM</option>
</select>
</div>
</div>
<div class="carousel-section">
<div class="carousel-placeholder">
<img src="gabi_no.png" alt="Services Description">
<a href="/services">Services Description</a>
</div>
<button class="submit-btn">Submit</button>
</div>
</div>
</body>
</html>