nav_left.blade.php 1.1 KB

1234567891011121314151617181920212223242526272829
  1. {{-- 后台左边导航栏 --}}
  2. <div class="col-md-3 left_col" style="z-index:50">
  3. <div class="left_col scroll-view">
  4. <div class="navbar nav_title" style="border: 0;">
  5. @if(app('auth')->user()->id <= 1)
  6. <a href="{{ route('admin.index') }}" class="site_title"><i class="fa fa-user"></i> <span>超级管理员</span></a>
  7. @else
  8. <a href="{{ route('admin.index') }}" class="site_title"><i class="fa fa-user"></i> <span>管理员</span></a>
  9. @endif
  10. </div>
  11. <div class="clearfix"></div>
  12. {{-- 管理员信息 --}}
  13. <div class="profile clearfix">
  14. <div class="profile_pic">
  15. <img src="{{ asset('img/photo.png') }}" alt="..." class="img-circle profile_img">
  16. </div>
  17. <div class="profile_info">
  18. <span>Welcome</span>
  19. <h2>{{ app('auth')->user()->name }}</h2>
  20. </div>
  21. </div>
  22. <br />
  23. {{-- 后台菜单导航栏 --}}
  24. @include('layouts.admin.menu')
  25. </div>
  26. </div>