diff --git a/sapl/static/styles/app.scss b/sapl/static/styles/app.scss index f8980133e..099392fde 100644 --- a/sapl/static/styles/app.scss +++ b/sapl/static/styles/app.scss @@ -4,10 +4,13 @@ @import "home_index"; -html, body { +html { position: relative; min-height: 100%; } +body { + margin-bottom: 160px; +} h1, h2, h3, h4, h5, h6, form, dl, dt, dd, p, div, img, a { margin: 0; @@ -364,6 +367,9 @@ nav { background: #364347; color: white; text-align: center; + position: absolute; + width: 100%; + bottom: 0px; p { color: white; margin-top: 10px; @@ -406,6 +412,12 @@ nav { } @media (max-width: 991px) { + body { + margin: 0; + } + .footer { + position: relative; + } .caret { margin-left: 1px; } @@ -413,12 +425,6 @@ nav { padding-left: 4px; padding-right: 4px; } - .table{ - width: auto; - white-space: normal; - display:block; - overflow-x: auto; - } } @media (max-width: 767px) { @@ -448,6 +454,12 @@ nav { } } } + .table{ + width: auto; + white-space: normal; + display:block; + overflow-x: auto; + } } @media (min-width: 1092px) and (max-width: 1199px) { diff --git a/sapl/templates/comissoes/composicao_list.html b/sapl/templates/comissoes/composicao_list.html index 29071c85d..3f543b0c5 100644 --- a/sapl/templates/comissoes/composicao_list.html +++ b/sapl/templates/comissoes/composicao_list.html @@ -37,7 +37,9 @@ {% endif %} -
+ +
+
diff --git a/sapl/templates/crud/detail_detail.html b/sapl/templates/crud/detail_detail.html index b2312ec51..bddb962f0 100644 --- a/sapl/templates/crud/detail_detail.html +++ b/sapl/templates/crud/detail_detail.html @@ -63,14 +63,18 @@ {% endfor %} {% endfor %} {% endblock detail_content %} -
- {% if view.detail_set_create_url %} - - {% blocktrans with verbose_name=view.verbose_name_set %} Adicionar {{ verbose_name }} {% endblocktrans %} - - {% endif %} - {% block more_buttons %}{% endblock more_buttons %} -
+ +
+ {% if view.detail_set_create_url %} + + {% blocktrans with verbose_name=view.verbose_name_set %} Adicionar {{ verbose_name }} {% endblocktrans %} + + {% endif %} + {% block more_buttons %}{% endblock more_buttons %} +
+ +
+
{% if not rows %}

{{ NO_ENTRIES_MSG }}