init
This commit is contained in:
29
app/admin/view/public/left.html
Executable file
29
app/admin/view/public/left.html
Executable file
@@ -0,0 +1,29 @@
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<aside class="main-sidebar">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar">
|
||||
<!-- Sidebar user panel -->
|
||||
<div class="user-panel">
|
||||
<div class="pull-left image">
|
||||
<?php if($avatar):?>
|
||||
<img src="<?php echo $avatar;?>" class="img-circle" alt="User Image"/>
|
||||
<?php else:?>
|
||||
<img src="__PUBLIC__/adminlte/images/tool-160x160.jpg" class="img-circle" alt="User Image"/>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
<div class="pull-left info">
|
||||
<p><?php echo session('user_auth.username');?></p>
|
||||
<a href="#"><i class="fa fa-circle text-success"></i> 在线 </a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<?php echo $menu_list;?>
|
||||
</section>
|
||||
<!-- /.sidebar -->
|
||||
</aside>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("li[data-ctrl='<?php echo $controller;?>']").parent().parent('li.treeview').addClass('active');
|
||||
$("li[data-ctrl='<?php echo $controller;?>'][data-action='<?php echo $action;?>']").addClass('active');
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user