commitall
This commit is contained in:
86
hostel/application/views/hms-admin/dashboard.php
Normal file
86
hostel/application/views/hms-admin/dashboard.php
Normal file
@ -0,0 +1,86 @@
|
||||
<div class="row dash-main-row">
|
||||
<div class="col-md-10 col-lg-10 p-0">
|
||||
<h3 class="dash-head">DashBoard</h3>
|
||||
<div class="dashboard-boxes">
|
||||
<div class=" dashboard-box">
|
||||
<img class="dash-img dash-student-img" src="<?php echo base_url(); ?>assets-hms/images/dashboard/students.png" alt="">
|
||||
<h3 class="dash-no"><?= $student_count ?></h3>
|
||||
<h6 class="dash-name">Total Students</h6>
|
||||
</div>
|
||||
<div class=" dashboard-box">
|
||||
<img class="dash-img dash-room-img" src="<?php echo base_url(); ?>assets-hms/images/dashboard/rooms.png" alt="">
|
||||
<h3 class="dash-no"><?= $room_count ?></h3>
|
||||
<h6 class="dash-name">Total Rooms</h6>
|
||||
</div>
|
||||
<div class=" dashboard-box">
|
||||
<img class="dash-img" src="<?php echo base_url(); ?>assets-hms/images/dashboard/bed.svg" alt="">
|
||||
<h3 class="dash-no"><?= $bed_count ?></h3>
|
||||
<h6 class="dash-name">Total Beds</h6>
|
||||
</div>
|
||||
<div class=" dashboard-box">
|
||||
<img class="dash-img" src="<?php echo base_url(); ?>assets-hms/images/dashboard/staff.svg" alt="">
|
||||
<h3 class="dash-no"><?= $staff_count ?></h3>
|
||||
<h6 class="dash-name">Total Staff</h6>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row dash-main-row">
|
||||
<div class="col-md-10 col-lg-10 p-0">
|
||||
<h3 class="dash-tab-head">Vacated Rooms</h3>
|
||||
<table class="table dash-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="dash-th">S.No</th>
|
||||
<th scope="col" class="dash-th">Block</th>
|
||||
<th scope="col" class="dash-th">Floor</th>
|
||||
<th scope="col" class="dash-th">Room</th>
|
||||
<th scope="col" class="dash-th">Bed no</th>
|
||||
<th scope="col" class="dash-th">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($beds_data as $key => $value) { ?>
|
||||
<tr>
|
||||
<td ><?= $key + 1 ?></td>
|
||||
<td><?= $value['block_name'] ?></td>
|
||||
<td><?= $value['floor_name'] ?></td>
|
||||
<td><?= $value['room_name'] ?></td>
|
||||
<td><?= $value['bed_name'] ?></td>
|
||||
<td><?= $value['room_ac'] ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script src="<?php echo base_url(); ?>assets-hms/js/jquery-3.4.1.min.js"></script>
|
||||
<script src="<?php echo base_url(); ?>assets-hms/js/popper.min.js"></script>
|
||||
<script src="<?php echo base_url(); ?>assets-hms/js/bootstrap.min.js"></script>
|
||||
<script defer src="<?php echo base_url(); ?>assets-hms/js/all.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
$(".mobileMenu , .hidesidebar").click(function(){
|
||||
$(".sideMenu").toggle();
|
||||
});
|
||||
|
||||
</script>
|
||||
<script>
|
||||
$('.logo-wrap').click(function() {
|
||||
window.location.href = '<?php echo base_url().'dashboard';?>';
|
||||
return false;
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user