214940e0a92aa6243b003bb6bfa405a07a8638a3
[redakcja.git] / src / wiki / templates / wiki / document_details.html
1 {% extends "wiki/document_details_base.html" %}
2 {% load i18n %}
3 {% load static %}
4
5 {% block extrabody %}
6   {{ block.super }}
7   <script src="{% static "js/lib/codemirror-5.49.0/codemirror.js" %}" type="text/javascript" charset="utf-8"></script>
8   <script src="{% static "js/lib/codemirror-5.49.0/xml.js" %}" type="text/javascript" charset="utf-8"></script>
9   <script src="{% static 'js/lib/codemirror-5.49.0/searchcursor.js' %}" type="text/javascript" charset="utf-8"></script>
10
11   <link rel="stylesheet" href="{% static "js/lib/codemirror-5.49.0/codemirror.css" %}">
12
13   <script src="{% static "js/wiki/loader.js" %}" type="text/javascript" charset="utf-8"> </script>
14   <script src="{% url 'wlxml_meta_tags' %}"></script>
15 {% endblock %}
16
17 {% block tabs-menu %}
18   {% include "wiki/tabs/summary_view_item.html" %}
19   {% include "wiki/tabs/wysiwyg_editor_item.html" %}
20   {% include "wiki/tabs/source_editor_item.html" %}
21   {% include "wiki/tabs/history_view_item.html" %}
22 {% endblock %}
23
24 {% block tools-menu %}
25   <div class="btn-group mr-auto">
26     <button id="undoBtn" class="btn btn-secondary" title="undo">↺</button>
27     <button id="redoBtn" class="btn btn-secondary" title="redo">↻</button>
28   </div>
29 {% endblock %}
30
31 {% block tabs-content %}
32   {% include "wiki/tabs/summary_view.html" %}
33   {% include "wiki/tabs/wysiwyg_editor.html" %}
34   {% include "wiki/tabs/source_editor.html" %}
35   {% include "wiki/tabs/history_view.html" %}
36 {% endblock %}
37
38 {% block tabs-right %}
39   {% include "wiki/tabs/gallery_view_item.html" %}
40   {% include "wiki/tabs/annotations_view_item.html" %}
41   {% include "wiki/tabs/properties_view_item.html" %}
42   {% include "wiki/tabs/search_view_item.html" %}
43 {% endblock %}
44
45 {% block splitter-extra %}
46   <div id="vsplitbar" class="vsplitbar" title="{% trans "Click to open/close gallery" %}">
47     <p class="vsplitbar-title"></p>
48   </div>
49   <div id="sidebar">
50     {% include "wiki/tabs/gallery_view.html" %}
51     {% include "wiki/tabs/annotations_view.html" %}
52     {% include "wiki/tabs/properties_view.html" %}
53     {% include "wiki/tabs/search_view.html" %}
54   </div>
55   <div id="drag-layer"></div>
56 {% endblock %}
57
58 {% block dialogs %}
59   {% include "wiki/save_dialog.html" %}
60   {% include "wiki/revert_dialog.html" %}
61   {% include "wiki/media_dialog.html" %}
62   {% include "wiki/gallery_dialog.html" %}
63   {% if can_pubmark %}
64     {% include "wiki/pubmark_dialog.html" %}
65   {% endif %}
66 {% endblock %}
67
68
69 {% block meta-extra %}
70   <span data-key="full-uri">{{ chunk.book.correct_about }}</span>
71 {% endblock %}