Commit f6b04a18 authored by Grizzly's avatar Grizzly

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

parent 56cf0688
......@@ -22,7 +22,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
{% endcomment %}
{% load acl %}
{% 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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment