header.php changed
This commit is contained in:
parent
1c37a2bc61
commit
5a06c90c46
@ -75,7 +75,7 @@
|
||||
|
||||
|
||||
</head>
|
||||
<body class="skin-blue sidebar-mini">
|
||||
<body class="skin-blue sidebar-collapse">
|
||||
<div class="wrapper">
|
||||
|
||||
<header class="main-header">
|
||||
@ -89,54 +89,11 @@
|
||||
<!-- Header Navbar: style can be found in header.less -->
|
||||
<nav class="navbar navbar-static-top" role="navigation">
|
||||
<!-- Sidebar toggle button-->
|
||||
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
</a>
|
||||
|
||||
<div class="navbar-custom-menu">
|
||||
<ul class="nav navbar-nav">
|
||||
<!-- User Account: style can be found in dropdown.less -->
|
||||
<li class="dropdown user user-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<img src="<?php echo base_url(); ?>assets/dist/img/avatar.png" class="user-image" alt="User Image"/>
|
||||
<span class="hidden-xs"><?php echo $name; ?></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<!-- User image -->
|
||||
<li class="user-header">
|
||||
<img src="<?php echo base_url(); ?>assets/dist/img/avatar.png" class="img-circle" alt="User Image" />
|
||||
<p>
|
||||
<?php echo $name; ?>-<?php echo $role; ?>
|
||||
<small><?php echo $role_text; ?></small>
|
||||
</p>
|
||||
</li>
|
||||
<!-- Menu Footer-->
|
||||
<li class="user-footer">
|
||||
<div class="pull-left">
|
||||
<a href="<?php echo base_url(); ?>loadChangePass" class="btn btn-default btn-flat">Change Password</a>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<a href="<?php echo base_url(); ?>logout" class="btn btn-default btn-flat">Sign out</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<aside class="main-sidebar">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar">
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<ul class="sidebar-menu">
|
||||
<!--<li class="header">MAIN NAVIGATION</li>-->
|
||||
<!--<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>dashboard">
|
||||
<i class="fa fa-dashboard"></i> <span>Dashboard</span></i>
|
||||
</a>
|
||||
</li>-->
|
||||
<?php
|
||||
<?php
|
||||
if($role == ROLE_ADMIN)
|
||||
{
|
||||
?>
|
||||
@ -196,9 +153,9 @@
|
||||
</li>-->
|
||||
|
||||
<li class="treeview">
|
||||
<a href="rawmaterialListing" >
|
||||
<a href="<?php echo base_url(); ?>rawmaterialListing" >
|
||||
<i class="fa fa-files-o"></i>
|
||||
<span>RawMaterial</span>
|
||||
<span>Material Master</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php
|
||||
@ -222,7 +179,36 @@
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- /.sidebar -->
|
||||
</aside>
|
||||
<li class="dropdown user user-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<img src="<?php echo base_url(); ?>assets/dist/img/avatar.png" class="user-image" alt="User Image"/>
|
||||
<span class="hidden-xs"><?php echo $name; ?></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<!-- User image -->
|
||||
<li class="user-header">
|
||||
<img src="<?php echo base_url(); ?>assets/dist/img/avatar.png" class="img-circle" alt="User Image" />
|
||||
<p>
|
||||
<?php echo $name; ?>-<?php echo $role; ?>
|
||||
<small><?php echo $role_text; ?></small>
|
||||
</p>
|
||||
</li>
|
||||
<!-- Menu Footer-->
|
||||
<li class="user-footer">
|
||||
<div class="pull-left">
|
||||
<a href="<?php echo base_url(); ?>loadChangePass" class="btn btn-default btn-flat">Change Password</a>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<a href="<?php echo base_url(); ?>logout" class="btn btn-default btn-flat">Sign out</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
</div>
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue
Block a user