Przeniesienie nazwy utworu na pierwszy tab.
[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/jquery.blockui.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         <div id="header">
15             <div id="tools" style="float: right;">Wersja: <span id="document-revision">{{ document.revision }}</span> <button style="margin-left: 6px" id="save-button">Zapisz</button></div>
16             <h1>Platforma</h1>
17             <ol id="tabs">
18                 <li id="simple-view-tab"><span id="document-name">{{ document.name }}</span></li>
19                 <li id="source-view-tab" class="active">Kod źródłowy</li>
20             </ol>
21             <div style="clear: both"></div>
22         </div>
23         <div id="splitter">
24             <div id="editor">
25                 <div id="source-editor">
26                     {% toolbar %}
27                     {{ form.text }}
28                     <input type="hidden" name="name" value="{{ document.name }}" />
29                     <input type="hidden" name="author" value="annonymous" />
30                     <input type="hidden" name="comment" value="no comment" />
31                     <input type="hidden" name="revision" value="{{ document.revision }}" />
32                 </div>
33                 <div id="simple-editor" style="display: none">
34                     <div class="toolbar">
35                         <button>Wstaw motyw</button> <button>Wstaw przypis</button>
36                         <div class="toolbar-end"> </div>
37                     </div>
38                     <div id="html-view" class="htmlview">
39                     </div>
40                 </div>
41             </div>
42             <div class="vsplitbar"> </div>
43             <div id="sidebar">
44                 <div class="toolbar">
45                     <button class="previous-page">⇽ Poprzednia</button>
46                     <input type="text" size="3" maxlength="3" value="1" class="page-number" />
47                     <button class="next-page">Następna ⇾</button>
48                     <button class="zoom-in">Powiększ</button>
49                     <button class="zoom-out">Pomniejsz</button>
50                     <div class="toolbar-end"> </div>
51                 </div>
52                 <div class="gallery-image">
53                     <img src="" />
54                 </div>
55             </div>
56         </div>
57         <div id="save-dialog" style="display: none">
58             <p>Zapisywanie</p>
59             <label for="komentarz">Komentarz</label><input type="text" name="komentarz" value="" id="komentarz" />
60             <button id="save-ok">Ok</button>
61         </div>
62 {% endblock %}