Browse Source

ajuste de front-end

pull/2287/head
Leandro Roberto 6 years ago
parent
commit
7ca93743d3
  1. 26
      sapl/static/styles/app.scss
  2. 4
      sapl/templates/comissoes/composicao_list.html
  3. 20
      sapl/templates/crud/detail_detail.html

26
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) {

4
sapl/templates/comissoes/composicao_list.html

@ -37,7 +37,9 @@
</a>
</div>
{% endif %}
<br />
<div class="clearfix"></div>
<div class="container-table">
<table class="table table-striped table-hover table-link-ordering">

20
sapl/templates/crud/detail_detail.html

@ -63,14 +63,18 @@
{% endfor %}
{% endfor %}
{% endblock detail_content %}
<div class="actions btn-group pull-right btn-group-lg" role="group">
{% if view.detail_set_create_url %}
<a href="{{ view.detail_set_create_url }}" class="btn btn-default">
{% blocktrans with verbose_name=view.verbose_name_set %} Adicionar {{ verbose_name }} {% endblocktrans %}
</a>
{% endif %}
{% block more_buttons %}{% endblock more_buttons %}
</div>
<div class="actions btn-group pull-right btn-group-lg" role="group">
{% if view.detail_set_create_url %}
<a href="{{ view.detail_set_create_url }}" class="btn btn-default">
{% blocktrans with verbose_name=view.verbose_name_set %} Adicionar {{ verbose_name }} {% endblocktrans %}
</a>
{% endif %}
{% block more_buttons %}{% endblock more_buttons %}
</div>
<div class="clearfix"></div>
<div class="container-table">
{% if not rows %}
<p>{{ NO_ENTRIES_MSG }}</p>

Loading…
Cancel
Save