From c85035b58e1116a26c8cfeb820cece1936b2d0e4 Mon Sep 17 00:00:00 2001 From: Eric Riggs Date: Thu, 22 Feb 2018 16:07:17 -0400 Subject: [PATCH] - Improve the styling of the multiple object action form by controlling the top and bottom margins. - Equalize styling of the multiple object action form in the list items and item subtemplates. Signed-off-by: Eric Riggs --- .../generic_list_items_subtemplate.html | 2 +- .../appearance/generic_list_subtemplate.html | 27 ++++++++++--------- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/mayan/apps/appearance/templates/appearance/generic_list_items_subtemplate.html b/mayan/apps/appearance/templates/appearance/generic_list_items_subtemplate.html index 464cda3e57..ecc98c8079 100644 --- a/mayan/apps/appearance/templates/appearance/generic_list_items_subtemplate.html +++ b/mayan/apps/appearance/templates/appearance/generic_list_items_subtemplate.html @@ -39,7 +39,7 @@ {% get_multi_item_links_form object_list %} {% endif %} {% if multi_item_actions %} -
+
  {{ multi_item_form }}
diff --git a/mayan/apps/appearance/templates/appearance/generic_list_subtemplate.html b/mayan/apps/appearance/templates/appearance/generic_list_subtemplate.html index afa507de28..a73daab57a 100644 --- a/mayan/apps/appearance/templates/appearance/generic_list_subtemplate.html +++ b/mayan/apps/appearance/templates/appearance/generic_list_subtemplate.html @@ -20,19 +20,22 @@
+
+
+
+ {% if object_list %} + {% if not hide_multi_item_actions %} + {% get_multi_item_links_form object_list %} + {% endif %} + {% if multi_item_actions %} +
+ {{ multi_item_form }} +
+ {% endif %} + {% endif %} - - {% if object_list %} - {% if not hide_multi_item_actions %} - {% get_multi_item_links_form object_list %} - {% endif %} - {% if multi_item_actions %} -
- {{ multi_item_form }} -
- {% endif %} - {% endif %} - +
+
{% if scrollable_content %}
{% endif %}