{% load staticfiles i18n %}
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{{ settings.CUSTOMER_NAME }} ProCatalog: {% block title %}{% endblock %}</title>
    <link href="{% static 'img/favicon.ico' %}" rel="shortcut icon" />
    <link rel="stylesheet" href="{% static 'css/uikit.min.css' %}" />
    <link rel="stylesheet" href="{% static 'css/main.css' %}">
    <script src="{% static 'js/uikit.min.js' %}"></script>
    <script src="{% static 'js/uikit-icons.min.js' %}"></script>
    <script src="{% static 'js/vue.js' %}"></script>
    {% block pagecss %}{% endblock %}
    {% block pagejs %}{% endblock %}
  </head>
  <body>
    {% include "nav.html" %}

    {% if messages %}
      <div class="messages">
        {% for message in messages %}
          <div class="uk-alert-primary {{ message.tags }}" uk-alert>
            <a class="uk-alert-close" uk-close></a>
              <p>{{ message }}</p>
          </div>
        {% endfor %}
      </div>
    {% endif %}

    {% block content %}
    {% endblock %}

{#    <script src="{% static 'app.js' %}"></script> #}
  </body>
</html>
