-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
437 lines (374 loc) · 18.9 KB
/
index.html
File metadata and controls
437 lines (374 loc) · 18.9 KB
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Saba appointer</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<link href="{% static 'assets/img/favicon.png' %}" rel="icon">
<link href="{% static 'assets/img/apple-touch-icon.png' %}" rel="apple-touch-icon">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com /css?family=Open+Sans:300,300i,400,400i,700,700i|Poppins:300,400,500,700" rel="stylesheet">
<!-- Vendor CSS Files -->
<link href="{% static 'assets/vendor/aos/aos.css' %}" rel="stylesheet">
<link href="{% static 'assets/vendor/bootstrap/css/bootstrap.min.css' %}" rel="stylesheet">
<link href="{% static 'assets/vendor/bootstrap-icons/bootstrap-icons.css' %}" rel="stylesheet">
<link href="{% static 'assets/vendor/boxicons/css/boxicons.min.css' %}" rel="stylesheet">
<link href="{% static 'assets/vendor/glightbox/css/glightbox.min.css' %}" rel="stylesheet">
<link href="{% static 'assets/vendor/swiper/swiper-bundle.min.css' %}" rel="stylesheet">
<!-- Template Main CSS File -->
<link href="{% static 'assets/css/style.css' %}" rel="stylesheet">
</head>
<body>
<!-- ======= Header ======= -->
<header id="header" class="fixed-top d-flex align-items-center header-transparent">
<div class="container d-flex justify-content-between align-items-center">
<div id="logo">
<!-- <a href="/"><img src="{% static 'assets/img/logo.png' %}" width = '145' alt=""></a> -->
<h1><a href="/">Saba</a></h1>
</div>
<nav id="navbar" class="navbar">
<ul>
<li><a class="nav-link scrollto active" href="#hero">Home</a></li>
{% if user.is_authenticated and user.userpage.status == 'CUSTOMER' %}
<li><a class="nav-link scrollto" href="#portfolio">Booked Salons</a></li>
<li><a class="nav-link scrollto " href="#portfolio">Salons</a></li>
<!-- <li class="dropdown"><a href="#"><span>Drop Down</span> <i class="bi bi-chevron-down"></i></a>
<ul>
<li><a href="#">Drop Down 1</a></li>
<li class="dropdown"><a href="#"><span>Deep Drop Down</span> <i class="bi bi-chevron-right"></i></a>
<ul>
<li><a href="#">Deep Drop Down 1</a></li>
<li><a href="#">Deep Drop Down 2</a></li>
<li><a href="#">Deep Drop Down 3</a></li>
<li><a href="#">Deep Drop Down 4</a></li>
<li><a href="#">Deep Drop Down 5</a></li>
</ul>
</li>
<li><a href="#">Drop Down 2</a></li>
<li><a href="#">Drop Down 3</a></li>
<li><a href="#">Drop Down 4</a></li>
</ul>
</li> -->
{% elif not user.is_authenticated %}
<li><a class="nav-link scrollto" href="#services">Services</a></li>
<li><a class="nav-link scrollto" href="#about">About</a></li>
{% endif %}
<li><a class="nav-link scrollto" href="#contact">Contact</a></li>
{% if user.is_authenticated %}
<li><a class="nav-link scrollto" href="{% url 'Userhome' %}">{{user.username}}'s page</a></li>
<li><a class="nav-link scrollto" href="logout">Logout</a></li>
{% endif %}
</ul>
<i class="bi bi-list mobile-nav-toggle"></i>
</nav><!-- .navbar -->
</div>
</header><!-- End Header -->
<!-- ======= Hero Section ======= -->
<section id="hero">
<div class="hero-container" data-aos="zoom-in" data-aos-delay="100">
<h1>Welcome to Saba {{user.username}}</h1>
<h2>You can now start reserving a seat for you in the hair salons</h2>
{% if not user.is_authenticated%}
<a href="login" class="btn-get-started">Login</a>
or
<a href="signup" id="signup" class="btn-get-started">Signup</a>
{% endif %}
</div>
</section><!-- End Hero Section -->
<main id="main">
<!-- ======= About Section ======= -->
<section id="about">
<div class="container" data-aos="fade-up">
<div class="row about-container">
<div class="col-lg-6 content order-lg-1 order-2">
<center>
<h2 class="title">Few Words About Us</h2>
<p>
Saba appointer is a website designed to provide latest service along with making appointments to several hair salons found in our city. It also brings the opportunity of providing an advertisment for many salons.
</p>
</center>
<div class="icon-box" data-aos="fade-up" data-aos-delay="100">
<div class="icon"><i class="bi bi-briefcase"></i></div>
<h4 class="title"><a href="#services">Make reservation</a></h4>
<p class="description">You can make reservations after you log in to your account to your choice of hair salon</p>
</div>
<div class="icon-box" data-aos="fade-up" data-aos-delay="200">
<div class="icon"><i class="bi bi-card-checklist"></i></div>
<h4 class="title"><a href="#services">See how many people are before you</a></h4>
<p class="description">You are no longer required to wait a line in the salon. You now can see how many people are actually before you all from the place of your choice.</p>
</div>
<div class="icon-box" data-aos="fade-up" data-aos-delay="300">
<div class="icon"><i class="bi bi-binoculars"></i></div>
<h4 class="title"><a href="#services">See previous rating of the salon</a></h4>
<p class="description">You can choose the hair salon based on the rating it was given based on customers' satisfaction</p>
</div>
</div>
<div class="col-lg-6 background order-lg-2 order-1" data-aos="fade-left" data-aos-delay="100"></div>
</div>
</div>
</section><!-- End About Section -->
<!-- ======= Services Section ======= -->
<section id="services">
<div class="container" data-aos="fade-up">
<div class="section-header">
<h3 class="section-title">Services</h3>
<p class="section-description"></p>
</div>
<div class="row">
<div class="col-lg-4 col-md-6" data-aos="zoom-in">
<div class="box">
<div class="icon"><a href=""><i class="bi bi-briefcase"></i></a></div>
<h4 class="title"><a href="">Make reservation</a></h4>
<p class="description">You can make reservations after you log in to your account to your choice of hair salon</p>
</div>
</div>
<div class="col-lg-4 col-md-6" data-aos="zoom-in">
<div class="box">
<div class="icon"><a href=""><i class="bi bi-card-checklist"></i></a></div>
<h4 class="title"><a href="">See how many people are before you</a></h4>
<p class="description">You are no longer required to wait a line in the salon. You now can see how many people are actually before you all from the place of your choice.</p>
</div>
</div>
<div class="col-lg-4 col-md-6" data-aos="zoom-in">
<div class="box">
<div class="icon"><a href=""><i class="bi bi-bar-chart"></i></a></div>
<h4 class="title"><a href="">See previous rating of the salon</a></h4>
<p class="description">You can choose the hair salon based on the rating it was given based on customers' satisfaction</p>
</div>
</div>
<div class="col-lg-4 col-md-6" data-aos="zoom-in">
<div class="box">
<div class="icon"><a href=""><i class="bi bi-brightness-high"></i></a></div>
<h4 class="title"><a href="">Filter salons</a></h4>
<p class="description">You can also filter different salons based on their quality of services</p>
</div>
</div>
<div class="col-lg-4 col-md-6" data-aos="zoom-in">
<div class="box">
<div class="icon"><a href=""><i class="bi bi-binoculars"></i></a></div>
<h4 class="title"><a href="">Register Your salon</a></h4>
<p class="description">You can also register your salon if you want to use this website to reach your customers</p>
</div>
</div>
</div>
</div>
</section>
<!-- End Services Section -->
{% if not user.is_authenticated %}
<!-- ======= Facts Section ======= -->
<section id="facts">
<div class="container" data-aos="fade-up">
<div class="section-header">
<h3 class="section-title">Facts</h3>
<p class="section-description">Here are some stats to support our statment</p>
</div>
<div class="row counters">
<!-- <center> -->
<div class="col-lg-3 col-6 text-center">
<span data-purecounter-start="0" data-purecounter-end="232" data-purecounter-duration="1" class="purecounter"></span>
<p>Clients</p>
</div>
<div class="col-lg-3 col-6 text-center">
<span data-purecounter-start="0" data-purecounter-end="53" data-purecounter-duration="1" class="purecounter"></span>
<p>Daily Users</p>
</div>
<!-- <div class="col-lg-3 col-6 text-center">
<span data-purecounter-start="0" data-purecounter-end="1463" data-purecounter-duration="1" class="purecounter"></span>
<p>Hours Of Support</p>
</div> -->
<div class="col-lg-3 col-6 text-center">
<span data-purecounter-start="0" data-purecounter-end="21" data-purecounter-duration="1" class="purecounter"></span>
<p>Salons</p>
</div>
<!-- </center> -->
</div>
</div>
</section><!-- End Facts Section -->
{% endif %}
{% if user.is_authenticated and user.userpage.status == 'CUSTOMER' %}
<!-- ======= Salons Section ======= -->
<section id="portfolio" class="portfolio">
<div class="container" data-aos="fade-up">
<div class="section-header">
<h3 class="section-title">Our Salons</h3>
<p class="section-description">Here are some the salons available</p>
</div>
<div class="row" data-aos="fade-up" data-aos-delay="100">
<div class="col-lg-12 d-flex justify-content-center">
<ul id="portfolio-flters">
<li data-filter="*" class="filter-active">All</li>
<li data-filter=".filter-app">Top services</li>
<li data-filter=".filter-card">Fast services</li>
</ul>
</div>
</div>
<div class="row portfolio-container" data-aos="fade-up" data-aos-delay="200">
<div class="col-lg-4 col-md-6 portfolio-item filter-app">
<img src="{% static 'assets/img/salons/salon-1.jpg' %}" class="img-fluid" alt="">
<div class="portfolio-info">
<h4>Salon 1</h4>
<p>Top service</p>
<a href="{% static 'assets/img/salons/salon-1.jpg' %}" data-gallery="portfolioGallery" class="portfolio-lightbox preview-link" title="App 1"><i class="bx bx-plus"></i></a>
<a href="portfolio-details.html" class="details-link" title="More Details"><i class="bx bx-link"></i></a>
</div>
</div>
<div class="col-lg-4 col-md-6 portfolio-item filter-app">
<img src="{% static 'assets/img/salons/salon-2.jpg' %}" class="img-fluid" alt="">
<div class="portfolio-info">
<h4>Salon 2</h4>
<p>Top services</p>
<a href="{% static 'assets/img/salons/salon-2.jpg' %}" data-gallery="portfolioGallery" class="portfolio-lightbox preview-link" title="App 2"><i class="bx bx-plus"></i></a>
<a href="portfolio-details.html" class="details-link" title="More Details"><i class="bx bx-link"></i></a>
</div>
</div>
<div class="col-lg-4 col-md-6 portfolio-item filter-card">
<img src="{% static 'assets/img/salons/salon-4.jpg' %}" class="img-fluid" alt="">
<div class="portfolio-info">
<h4>Salon 3</h4>
<p>Fast services</p>
<a href="{% static 'assets/img/salons/salon-4.jpg' %}" data-gallery="portfolioGallery" class="portfolio-lightbox preview-link" title="Card 2"><i class="bx bx-plus"></i></a>
<a href="portfolio-details.html" class="details-link" title="More Details"><i class="bx bx-link"></i></a>
</div>
</div>
<div class="col-lg-4 col-md-6 portfolio-item filter-app">
<img src="{% static 'assets/img/salons/salon-6.jpg' %}" class="img-fluid" alt="">
<div class="portfolio-info">
<h4>Salon 4</h4>
<p>Top services</p>
<a href="{% static 'assets/img/salons/salon-6.jpg' %}" data-gallery="portfolioGallery" class="portfolio-lightbox preview-link" title="App 3"><i class="bx bx-plus"></i></a>
<a href="portfolio-details.html" class="details-link" title="More Details"><i class="bx bx-link"></i></a>
</div>
</div>
<div class="col-lg-4 col-md-6 portfolio-item filter-card">
<img src="{% static 'assets/img/salons/salon-5.jpg' %}" class="img-fluid" alt="">
<div class="portfolio-info">
<h4>Salon 5</h4>
<p>Fast services</p>
<a href="{% static 'assets/img/salons/salon-5.jpg' %}" data-gallery="portfolioGallery" class="portfolio-lightbox preview-link" title="Card 1"><i class="bx bx-plus"></i></a>
<a href="portfolio-details.html" class="details-link" title="More Details"><i class="bx bx-link"></i></a>
</div>
</div>
<div class="col-lg-4 col-md-6 portfolio-item filter-card">
<img src="{% static 'assets/img/salons/salon-3.jpeg' %}" class="img-fluid" alt="">
<div class="portfolio-info">
<h4>Salon 6</h4>
<p>Fast services</p>
<a href="{% static 'assets/img/salons/salon-3.jpeg' %}" data-gallery="portfolioGallery" class="portfolio-lightbox preview-link" title="Card 3"><i class="bx bx-plus"></i></a>
<a href="portfolio-details.html" class="details-link" title="More Details"><i class="bx bx-link"></i></a>
</div>
</div>
</div>
</div>
</section><!-- End Salons Section -->
{% endif %}
<!-- ======= Register salon Section ======= -->
<section id="Register-Salon">
<div class="container">
<div class="row" data-aos="zoom-in">
<div class="col-lg-9 text-center text-lg-start">
<h3 class="cta-title">Register your salon</h3>
<p class="cta-text"> Register using this form if you want your salon to become part of this website after creating an account first
{% if not user.is_authenticated %}
<a href="#">Create an account first</a> </p>
{% endif %}
</div>
{% if user.userpage.status == 'HOST' %}
<div class="col-lg-3 cta-btn-container text-center">
<a class="cta-btn align-middle" href="register">Register your salon</a>
</div>
{% endif %}
</div>
</div>
</section><!-- End Register salon Section -->
<!-- ======= Contact Section ======= -->
<section id="contact">
<div class="container">
<div class="section-header">
<h3 class="section-title">Contact</h3>
<p class="section-description">You can use the form below if you wish to report any errors</p>
</div>
</div>
<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-lg-3 col-md-4">
<div class="info">
<div>
<i class="bi bi-geo-alt"></i>
<p>Ayer Tena<br>Addis Ababa, Ethiopia</p>
</div>
<div>
<i class="bi bi-envelope"></i>
<p>yabsira.deresse@gmail.com</p>
</div>
<!-- <div>
<i class="bi bi-phone"></i>
<p>+251911926066</p>
</div> -->
</div>
<div class="social-links">
<a href="#" class="twitter"><i class="bi bi-twitter"></i></a>
<a href="#" class="facebook"><i class="bi bi-facebook"></i></a>
<a href="#" class="instagram"><i class="bi bi-instagram"></i></a>
<a href="#" class="linkedin"><i class="bi bi-linkedin"></i></a>
</div>
</div>
<div class="col-lg-5 col-md-8">
<div class="form">
<form action="forms/contact.php" method="post" role="form" class="php-email-form">
<div class="form-group">
<input type="text" name="name" class="form-control" id="name" placeholder="Your Name" required>
</div>
<div class="form-group mt-3">
<input type="email" class="form-control" name="email" id="email" placeholder="Your Email" required>
</div>
<div class="form-group mt-3">
<input type="text" class="form-control" name="subject" id="subject" placeholder="Subject" required>
</div>
<div class="form-group mt-3">
<textarea class="form-control" name="message" rows="5" placeholder="Message" required></textarea>
</div>
<div class="my-3">
<div class="loading">Loading</div>
<div class="error-message"></div>
<div class="sent-message">Your message has been sent. Thank you!</div>
</div>
<div class="text-center"><button type="submit">Send Message</button></div>
</form>
</div>
</div>
</div>
</div>
</section><!-- End Contact Section -->
</main><!-- End #main -->
<!-- ======= Footer ======= -->
<footer id="footer">
<div class="footer-top">
<div class="container">
</div>
</div>
<div class="container">
<div class="copyright">
© Copyright <strong>Regna</strong>. All Rights Reserved
</div>
<div class="credits">
Designed by <a href="/">Made by Yab</a>
</div>
</div>
</footer><!-- End Footer -->
<a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>
<!-- Vendor JS Files -->
<script src="{% static 'assets/vendor/purecounter/purecounter.js' %}"></script>
<script src="{% static 'assets/vendor/aos/aos.js' %}"></script>
<script src="{% static 'assets/vendor/bootstrap/js/bootstrap.bundle.min.js' %}"></script>
<script src="{% static 'assets/vendor/glightbox/js/glightbox.min.js' %}"></script>
<script src="{% static 'assets/vendor/isotope-layout/isotope.pkgd.min.js' %}"></script>
<script src="{% static 'assets/vendor/swiper/swiper-bundle.min.js' %}"></script>
<script src="{% static 'assets/vendor/php-email-form/validate.js' %}"></script>
<!-- Template Main JS File -->
<script src="{% static 'assets/js/main.js' %}"></script>
</body>
</html>