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>Poprzednia strona</button> <button>Następna strona</button>
47 <input type="text" size="3" value="01" />
48 <div class="toolbar-end"> </div>
50 <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
51 <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>