1 {% extends "base.html" %}
2 {% load toolbar_tags %}
3 {% block title %}{{ document.name }} - {{ block.super }}{% endblock %}
6 {% compressed_css 'detail' %}
10 <script type="text/javascript" charset="utf-8">
11 var STATIC_URL = '{{STATIC_URL}}';
13 <script src="{{STATIC_URL}}js/lib/codemirror/codemirror.js" type="text/javascript" charset="utf-8">
15 {% compressed_js 'detail' %}
17 {% block maincontent %}
18 <div id="loading-overlay">
19 <div id="loading-message">
20 <img src="{{STATIC_URL}}img/spinner.gif" />
27 <div id="document-meta"
28 data-document-name="{{ document.name }}" style="display:none">
30 {% for k, v in document_meta.items %}
31 <span data-key="{{ k }}">{{ v }}</span>
36 <h1><a href="{% url wiki.views.document_list %}">Platforma</a></h1>
38 <a href="{{ REDMINE_URL }}projects/wl-publikacje/wiki/Pomoc" target="_blank">Pomoc</a>
39 | {% include "registration/head_login.html" %}
40 | Wersja: <span id="document-revision">unknown</span>
42 <button style="margin-left: 6px" id="save-button">
47 <li id="SummaryPerspective"
48 data-ui-related="summary-view-editor"
49 data-ui-jsclass="SummaryPerspective">
50 <span>{{ document_meta.title }}</span>
53 <li id="VisualPerspective"
54 data-ui-related="simple-editor"
55 data-ui-jsclass="VisualPerspective">
59 <li id="HistoryPerspective"
60 data-ui-related="history-view-editor"
61 data-ui-jsclass="HistoryPerspective">
65 <li id="CodeMirrorPerspective"
66 data-ui-related="source-editor"
67 data-ui-jsclass="CodeMirrorPerspective">
68 <span>Kod źródłowy</span>
74 <div id="source-editor" class="editor">
76 <textarea id="codemirror_placeholder"><br/></textarea>
77 <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 }}" />
79 <div id="simple-editor" class="editor" style="display: none">
80 <div id="html-view" class="htmlview">
83 <button id="insert-theme-button">
86 <button id="insert-annotation-button">
89 <div class="toolbar-end">
93 {% include "wiki/history_view.html" %}
94 {% include "wiki/summary_view.html" %}
96 <div class="vsplitbar" title="Klinknij aby (ro)zwinąć galerię."> </div>
98 <div id="side-gallery">
99 <!-- gallery toolbar -->
100 <div class="toolbar">
101 <button class="previous-page">
102 <img src="{{STATIC_URL}}icons/go-previous.png" alt="Poprzednia" title="Poprzednia"/>
103 </button><input type="text" size="3" maxlength="3" value="1" class="page-number" />
104 <button class="next-page">
105 <img src="{{STATIC_URL}}icons/go-next.png" alt="Następna" title="Następna"/>
107 <button class="zoom-in">
110 <button class="zoom-out">
113 <div class="toolbar-end">
116 <div class="error_message"> </div>
117 <div class="gallery-image">
118 <img src="{{MEDIA_URL}}/images/empty.png" />
122 {% include "wiki/save_dialog.html" %}
123 {% include "wiki/tag_dialog.html" %}