{% extends "../layout.html" %}
{% load static %}
{% block menubutton %}<li><a class="getstarted scrollto" href="{% url 'logout' %}">Logout</a></li>{% endblock %}

{% block content %}
<main id="main" class="main">
  <div class="pagetitle">
    <h1>Employees Overview</h1>
  </div>
<section class="section ordersection">
  <div class="row">
      <div class="card">
        <div class="card-body">
          <h5 class="card-title">Orders</h5>
          <table class="table table-hover">
            <thead>
              <tr>
                <th scope="col">ID</th>
                <th scope="col">First Name</th>
                <th scope="col">Last Name</th>
                <th scope="col">Designation</th>
                <th scope="col">Supervisor ID</th>
                <th scope="col">Contact</th>
                <th scope="col">City</th>
                <th scope="col">State</th>
              </tr>
            </thead>
            <tbody>
              {% for employee in emp %}
                <tr style="cursor: pointer; cursor: hand;">
                  <th scope="row">{{ employee.EMP_ID }}</th>
                  <th scope="row">{{ employee.FIRSTNAME }}</th>
                  <th scope="row">{{ employee.LASTNAME }}</th>
                  <th scope="row">{{ employee.DESIGNATION }}</th>
                  <th scope="row">{{ employee.SUPERVISORID }}</th>
                  <th scope="row">{{ employee.CONTACT }}</th>
                  <th scope="row">{{ employee.CITY }}</th>
                  <th scope="row">{{ employee.SSTATE }}</th>
                </tr>
              {% endfor %}
            </tbody>
          </table>
          <!-- End Default Table Example -->
      </div>
    </div>
  </div>
</section>
</main>


{% endblock %}