Galeria z przeciąganiem obrazków.
[redakcja.git] / platforma / templates / wiki / document_details.html
1 {% extends "base.html" %}
2 {% load toolbar_tags %}
3
4 {% block extrahead %}
5     <link rel="stylesheet" href="{{STATIC_URL}}css/master.css" type="text/css" media="screen" charset="utf-8" />
6     <link rel="stylesheet" href="{{STATIC_URL}}css/html.css" type="text/css" media="screen" charset="utf-8" />
7     <script src="{{STATIC_URL}}js/lib/codemirror/codemirror.js" type="text/javascript" charset="utf-8"></script>
8     <script src="{{STATIC_URL}}js/lib/jquery.form.js" type="text/javascript" charset="utf-8"></script>
9     <script src="{{STATIC_URL}}js/button_scripts.js" type="text/javascript" charset="utf-8"></script>
10     <script src="{{STATIC_URL}}js/main.js" type="text/javascript" charset="utf-8"></script>
11 {% endblock %}
12
13 {% block maincontent %}
14     {# <form action="{% url wiki.views.document_detail document.name|urlencode %}" method="post" accept-charset="utf-8"> #}
15         <div id="header">
16             <div id="tools" style="float: right;">Wersja: {{ document.revision }}<button style="margin-left: 6px" id="save-button">Zapisz</button></div>
17             <h1>{{ document.name }}</h1>
18             <ol id="tabs">
19                 <li id="simple-view-tab">Widok prosty</li>
20                 <li id="source-view-tab" class="active">Widok zaawansowany</li>
21             </ol>
22             <div style="clear: both"></div>
23         </div>
24         <div id="splitter">
25             <div id="editor">
26                 <div id="source-editor">
27                     {% toolbar %}
28                     {{ form.text }}
29                     <input type="hidden" name="name" value="{{ document.name }}" />
30                     <input type="hidden" name="author" value="annonymous" />
31                     <input type="hidden" name="comment" value="no comment" />
32                     <input type="hidden" name="revision" value="{{ document.revision }}" />
33                 </div>
34                 <div id="simple-editor" style="display: none">
35                     <div class="toolbar">
36                         <button>Wstaw motyw</button> <button>Wstaw przypis</button>
37                         <div class="toolbar-end"> </div>
38                     </div>
39                     <div id="html-view" class="htmlview">
40                     </div>
41                 </div>
42             </div>
43             <div class="vsplitbar"> </div>
44             <div id="sidebar">
45                 <div class="toolbar">
46                     <button class="previous-page">⇽ Poprzednia</button>
47                     <input type="text" size="3" maxlength="3" value="1" class="page-number" />
48                     <button class="next-page">Następna ⇾</button>
49                     <div class="toolbar-end"> </div>
50                 </div>
51                 <div class="gallery-image">
52                     <img src="" />
53                 </div>
54             </div>
55         </div>
56     {# </form> #}
57 {% endblock %}