X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f1998474a491b131e79e8532a202f131238b7ef7..2d40a900768a7c962dc67a8b8bdc332f65fa110b:/project/templates/explorer/file_xml.html diff --git a/project/templates/explorer/file_xml.html b/project/templates/explorer/file_xml.html index 54583e57..53d536a1 100644 --- a/project/templates/explorer/file_xml.html +++ b/project/templates/explorer/file_xml.html @@ -17,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); } @@ -75,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) @@ -129,14 +129,14 @@ -
- Użytkownik: {{ form.user }} - Opis zmian: {{ form.commit_message }} - - Nie synchronizuj przewijania -
-#} + {# Użytkownik: {{ form.user }} #} + {# Opis zmian: {{ form.commit_message }} #} + {# #} + {# Nie synchronizuj przewijania #} + {#
#} + {#