mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-30 08:32:26 +00:00
Gere mieux l'affichage du menu dropdown sur les petits ecrans
This commit is contained in:
parent
56cf0688c6
commit
f6b04a186a
2 changed files with 9 additions and 2 deletions
|
@ -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 %}];
|
||||
|
|
|
@ -91,3 +91,8 @@ footer a {
|
|||
}
|
||||
.row.content {height:auto;}
|
||||
}
|
||||
|
||||
.table-responsive {
|
||||
overflow-y: visible;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue