1 {% extends "base.html" %}
2 {% load toolbar_tags %}
3 {% block title %}{{ document.name }} - {{ block.super }}{% endblock %}
6 {% compressed_css 'detail' %}
9 <script type="text/javascript" charset="utf-8">
10 var STATIC_URL = '{{STATIC_URL}}';
12 <script src="{{STATIC_URL}}js/lib/codemirror/codemirror.js" type="text/javascript" charset="utf-8">
14 {% compressed_js 'detail' %}
16 {% block maincontent %}
17 <div id="loading-overlay">
18 <div id="loading-message">
19 <img src="{{STATIC_URL}}img/spinner.gif" />
26 <div id="document-meta"
27 data-document-name="{{ document.name }}" style="display:none">
29 {% for k, v in document_meta.items %}
30 <span data-key="{{ k }}">{{ v }}</span>
35 <h1><a href="{% url wiki.views.document_list %}">Platforma</a></h1>
37 <a href="{{ REDMINE_URL }}projects/wl-publikacje/wiki/Pomoc" target="_blank">Pomoc</a>
38 | {% include "registration/head_login.html" %}
39 | Wersja: <span id="document-revision">{{ document_info.revision }}</span>
41 <button style="margin-left: 6px" id="save-button">
47 <li id="SummaryPerspective-tab"
48 data-ui-related="summary-view-editor" data-ui-jsclass="SummaryPerspective">
49 <span>{{ document_meta.title }}</span>
52 <li id="VisualPerspective-tab"
53 data-ui-related="simple-editor" data-ui-jsclass="VisualPerspective">
57 <li id="HistoryPerspective-tab"
58 data-ui-related="history-view-editor"
59 data-ui-jsclass="HistoryPerspective">
63 <li id="CodeMirrorPerspective-tab"
64 data-ui-related="source-editor" data-ui-jsclass="CodeMirrorPerspective">
71 <div id="source-editor" class="editor">
73 <textarea id="codemirror_placeholder"><br/></textarea>
74 <input type="hidden" name="name" value="{{ document.name }}" /><input type="hidden" name="author" value="annonymous" /><input type="hidden" name="comment" value="no comment" /><input type="hidden" name="revision" value="{{ document_info.revision }}" />
76 <div id="simple-editor" class="editor" style="display: none">
77 <div id="html-view" class="htmlview">
80 <button id="insert-theme-button">
83 <button id="insert-annotation-button">
86 <div class="toolbar-end">
90 {% include "wiki/history_view.html" %}
91 {% include "wiki/summary_view.html" %}
93 <div class="vsplitbar" title="Klinknij aby (ro)zwinąć galerię."> </div>
95 <div id="side-gallery">
96 <!-- gallery toolbar -->
98 <button class="previous-page">
99 <img src="{{STATIC_URL}}icons/go-previous.png" alt="Poprzednia" title="Poprzednia"/>
100 </button><input type="text" size="3" maxlength="3" value="1" class="page-number" />
101 <button class="next-page">
102 <img src="{{STATIC_URL}}icons/go-next.png" alt="Następna" title="Następna"/>
104 <button class="zoom-in">
107 <button class="zoom-out">
110 <div class="toolbar-end">
113 <div class="error_message"> </div>
114 <div class="gallery-image">
115 <img src="{{MEDIA_URL}}/images/empty.png" />
119 {% include "wiki/save_dialog.html" %}