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>
|
||||
.content-wrapper{
|
||||
margin-left: 112px !important
|
||||
}
|
||||
<style>
|
||||
.HRMINHEIGHT {min-height: 950px !important;}
|
||||
</style>
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<!-- 1 Dashboard for Account department -->
|
||||
<?php if ($DEPCode == FINANCE) { ?>
|
||||
<div class="content-wrapper">
|
||||
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<center>
|
||||
@ -42,7 +40,7 @@
|
||||
</center>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
@ -77,7 +75,7 @@
|
||||
<?php
|
||||
if ($DEPCode == HR) {
|
||||
?>
|
||||
<div class="content-wrapper">
|
||||
<div class="HRMINHEIGHT">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<center><h1> HR Department Dashboard</h1> </center>
|
||||
@ -624,7 +622,7 @@
|
||||
</center>
|
||||
</section>
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<section class="content" style="min-height: 0px !important; padding: 0px !important;">
|
||||
<div class="row">
|
||||
|
||||
|
||||
@ -657,9 +655,9 @@
|
||||
|
||||
<!-- Dashboard for Manager department-->
|
||||
<?php
|
||||
if ($role == ROLE_MANAGER && $DEPCode != MANAGEMENT) {
|
||||
if ($role == ROLE_MANAGER && $DEPCode != MANAGEMENT && $DEPCode != HR) {
|
||||
?>
|
||||
<div class="content-wrapper">
|
||||
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<center>
|
||||
@ -686,12 +684,12 @@
|
||||
</center>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($DEPCode == MANAGEMENT) {
|
||||
if ($role == ROLE_ADMIN || $DEPCode == MANAGEMENT) {
|
||||
?>
|
||||
|
||||
<head>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user