<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">
      <img src="{{ asset('admin-assets/dist/img/default-user-photo.png') }}" class="img-thumbnail" alt="{{ Auth::user()->username }} Image">
    </div>
    <div class="pull-left info">
      <p>{{ Auth::user()->username }}</p>
      <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
    </div>
  </div>
  <!-- sidebar menu: : style can be found in sidebar.less -->
  <ul class="sidebar-menu">
    <li><a href="{{ route('dashboard') }}"><i class="fa fa-circle-o"></i> <span>Dashboard</span></a></li>

    <li class="header">GENERAL</li>
    <li class="treeview @if (Route::currentRouteName() == 'website.list' || Route::currentRouteName() == 'bulk.upload' || Route::currentRouteName() == 'deletion-requests') active @endif">
      <a href="#">
        <i class="fa fa-link"></i> <span>Website</span> <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li @if (Route::currentRouteName() == 'website.list') class="active" @endif><a href="{{ route('website.list') }}"><i class="fa fa-circle-o"></i> Website List</a></li>
        <li @if (Route::currentRouteName() == 'bulk.upload') class="active" @endif><a href="{{ route('bulk.upload') }}"><i class="fa fa-circle-o"></i> Bulk Upload</a></li>
        <li @if (Route::currentRouteName() == 'deletion-requests') class="active" @endif><a href="{{ route('deletion-requests') }}"><i class="fa fa-circle-o"></i> Deletion Requests</a></li>
      </ul>
    </li>

    <li class="treeview @if (Route::currentRouteName() == 'pages' || Route::currentRouteName() == 'page.add' || Route::currentRouteName() == 'page.edit') active @endif">
      <a href="#">
        <i class="fa fa-book"></i> <span>Page</span> <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li @if (Route::currentRouteName() == 'pages') class="active" @endif><a href="{{ route('pages') }}"><i class="fa fa-circle-o"></i> Page List</a></li>
        <li @if (Route::currentRouteName() == 'page.add') class="active" @endif><a href="{{ route('page.add') }}"><i class="fa fa-circle-o"></i> Add Page</a></li>
      </ul>
    </li>

    <li class="treeview @if (Route::currentRouteName() == 'languages' || Route::currentRouteName() == 'language.add' || Route::currentRouteName() == 'language.edit') active @endif">
      <a href="#">
        <i class="fa fa-language"></i> <span>Language</span> <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li @if (Route::currentRouteName() == 'languages') class="active" @endif><a href="{{ route('languages') }}"><i class="fa fa-circle-o"></i> Language List</a></li>
        <li @if (Route::currentRouteName() == 'language.add') class="active" @endif><a href="{{ route('language.add') }}"><i class="fa fa-circle-o"></i> Add Language</a></li>
      </ul>
    </li>

    <li class="treeview @if (Route::currentRouteName() == 'administrators' || Route::currentRouteName() == 'administrator.add' || Route::currentRouteName() == 'administrator.edit') active @endif">
      <a href="#">
        <i class="fa fa-user"></i> <span>Administrator</span> <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li @if (Route::currentRouteName() == 'administrators') class="active" @endif><a href="{{ route('administrators') }}"><i class="fa fa-circle-o"></i> Administrator List</a></li>
        <li @if (Route::currentRouteName() == 'administrator.add') class="active" @endif><a href="{{ route('administrator.add') }}"><i class="fa fa-circle-o"></i> Add New Administrator</a></li>
      </ul>
    </li>

    <li class="treeview @if (Route::currentRouteName() == 'word.filter.all' || Route::currentRouteName() == 'word.filter.add') active @endif">
      <a href="#">
        <i class="fa fa-filter"></i> <span>Word Filter</span> <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li @if (Route::currentRouteName() == 'word.filter.all') class="active" @endif><a href="{{ route('word.filter.all') }}"><i class="fa fa-circle-o"></i> Word List</a></li>
        <li @if (Route::currentRouteName() == 'word.filter.add') class="active" @endif><a href="{{ route('word.filter.add') }}"><i class="fa fa-circle-o"></i> Add New Words</a></li>
      </ul>
    </li>

    <li @if (Route::currentRouteName() == 'comments') class="active" @endif><a href="{{ route('comments') }}"><i class="fa fa-comments"></i> <span>Comments</span></a></li>

    <li @if (Route::currentRouteName() == 'reports' || Route::currentRouteName() == 'report.show') class="active" @endif><a href="{{ route('reports') }}"><i class="fa fa-warning"></i> <span>Reports</span></a></li>
    <li @if (Route::currentRouteName() == 'contacts' || Route::currentRouteName() == 'contact.show') class="active" @endif><a href="{{ route('contacts') }}"><i class="fa fa-envelope-o"></i> <span>Contact Messages</span></a></li>

    <li class="header">SETTINGS</li>
    <li @if (Route::currentRouteName() == 'general.settings') class="active" @endif><a href="{{ route('general.settings') }}"><i class="fa fa-gear"></i> <span>General</span></a></li>
    <li @if (Route::currentRouteName() == 'layout.settings') class="active" @endif><a href="{{ route('layout.settings') }}"><i class="fa fa-bars"></i> <span>Layout</span></a></li>
    <li @if (Route::currentRouteName() == 'social.media.settings') class="active" @endif><a href="{{ route('social.media.settings') }}"><i class="fa fa-globe"></i> <span>Social Media</span></a></li>
    <li @if (Route::currentRouteName() == 'api.key.settings') class="active" @endif><a href="{{ route('api.key.settings') }}"><i class="fa fa-key"></i> <span>Api Keys</span></a></li>
    <li @if (Route::currentRouteName() == 'mail.settings') class="active" @endif><a href="{{ route('mail.settings') }}"><i class="fa fa-envelope"></i> <span>Mail</span></a></li>
    <li @if (Route::currentRouteName() == 'sitemap.settings') class="active" @endif><a href="{{ route('sitemap.settings') }}"><i class="fa fa-sitemap"></i> <span>Sitemap</span></a></li>
    <li @if (Route::currentRouteName() == 'comment.settings') class="active" @endif><a href="{{ route('comment.settings') }}"><i class="fa fa-comment"></i> <span>Comment</span></a></li>
    <li @if (Route::currentRouteName() == 'pagination.settings') class="active" @endif><a href="{{ route('pagination.settings') }}"><i class="fa fa-list"></i> <span>Pagination</span></a></li>
    <li @if (Route::currentRouteName() == 'cache.settings') class="active" @endif><a href="{{ route('cache.settings') }}"><i class="fa fa-clock-o"></i> <span>Cache</span></a></li>
    <li @if (Route::currentRouteName() =='ads.settings') class="active" @endif><a href="{{ route('ads.settings') }}"><i class="fa fa-code"></i> <span>Ads Management</span></a></li>

  </ul>
</section>
<!-- /.sidebar -->
</aside>