Browse Source

Gere mieux l'affichage du menu dropdown sur les petits ecrans

tests
Grizzly 8 years ago
parent
commit
f6b04a186a
  1. 4
      machines/templates/machines/aff_machines.html
  2. 5
      static/css/base.css

4
machines/templates/machines/aff_machines.html

@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endcomment %}
{% load acl %}
<div class="table-responsive">
{% if machines_list.paginator %}
{% include "pagination.html" with list=machines_list %}
@ -98,7 +99,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% can_delete interface %}
{% include 'buttons/suppr.html' with href='machines:del-interface' id=interface.id %}
{% acl_end %}
<ul class="dropdown-menu" aria-labelledby="editioninterface">
<ul class="dropdown-menu pull-right" aria-labelledby="editioninterface">
{% can_edit interface %}
<li>
<a href="{% url 'machines:edit-interface' interface.id %}">
@ -176,6 +177,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</table>
<script>
$("#machines_table").ready( function() {
var alias_div = [{% for machine in machines_list %}{% for interface in machine.interface_set.all %}{% if interface.domain.related_domain.all %}$("#collapseDomain_{{interface.id}}"), {% endif %}{% endfor %}{% endfor %}];

5
static/css/base.css

@ -91,3 +91,8 @@ footer a {
}
.row.content {height:auto;}
}
.table-responsive {
overflow-y: visible;
}

Loading…
Cancel
Save