From: zuber Date: Fri, 21 Aug 2009 08:01:43 +0000 (+0200) Subject: Merge branch 'master' of git@stigma.nowoczesnapolska.org.pl:platforma X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/4708236959fbdf64a236fd2c1faa80cf1b98831e?hp=0e81def27bfaa36288143d1ff4c325164d4d2f10 Merge branch 'master' of git@stigma.nowoczesnapolska.org.pl:platforma --- diff --git a/apps/toolbar/templates/toolbar/toolbar.html b/apps/toolbar/templates/toolbar/toolbar.html index dcc64a95..c508929f 100644 --- a/apps/toolbar/templates/toolbar/toolbar.html +++ b/apps/toolbar/templates/toolbar/toolbar.html @@ -10,7 +10,7 @@ {% for group in groups %}
    {% for button in group.button_set.all %} -
  1. {{ button.label }}
  2. +
  3. {{ button.label }}
  4. {% endfor %}
{% endfor %} diff --git a/project/static/css/master.css b/project/static/css/master.css index 1efa2d66..1a726a81 100644 --- a/project/static/css/master.css +++ b/project/static/css/master.css @@ -5,7 +5,7 @@ body { } #breadcrumbs { - padding: 5px 10px; + padding: 2px 10px; background-color: #CDCDCD; border-bottom: 1px solid #858585; } @@ -133,32 +133,28 @@ p { border-top: 1px solid #DDD; } -#toolbar, #toolbar ol { - display: block; - margin: 0; - padding: 0; - background-color: #CCC; - border-top: 1px solid #AAA; -} - #toolbar { + height: 48px; overflow: hidden; - width: 400%; } -#sidebar-toolbar, #sidebar-toolbar ol { - overflow: hidden; +#toolbar, #toolbar ol, #sidebar-toolbar, #sidebar-toolbar ol { +/* overflow: hidden;*/ display: block; margin: 0; padding: 0; background-color: #CCC; - border-bottom: 1px solid #AAA; + border-top: 1px solid #AAA; } #sidebar-toolbar { width: 0; } +#sidebar-toolbar, #sidebar-toolbar ol { + overflow: hidden; +} + #sidebar-tabs li, #toolbar-tabs li { font-size: 14px; display: block; 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 @@ -
- {{ form.user.errors }} {{ form.commit_message.errors }} -

- Użytkownik: {{ form.user }} - Opis zmian: {{ form.commit_message }} - - Nie synchronizuj przewijania -

-
+ {#
#} + {# {{ form.user.errors }} {{ form.commit_message.errors }} #} + {#

#} + {# Użytkownik: {{ form.user }} #} + {# Opis zmian: {{ form.commit_message }} #} + {# #} + {# Nie synchronizuj przewijania #} + {#

#} + {#
#} {% endblock maincontent %}