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">
10 <link rel="stylesheet" href="/wlxml/wl.css">
14 <script type="text/javascript">
15 var STATIC_URL = '{{STATIC_URL}}';
17 {% javascript 'detail' %}
19 src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"
20 integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU="
21 crossorigin="anonymous"></script>
24 {% block maincontent %}
25 <div id="document-meta"
26 data-chunk-id="{{ chunk.pk }}" style="display:none">
28 <span data-key="gallery">{{ chunk.book.gallery }}</span>
29 <span data-key="gallery-start">{% if chunk.gallery_start %}{{ chunk.gallery_start }}{% endif %}</span>
30 <span data-key="revision">{{ revision }}</span>
31 <span data-key="diff">{{ request.GET.diff }}</span>
33 {% block meta-extra %} {% endblock %}
36 <nav class="navbar navbar-expand-sm navbar-dark bg-dark" id="header">
37 <a class="navbar-brand" href="{% url 'documents_document_list' %}">
38 <img src="{% static 'img/wl-orange.png' %}" alt="Home" />
41 <ul class="tabs nav nav-tabs mr-auto" id="tabs">
42 {% block tabs-menu %}{% endblock %}
45 <ul class="tabs nav nav-tabs" id="tabs-right">
46 {% block tabs-right %}{% endblock %}
49 <div class='navbar-nav'>
50 <a class='nav-item nav-link' href="{{ REDMINE_URL }}projects/wl-publikacje/wiki/Pomoc" target="_blank">
51 {% trans "Help" %}</a>
55 {% include "registration/head_login.html" %}
56 {% block dialogs %} {% endblock %}
62 <span class="navbar-text">{% trans "Version" %}: <span id="document-revision">{% trans "Unknown" %}</span></span>
64 <button class='ml-2 nav-item btn btn-primary' id="save-button">{% trans "Save" %}</button>
65 <span id='save-attempt-info' class="navbar-text ml-2"><span class="alert alert-info">{% trans "Save attempt in progress" %}</span></span>
66 <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>
71 <div id="editor" class="{% block editor-class %} {% endblock %}">
72 {% block tabs-content %} {% endblock %}
74 {% block splitter-extra %} {% endblock %}