{% extends 'base/base.html' %}

{% load static %}

{% block title %}Управление{% endblock %}

{% block heading %}Управление{% endblock %}

{% block extra_css %}
<link rel="stylesheet" href="{% static 'main/css/work.css' %}" xmlns="http://www.w3.org/1999/html">
{% endblock %}

{% block extra_scripts %}
{% endblock%}

{% block content %}
<div class="container-md">
  {% for message in messages %}
  <script>create_notification('{{message}}','','{{message.tags}}',2000)</script>
  {% endfor %}

  {% block form %}
  <form method="post">
    {% csrf_token %}
    <div class="row justify-content-center new-section">
      <div class="col-10">
        <h6 class="table-title">Список сотрудников</h6>

        {% block table %}
        <div id="table"></div>
        {% endblock %}
      </div>
    </div>
  </form>
  {% endblock %}

</div>

<script src="{% static 'main/js/control_page/dist/index_bundle.js' %}"></script>
{% endblock %}


