X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/08eafa7ea0680c755be43561ba599c7ebf3b0fff..3517c7fa3ec165a2650799a8d821d21116789c3b:/project/templates/explorer/file_xml.html?ds=sidebyside diff --git a/project/templates/explorer/file_xml.html b/project/templates/explorer/file_xml.html index c73f9d76..53d536a1 100644 --- a/project/templates/explorer/file_xml.html +++ b/project/templates/explorer/file_xml.html @@ -2,7 +2,6 @@ {% load toolbar_tags %} {% block extrahead %} - <script src="/static/js/jquery.fieldselection.js" type="text/javascript" charset="utf-8"></script> <script src="/static/js/jquery.lazyload.js" type="text/javascript" charset="utf-8"></script> <script src="/static/js/codemirror/codemirror.js" type="text/javascript" charset="utf-8"></script> <script src="/static/js/jquery.autoscroll.js" type="text/javascript" charset="utf-8"></script> @@ -18,9 +17,9 @@ function resizePanels() { $('iframe').width($(window).width() - $('#sidebar').outerWidth()); - $('iframe').height($(window).height() - $('#breadcrumbs').height() - $('toolbar').height()); - $('#toggle-sidebar').height($(window).height() - $('#breadcrumbs').height()); - $('#images-wrap').height($(window).height() - $('#breadcrumbs').height() - $('#sidebar-toolbar').height()) + $('iframe').height($(window).height() - $('iframe').position().top); + $('#toggle-sidebar').height($(window).height() - $('#toggle-sidebar').position().top); + $('#images-wrap').height($(window).height() - $('#images-wrap').position().top); $('#images-wrap, #sidebar-toolbar').width($('#sidebar').width() - 10); } @@ -76,7 +75,7 @@ keys[event.keyCode](); } }, function(event) { - return event.ctrlKey && keys[event.keyCode]; + return event.altKey && keys[event.keyCode]; }); $('#sidebar').bind('resizable:resize', resizePanels) @@ -130,14 +129,14 @@ <textarea id="id_text" name="text" width="480px">{{ form.text.field.initial }}</textarea> </div> - <div id="status-bar"> - {{ form.user.errors }} {{ form.commit_message.errors }} - <p> - Użytkownik: {{ form.user }} - Opis zmian: {{ form.commit_message }} - <input type="submit" value="Zapisz"/> - <a href="#" class="toggleAutoscroll" style="float: right">Nie synchronizuj przewijania</a> - </p> - </div> + {# <div id="status-bar"> #} + {# {{ form.user.errors }} {{ form.commit_message.errors }} #} + {# <p> #} + {# Użytkownik: {{ form.user }} #} + {# Opis zmian: {{ form.commit_message }} #} + {# <input type="submit" value="Zapisz"/> #} + {# <a href="#" class="toggleAutoscroll" style="float: right">Nie synchronizuj przewijania</a> #} + {# </p> #} + {# </div> #} </form> {% endblock maincontent %}