2 {% load pipeline i18n %}
8 <head lang="{{ LANGUAGE_CODE }}">
9 <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
10 <link rel="icon" href="{{ STATIC_URL }}img/pr-icon.png" type="image/png" />
11 <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
12 {% stylesheet 'documents' %}
13 <title>{% block title %}{% block titleextra %}{% endblock %} ::
14 {% trans "Platforma Redakcyjna" %}{% endblock title %}</title>
15 {% block add_css %}{% endblock %}
18 <!--#include file='/pozor.html'-->
21 <nav class="navbar navbar-expand-md navbar-dark bg-dark">
22 <a class="navbar-brand" href="{% url 'documents_document_list' %}">
23 <img src="{% static "img/wl-orange.png" %}" alt="Platforma">
25 <ul class="navbar-nav mr-auto">
29 <ul class="navbar-nav">
31 {% get_alerts as alerts %}
33 <div class="nav-item dropdown">
34 <a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" title="Alert">
36 <span class="badge badge-danger">{{ alerts.count }}</span>
38 <div class="dropdown-menu dropdown-menu-right" style="max-width:400px; overflow: hidden;">
39 {% for alert in alerts.items %}
40 <a class="dropdown-item" href="{{ alert.book.get_absolute_url }}">
42 {{ alert.rule.description }}
43 {% if alert.comment %}
44 <br><small>{{ alert.comment }}</small>
51 {% include "registration/head_login.html" %}
55 <div class="container mt-4 mb-4">
58 <div class="col-lg-8">
59 {% block leftcolumn %}
60 {% endblock leftcolumn %}
62 <div class="col-lg-4">
63 {% block rightcolumn %}
64 {% endblock rightcolumn %}
67 {% endblock content %}
72 src="https://code.jquery.com/jquery-1.9.1.min.js"
73 integrity="sha256-wS9gmOZBqsqWxgIVgA8Y9WcQOa7PgSIX+rPA0VL2rbQ="
74 crossorigin="anonymous"></script>
75 <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
77 {% javascript 'documents' %}
78 {% block add_js %}{% endblock %}