1 {% extends "base.html" %}
2 {% load toolbar_tags i18n %}
5 {% block titleextra %}{% if chunk.pretty_title %}{{ chunk.pretty_title }}{% else %}{{ chunk.book.title }}{% endif %}{% endblock %}
8 {% stylesheet 'detail' %}
9 <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
13 <script type="text/javascript">
14 var STATIC_URL = '{{STATIC_URL}}';
16 {% javascript 'detail' %}
18 src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"
19 integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU="
20 crossorigin="anonymous"></script>
23 {% block maincontent %}
24 <div id="document-meta"
25 data-chunk-id="{{ chunk.pk }}" style="display:none">
27 <span data-key="gallery">{{ chunk.book.gallery }}</span>
28 <span data-key="gallery-start">{% if chunk.gallery_start %}{{ chunk.gallery_start }}{% endif %}</span>
29 <span data-key="revision">{{ revision }}</span>
30 <span data-key="diff">{{ request.GET.diff }}</span>
32 {% block meta-extra %} {% endblock %}
35 <nav class="navbar navbar-expand-sm navbar-dark bg-dark" id="header">
36 <a class="navbar-brand" href="{% url 'documents_document_list' %}">
37 <img src="{% static 'img/wl-orange.png' %}" alt="Home" />
40 <ul class="tabs nav nav-tabs mr-auto" id="tabs">
41 {% block tabs-menu %}{% endblock %}
44 <ul class="tabs nav nav-tabs" id="tabs-right">
45 {% block tabs-right %}{% endblock %}
48 <div class='navbar-nav'>
49 <a class='nav-item nav-link' href="{{ REDMINE_URL }}projects/wl-publikacje/wiki/Pomoc" target="_blank">
50 {% trans "Help" %}</a>
54 {% include "registration/head_login.html" %}
55 {% block dialogs %} {% endblock %}
61 <span class="navbar-text">{% trans "Version" %}: <span id="document-revision">{% trans "Unknown" %}</span></span>
63 <button class='ml-2 nav-item btn btn-primary' id="save-button">{% trans "Save" %}</button>
64 <span id='save-attempt-info' class="navbar-text ml-2"><span class="alert alert-info">{% trans "Save attempt in progress" %}</span></span>
65 <span id='out-of-date-info' class="navbar-text ml-2"><span class="alert alert-danger">{% trans "There is a newer version of this document!" %}</span></span>
70 <div id="editor" class="{% block editor-class %} {% endblock %}">
71 {% block tabs-content %} {% endblock %}
73 {% block splitter-extra %} {% endblock %}