2604cc61b0e1a00fea1b66969762f7e463c3edd0.php 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <aside class="main-sidebar">
  2. <!-- sidebar: style can be found in sidebar.less -->
  3. <section class="sidebar">
  4. <!-- Sidebar user panel (optional) -->
  5. <div class="user-panel">
  6. <div class="pull-left image">
  7. <img src="<?php echo e(Admin::user()->avatar, false); ?>" class="img-circle" alt="User Image">
  8. </div>
  9. <div class="pull-left info">
  10. <p><?php echo e(Admin::user()->name, false); ?></p>
  11. <!-- Status -->
  12. <a href="#"><i class="fa fa-circle text-success"></i> <?php echo e(trans('admin.online'), false); ?></a>
  13. </div>
  14. </div>
  15. <?php if(config('admin.enable_menu_search')): ?>
  16. <!-- search form (Optional) -->
  17. <form class="sidebar-form" style="overflow: initial;" onsubmit="return false;">
  18. <div class="input-group">
  19. <input type="text" autocomplete="off" class="form-control autocomplete" placeholder="Search...">
  20. <span class="input-group-btn">
  21. <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
  22. </button>
  23. </span>
  24. <ul class="dropdown-menu" role="menu" style="min-width: 210px;max-height: 300px;overflow: auto;">
  25. <?php $__currentLoopData = Admin::menuLinks(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $link): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  26. <li>
  27. <a href="<?php echo e(admin_url($link['uri']), false); ?>"><i class="fa <?php echo e($link['icon'], false); ?>"></i><?php echo e(admin_trans($link['title']), false); ?></a>
  28. </li>
  29. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  30. </ul>
  31. </div>
  32. </form>
  33. <!-- /.search form -->
  34. <?php endif; ?>
  35. <!-- Sidebar Menu -->
  36. <ul class="sidebar-menu">
  37. <li class="header"><?php echo e(trans('admin.menu'), false); ?></li>
  38. <?php echo $__env->renderEach('admin::partials.menu', Admin::menu(), 'item'); ?>
  39. </ul>
  40. <!-- /.sidebar-menu -->
  41. </section>
  42. <!-- /.sidebar -->
  43. </aside><?php /**PATH C:\phpstudy_pro\WWW\cydsyy-api\vendor\encore\laravel-admin\src/../resources/views/partials/sidebar.blade.php ENDPATH**/ ?>