diff --git a/sigiStatic/css/base_site.css b/sigiStatic/css/base_site.css index 10bf99c..fca9867 100644 --- a/sigiStatic/css/base_site.css +++ b/sigiStatic/css/base_site.css @@ -207,7 +207,7 @@ div#footer a { .conteudo_regiao li{ border: 1px solid #CCC; - background-image: url("../../static/admin/img/nav-bg.gif"); + background-image: url("../../static/admin/img/nav-bg.gif"); padding: 4px 8px; width: 30%; list-style: none; @@ -227,13 +227,13 @@ div#footer a { display: inline-block; margin: 0 0.5em 0 0; height: 18px; - width: 18px; + width: 18px; } .titlemapbox { display: inline-block; margin-bottom: 0.6em; - width: 100%; + width: 100%; } .mapbox { @@ -248,4 +248,8 @@ div#footer a { #user-tools { position: inherit; -} \ No newline at end of file +} + +.actions { + padding: 0 0 10px 16px; +} diff --git a/templates/admin/actions.html b/templates/admin/actions.html new file mode 100644 index 0000000..7acf73e --- /dev/null +++ b/templates/admin/actions.html @@ -0,0 +1,16 @@ +{% load i18n %} +
+ {% for field in action_form %}{% if field.label %}{{ field.label }} {% endif %}{{ field }}{% endfor %} + + {% if actions_selection_counter %} + + {{ selection_note }} + {% if cl.result_count != cl.result_list|length %} + {{ selection_note_all }} + + {% blocktrans with cl.result_count as total_count %}Select all {{ total_count }} {{ module_name }}{% endblocktrans %} + + {% trans "Clear selection" %} + {% endif %} + {% endif %} +
diff --git a/templates/admin/change_list.html b/templates/admin/change_list.html index 3cd975d..5dbbabb 100644 --- a/templates/admin/change_list.html +++ b/templates/admin/change_list.html @@ -60,6 +60,7 @@ {% endif %} {% block search %}{% search_form cl %}{% endblock %} + {% endblock %} {% block content %} @@ -80,7 +81,7 @@ {% endwith %} {% if action_form and actions_on_top and cl.full_result_count %} -
{% admin_actions %}
+
{% admin_actions %}
{% endif %}