-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
127 lines (126 loc) · 4.62 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Vactations System - Home</title>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<!-- Bootstrap CSS v5.2.1 -->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN"
crossorigin="anonymous"
/>
<!-- general styles have my defined class and the root values -->
<link rel="stylesheet" href="/styles/general.css" />
<!-- styles related to this page -->
<link rel="stylesheet" href="/styles/home.css" />
</head>
<body class="text-dark">
<header id="navbar-container" class="sticky-top"></header>
<main>
<section class="welcome-wrapper py-5">
<div
class="container d-flex flex-column flex-md-row text-center text-md-start align-items-center justify-content-between gap-4 gap-md-5"
>
<h1 class="text-capitalize fw-semibold fs-2 my-0 lh-base">
Welcome Back <span id="user-name">Hazem</span> Here are your latest
updates.
</h1>
<button
type="button"
name="new request"
id="new-request"
class="btn btn-main text-capitalize"
>
new request
</button>
</div>
</section>
<section class="profile-summary py-4">
<div class="container">
<div
class="row gy-4 text-capitalize justify-content-center align-items-stretch"
>
<div class="col-12 col-sm-12 col-xl-6"></div>
<div class="col-12 col-sm-6 col-xl-3">
<div
class="statistics text-light bg-main d-flex align-items-center justify-content-center gap-5 shadow p-4 rounded-4 h-100"
>
<div>
<i class="statistics__icon fa-solid fa-list-check"></i>
<span class="d-block text-center lh-sm mt-1"
>vacation <br />
requests</span
>
</div>
<span id="vacation-requests-number" class="">10</span>
</div>
</div>
<div class="col-12 col-sm-6 col-xl-3">
<div
class="statistics text-light bg-main d-flex align-items-center justify-content-center gap-5 shadow p-4 rounded-4 h-100"
>
<div>
<i class="statistics__icon fa-solid fa-list-check"></i>
<span class="d-block text-center lh-sm mt-1"
>leave <br />
requests</span
>
</div>
<span id="leave-requests-number" class="">10</span>
</div>
</div>
</div>
</div>
</section>
<section class="lates-news py-5">
<div class="container text-capitalize">
<h2 class="fs-4 fw-semibold mb-3">lates news:</h2>
<div
id="lates-news-carousel"
class="carousel slide"
data-bs-ride="carousel"
data-bs-interval="10000"
>
<div id="latest-news-carousel-inner" class="carousel-inner"></div>
<div
id="latest-news-carousel-indicators"
class="carousel-indicators position-relative mt-2"
></div>
</div>
</div>
</section>
<section id="vacation-requests-section" class="vacation-requests py-5">
<div class="container"></div>
</section>
</main>
<footer>
<!-- place footer here -->
</footer>
<!-- general script print the header and footer -->
<script type="module" src="/scripts/general.js"></script>
<!-- home script print the carsoul and footer -->
<script type="module" src="/scripts/home.js"></script>
<!-- font awesome icons libarary -->
<script
src="https://kit.fontawesome.com/6c455eb206.js"
crossorigin="anonymous"
></script>
<!-- Bootstrap JavaScript Libraries -->
<script
src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js"
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.min.js"
integrity="sha384-BBtl+eGJRgqQAUMxJ7pMwbEyER4l1g+O15P+16Ep7Q9Q+zqX6gSbd85u4mG4QzX+"
crossorigin="anonymous"
></script>
</body>
</html>