X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/6da03c3c5f257a0123cd283469459668fd653fe4..c1cc36d07592b0f9c61a3c9ee89b28e6576c65d7:/platforma/templates/wiki/document_details.html?ds=sidebyside diff --git a/platforma/templates/wiki/document_details.html b/platforma/templates/wiki/document_details.html index 742566d3..e5c9d0c0 100644 --- a/platforma/templates/wiki/document_details.html +++ b/platforma/templates/wiki/document_details.html @@ -5,19 +5,18 @@ <link rel="stylesheet" href="{{STATIC_URL}}css/master.css" type="text/css" media="screen" charset="utf-8" /> <link rel="stylesheet" href="{{STATIC_URL}}css/html.css" type="text/css" media="screen" charset="utf-8" /> <script src="{{STATIC_URL}}js/lib/codemirror/codemirror.js" type="text/javascript" charset="utf-8"></script> - <script src="{{STATIC_URL}}js/lib/jquery.form.js" type="text/javascript" charset="utf-8"></script> + <script src="{{STATIC_URL}}js/jquery.blockui.js" type="text/javascript" charset="utf-8"></script> <script src="{{STATIC_URL}}js/button_scripts.js" type="text/javascript" charset="utf-8"></script> <script src="{{STATIC_URL}}js/main.js" type="text/javascript" charset="utf-8"></script> {% endblock %} {% block maincontent %} - <form action="{% url wiki.views.document_detail document.name|urlencode %}" method="post" accept-charset="utf-8"> <div id="header"> - <div id="tools" style="float: right;">Wersja: {{ document.revision }}<button style="margin-left: 6px" id="save-button">Zapisz</button></div> - <h1>{{ document.name }}</h1> + <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> + <h1>Platforma</h1> <ol id="tabs"> - <li id="simple-view-tab">Widok prosty</li> - <li id="source-view-tab" class="active">Widok zaawansowany</li> + <li id="simple-view-tab"><span id="document-name">{{ document.name }}</span></li> + <li id="source-view-tab" class="active">Kod źródÅowy</li> </ol> <div style="clear: both"></div> </div> @@ -42,9 +41,22 @@ </div> <div class="vsplitbar"> </div> <div id="sidebar"> - <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> - <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> + <div class="toolbar"> + <button class="previous-page">â½ Poprzednia</button> + <input type="text" size="3" maxlength="3" value="1" class="page-number" /> + <button class="next-page">NastÄpna â¾</button> + <button class="zoom-in">PowiÄksz</button> + <button class="zoom-out">Pomniejsz</button> + <div class="toolbar-end"> </div> + </div> + <div class="gallery-image"> + <img src="" /> + </div> </div> </div> - </form> + <div id="save-dialog" style="display: none"> + <label for="komentarz">Komentarz</label><input type="text" name="komentarz" value="" id="komentarz" /> + <button id="save-ok">Zapisz</button> + <button id="save-cancel">Anuluj</button> + </div> {% endblock %} \ No newline at end of file