-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
190 lines (183 loc) · 6.33 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
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
<link href='https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css' rel='stylesheet'>
<link rel = "stylesheet" href = "fontawesome-free-6.2.0-web/css/all.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="sidebar">
<div class="logo-details">
<i class="fa-regular fa-square-h"></i>
<span class="logo_name">HIS System</span>
</div>
<ul class="nav-links">
<li>
<a href="index.html" class="active">
<i class='bx bx-grid-alt' ></i>
<span class="links_name">Dashboard</span>
</a>
</li>
<li>
<a href="appointment.html" >
<i class="bx bx-calendar"></i>
<span class="links_name"> Appointment</span>
</a>
<li>
<a href="billing.html">
<i class="bx bx-calendar"></i>
<span class="links_name"> Billing</span>
</a>
<li>
<a href="outpatient.html">
<i class="fa-solid fa-stethoscope" ></i>
<span class="links_name"> OPD -Out Patient</span>
</a>
</li>
<li>
<a href="inpatient.html">
<i class='fas fa-procedures' ></i>
<span class="links_name">OPD -In Patient</span>
</a>
</li>
<li>
<a href="pathology.html">
<i class='bx bxs-flask' ></i>
<span class="links_name">Pathology</span>
</a>
</li>
<li>
<a href="pharmacy.html">
<i class="fa-solid fa-mortar-pestle"></i>
<span class="links_name">Pharmacy</span>
</a>
</li>
<li>
<a href="analysis.html">
<i class='bx bx-heart' ></i>
<span class="links_name">Analysis</span>
</a>
</li>
<li class="log_out">
<a href="#">
<i class='bx bx-log-out'></i>
<span class="links_name">Log out</span>
</a>
</li>
</ul>
</div>
<section class="home-section">
<nav>
<div class="sidebar-button">
<i class='bx bx-menu sidebarBtn'></i>
<span class="dashboard">Dashboard</span>
</div>
<div class="search-box">
<input type="text" placeholder="Search...">
<i class='bx bx-search' ></i>
</div>
<a href="#" class="nav-link">
<i class='bx bxs-bell icon' ></i>
<span class="badge">5</span>
</a>
<a href="#" class="nav-link">
<i class='bx bxs-message-square-dots icon' ></i>
<span class="badge">8</span>
</a>
<span class="divider"></span>
<div class="profile">
<img src="https://images.unsplash.com/photo-1517841905240-472988babdf9?ixid=MnwxMjA3fDB8MHxzZWFyY2h8NHx8cGVvcGxlfGVufDB8fDB8fA%3D%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="">
<ul class="profile-link">
<li><a href="#"><i class='bx bxs-user-circle icon' ></i> Profile</a></li>
<li><a href="#"><i class='bx bxs-cog' ></i> Settings</a></li>
<li><a href="#"><i class='bx bxs-log-out-circle' ></i> Logout</a></li>
</ul>
</div>
</nav>
<div class="home-content">
<div class="overview-boxes">
<div class="box">
<div class="right-side">
<div class="box-topic">Total Order</div>
<div class="number">40,876</div>
<div class="indicator">
<i class='bx bx-up-arrow-alt'></i>
<span class="text">Up from yesterday</span>
</div>
</div>
<i class='bx bx-cart-alt cart'></i>
</div>
<div class="box">
<div class="right-side">
<div class="box-topic">Total Sales</div>
<div class="number">38,876</div>
<div class="indicator">
<i class='bx bx-up-arrow-alt'></i>
<span class="text">Up from yesterday</span>
</div>
</div>
<i class='bx bxs-cart-add cart two' ></i>
</div>
<div class="box">
<div class="right-side">
<div class="box-topic">Total Profit</div>
<div class="number">$12,876</div>
<div class="indicator">
<i class='bx bx-up-arrow-alt'></i>
<span class="text">Up from yesterday</span>
</div>
</div>
<i class='bx bx-cart cart three' ></i>
</div>
<div class="box">
<div class="right-side">
<div class="box-topic">Total Return</div>
<div class="number">11,086</div>
<div class="indicator">
<i class='bx bx-down-arrow-alt down'></i>
<span class="text">Down From Today</span>
</div>
</div>
<i class='bx bxs-cart-download cart four' ></i>
</div>
</div>
<!-- MAIN -->
<main>
<div class="charts">
<div class="chart">
<h2>Earnings (past 12 months)</h2>
<div>
<canvas id="lineChart"></canvas>
</div>
</div>
<div class="chart doughnut-chart">
<h2>Employees</h2>
<div>
<canvas id="doughnut"></canvas>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- MAIN -->
</section>
<script>
let sidebar = document.querySelector(".sidebar");
let sidebarBtn = document.querySelector(".sidebarBtn");
sidebarBtn.onclick = function() {
sidebar.classList.toggle("active");
if(sidebar.classList.contains("active")){
sidebarBtn.classList.replace("bx-menu" ,"bx-menu-alt-right");
}else
sidebarBtn.classList.replace("bx-menu-alt-right", "bx-menu");
}
</script>
<script src="https://cdn.jsdelivr.net/npm/chart.js@3.5.1/dist/chart.min.js"></script>
<script src="chart1.js"></script>
<script src="chart2.js"></script>
<script src="script.js"></script>
</body>
</html>