1 {% extends "base.html" %}
2 {% load toolbar_tags %}
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>
13 {% block maincontent %}
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>
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>
21 <div style="clear: both"></div>
25 <div id="source-editor">
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 }}" />
33 <div id="simple-editor" style="display: none">
35 <button>Wstaw motyw</button> <button>Wstaw przypis</button>
36 <div class="toolbar-end"> </div>
38 <div id="html-view" class="htmlview">
42 <div class="vsplitbar"> </div>
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>
52 <div class="gallery-image">
57 <div id="save-dialog" style="display: none">
58 <label for="komentarz">Komentarz</label><input type="text" name="komentarz" value="" id="komentarz" />
59 <button id="save-ok">Zapisz</button>
60 <button id="save-cancel">Anuluj</button>