
{% load static %}
{% block content  %}


<body class="skin-blue">
    <div class="wrapper">
      
      <header class="main-header">
        <!-- Logo -->
        <a href="" class="logo" style="position:fixed"><b>{{employee_data.admin_name}}</b></a>
        
        <!-- 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">
                  <span class="hidden-xs" style="text-transform: capitalize;">{{employee_data.user_name}}</span>
                </a>
                <ul class="dropdown-menu">
                  <!-- User image -->
                  <li class="user-header">
                    {% if employee_data.image  %}
                        <img src="{{ employee_data.users_images  }}{{ employee_data.image }}" alt="Visitor Image" style="width: 100px; height: 97px;" class="img-circle">
                    {% else %}
                        <img src="{{employee_data.default_image}}" alt="Default Image" style="width: 100px; height: 97px;" class="img-circle">
                    {% endif %} 
                    {% comment %} <img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image" /> {% endcomment %}
                    <p style="text-transform: capitalize;">
                      {{employee_data.user_name}}
<!--                      <small>Member since Nov. 2012</small>-->
                    </p>
                  </li>
                  <!-- Menu Footer-->
                  <li class="user-footer">
                    <div class="pull-left">
                      <a href="{% url 'employee_edit' %}" class="btn btn-default btn-flat">Profile</a>
                    </div>
                    <div class="pull-right">
                      <a href="{% url 'employee_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" style="position:fixed">
        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
          <!-- Sidebar user panel -->
          <div class="user-panel">
            <div class="pull-left image">
              {% if employee_data.image %}
                  <img src="{{ employee_data.users_images }}{{ employee_data.image }}" alt="Visitor Image" style="width: 50px; height: 50px;" class="img-circle">
              {% else %}
                  <img src="{{employee_data.default_image}}" alt="Default Image" class="img-circle">
              {% endif %}
              {% comment %} <img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image" /> {% endcomment %}
            </div>
            <div class="pull-left info" style="text-transform: capitalize;">
              <p>{{employee_data.user_name}}</p>

              <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
            </div>
          </div>
          <!-- search form -->
          <!-- /.search form -->
          <!-- sidebar menu: : style can be found in sidebar.less -->
          
          <ul class="sidebar-menu">
            <li class="header">MAIN NAVIGATION</li>
            <li class="treeview {% if  'dashboard' in  request.path %}active{% endif %}">
              <a href="{%url 'employee_dashboard' %}">
                <i class="fa fa-dashboard"></i> <span>Dashboard</span>
              </a>
            </li>
            <li class="treeview active menu-open">
       

          <!-- Role Master Start -->
        <li class="treeview  menu-open {% if 'all_page' in  request.path or  'approve_reject' in request.path  %}active menu-open{% endif %}">
              <a href="#">
                <i class="fa fa-sitemap"></i> <span>Visitor</span>
                <span class="pull-right-container">
                  <i class="fa {% if  'all_page' in  request.path or  'approve_reject' in request.path %}fa-angle-down{% else %}fa-angle-left{% endif %} pull-right"></i>
                </span>
              </a>
              <ul class="treeview-menu {% if request.path == '/employee/visitor/all_page' or request.path == '/employee/visitor/approve_reject' %}active menu-open{% endif %}">
                <li class="{% if request.path == '/employee/visitor/all_page' %}active{% endif %}">
                  <a href="{% url 'employee_visitore_all_page' %}"><i class="fa fa-circle-o text-aqua"></i>Pending Request</a>
                </li>
                                  <li class="{% if request.path == '/employee/visitor/approve_reject' %}active{% endif %}">
                    <a href="{% url 'employee_visitore_approve_reject' %}"><i class="fa fa-circle-o text-aqua"></i> All Visitor Request</a>
                  </li>
                              </ul>
            </li>
            <li class="treeview {% if request.path == '/employee/visitor_send_invitations' %}active{% endif %}">
              <a href="{% url 'employee_visitore_send_invitations' %}">
                <i class="fa fa-edit"></i> <span>Send invitations</span>
              </a>
            </li>
            <li class="treeview {% if request.path == '/employee/user' or request.path == '/employee/user/new_appointment/4/' %}active{% endif %}">
              <a href="{% url 'employee_user' %}">
                <i class="fa fa-user"></i>  All Visitor<span></span>
              </a>
            </li>
           
          </ul>
          
        </section>
        <!-- /.sidebar -->
      </aside>
{% endblock content  %}