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/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>
13 {% block maincontent %}
14 {# <form action="{% url wiki.views.document_detail document.name|urlencode %}" method="post" accept-charset="utf-8"> #}
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>
19 <li id="simple-view-tab">Widok prosty</li>
20 <li id="source-view-tab" class="active">Widok zaawansowany</li>
22 <div style="clear: both"></div>
26 <div id="source-editor">
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 }}" />
34 <div id="simple-editor" style="display: none">
36 <button>Wstaw motyw</button> <button>Wstaw przypis</button>
37 <div class="toolbar-end"> </div>
39 <div id="html-view" class="htmlview">
43 <div class="vsplitbar"> </div>
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>
51 <div class="gallery-image">