Dashboard added in Admin Login : ps
This commit is contained in:
parent
fa31aed1c1
commit
1b01a0044c
22
application/views/dashboard.php
Normal file → Executable file
22
application/views/dashboard.php
Normal file → Executable file
@ -6,16 +6,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
.content-wrapper{
|
.HRMINHEIGHT {min-height: 950px !important;}
|
||||||
margin-left: 112px !important
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
<section class="content">
|
<section class="content">
|
||||||
<!-- 1 Dashboard for Account department -->
|
<!-- 1 Dashboard for Account department -->
|
||||||
<?php if ($DEPCode == FINANCE) { ?>
|
<?php if ($DEPCode == FINANCE) { ?>
|
||||||
<div class="content-wrapper">
|
|
||||||
<!-- Content Header (Page header) -->
|
<!-- Content Header (Page header) -->
|
||||||
<section class="content-header">
|
<section class="content-header">
|
||||||
<center>
|
<center>
|
||||||
@ -42,7 +40,7 @@
|
|||||||
</center>
|
</center>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</div>
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|
||||||
@ -77,7 +75,7 @@
|
|||||||
<?php
|
<?php
|
||||||
if ($DEPCode == HR) {
|
if ($DEPCode == HR) {
|
||||||
?>
|
?>
|
||||||
<div class="content-wrapper">
|
<div class="HRMINHEIGHT">
|
||||||
<!-- Content Header (Page header) -->
|
<!-- Content Header (Page header) -->
|
||||||
<section class="content-header">
|
<section class="content-header">
|
||||||
<center><h1> HR Department Dashboard</h1> </center>
|
<center><h1> HR Department Dashboard</h1> </center>
|
||||||
@ -624,7 +622,7 @@
|
|||||||
</center>
|
</center>
|
||||||
</section>
|
</section>
|
||||||
<!-- Main content -->
|
<!-- Main content -->
|
||||||
<section class="content">
|
<section class="content" style="min-height: 0px !important; padding: 0px !important;">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
||||||
@ -657,9 +655,9 @@
|
|||||||
|
|
||||||
<!-- Dashboard for Manager department-->
|
<!-- Dashboard for Manager department-->
|
||||||
<?php
|
<?php
|
||||||
if ($role == ROLE_MANAGER && $DEPCode != MANAGEMENT) {
|
if ($role == ROLE_MANAGER && $DEPCode != MANAGEMENT && $DEPCode != HR) {
|
||||||
?>
|
?>
|
||||||
<div class="content-wrapper">
|
|
||||||
<!-- Content Header (Page header) -->
|
<!-- Content Header (Page header) -->
|
||||||
<section class="content-header">
|
<section class="content-header">
|
||||||
<center>
|
<center>
|
||||||
@ -686,12 +684,12 @@
|
|||||||
</center>
|
</center>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($DEPCode == MANAGEMENT) {
|
if ($role == ROLE_ADMIN || $DEPCode == MANAGEMENT) {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user