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">unknown</span>
41 <button style="margin-left: 6px" id="save-button">
46 <li id="SummaryPerspective"
47 data-ui-related="summary-view-editor"
48 data-ui-jsclass="SummaryPerspective">
49 <span>{{ document_meta.title }}</span>
52 <li id="VisualPerspective"
53 data-ui-related="simple-editor"
54 data-ui-jsclass="VisualPerspective">
58 <li id="HistoryPerspective"
59 data-ui-related="history-view-editor"
60 data-ui-jsclass="HistoryPerspective">
64 <li id="CodeMirrorPerspective"
65 data-ui-related="source-editor"
66 data-ui-jsclass="CodeMirrorPerspective">
67 <span>Kod źródłowy</span>
73 <div id="source-editor" class="editor">
75 <textarea id="codemirror_placeholder"><br/></textarea>
76 <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 }}" />
78 <div id="simple-editor" class="editor" style="display: none">
79 <div id="html-view" class="htmlview">
82 <button id="insert-theme-button">
85 <button id="insert-annotation-button">
88 <div class="toolbar-end">
92 {% include "wiki/history_view.html" %}
93 {% include "wiki/summary_view.html" %}
95 <div class="vsplitbar" title="Klinknij aby (ro)zwinąć galerię."> </div>
97 <div id="side-gallery">
98 <!-- gallery toolbar -->
100 <button class="previous-page">
101 <img src="{{STATIC_URL}}icons/go-previous.png" alt="Poprzednia" title="Poprzednia"/>
102 </button><input type="text" size="3" maxlength="3" value="1" class="page-number" />
103 <button class="next-page">
104 <img src="{{STATIC_URL}}icons/go-next.png" alt="Następna" title="Następna"/>
106 <button class="zoom-in">
109 <button class="zoom-out">
112 <div class="toolbar-end">
115 <div class="error_message"> </div>
116 <div class="gallery-image">
117 <img src="{{MEDIA_URL}}/images/empty.png" />
121 {% include "wiki/save_dialog.html" %}
122 {% include "wiki/tag_dialog.html" %}