Commit ec4c133a authored by Oky Rahmanto's avatar Oky Rahmanto
Browse files

Merge branch 'feature/login-admin-page-rev' into 'development'

Feature/login admin page rev

See merge request !25
parents 4eb3b84e 2d67e27a
Pipeline #23863 passed with stage
in 36 seconds
......@@ -69,96 +69,106 @@ defined('BASEPATH') OR exit('No direct script access allowed');
</a>
</li>
<?php
switch ($this->session->userdata('isLogin')){
case 1:?>
<li class="treeview">
<a href="#">
<i class="fa fa-folder"></i>
<span>Area Parkir & Rate</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
<li class="treeview">
<a href="#">
<i class="fa fa-folder"></i>
<span>Area Parkir & Rate</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li>
<a href="<?php echo base_url()?>master/rate">
<i class="fa fa-circle-o"></i>
Rate/Price
</a>
<ul class="treeview-menu">
<li>
<a href="<?php echo base_url()?>master/rate">
<i class="fa fa-circle-o"></i>
Rate/Price
</a>
</li>
<li>
<a href="<?php echo base_url()?>master/location">
<i class="fa fa-circle-o"></i>
Location
</a>
</li>
<li>
<a href="<?php echo base_url()?>master/zone">
<i class="fa fa-circle-o"></i>
Zone
</a>
</li>
<li>
<a href="<?php echo base_url()?>master/slot">
<i class="fa fa-circle-o"></i>
Slot
</a>
</li>
</ul>
</li>
<li class="treeview">
<a href="#">
<i class="fa fa-users"></i>
<span>User Management</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
<li>
<a href="<?php echo base_url()?>master/location">
<i class="fa fa-circle-o"></i>
Location
</a>
<ul class="treeview-menu">
<li>
<a href="<?php echo base_url()?>users/roleview">
<i class='fa fa-vcard'></i> <span>Role</span>
</a>
<li>
<a href="<?php echo base_url()?>users/userview">
<i class='fa fa-user'></i> <span>Users</span>
</a>
</li>
</ul>
</li>
<li>
<a href="#">
<i class='fa fa-money'></i> <span>Financial Reports</span>
<a href="<?php echo base_url()?>master/zone">
<i class="fa fa-circle-o"></i>
Zone
</a>
</li>
<li>
<a href="<?php echo base_url()?>master/slot">
<i class="fa fa-circle-o"></i>
Slot
</a>
</li>
<?php
break;
case 2:?>
</ul>
</li>
<li class="treeview">
<a href="#">
<i class="fa fa-users"></i>
<span>User Management</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li>
<a href="<?php echo base_url()?>users/roleview">
<i class='fa fa-vcard'></i> <span>Role</span>
</a>
<li>
<a href="<?php echo base_url()?>users/userview">
<i class='fa fa-user'></i> <span>Users</span>
</a>
</li>
</ul>
</li>
<li>
<a href="#">
<i class='fa fa-money'></i> <span>Financial Reports</span>
</a>
</li>
<li class="treeview">
<a href="#">
<i class="fa fa-users"></i>
<span>Petugas Parkir</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li>
<a href="#">
<i class='fa fa-money'></i> <span>View Available Slot</span>
<i class='fa fa-circle'></i> <span>View Available Slot</span>
</a>
</li>
<li>
<a href="#">
<i class='fa fa-money'></i> <span>Update Slot</span>
<i class='fa fa-circle'></i> <span>Update Slot</span>
</a>
</li>
<?php
break;
case 3:?>
</ul>
</li>
<li class="treeview">
<a href="#">
<i class="fa fa-users"></i>
<span>Kasir</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li>
<a href="#">
<i class='fa fa-money'></i> <span>Exit Parking</span>
</a>
</li>
<?php
break;
}?>
</ul>
</li>
</section>
<!-- /.sidebar -->
</aside>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment