8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-05 01:16:27 +00:00

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

This commit is contained in:
Grizzly 2018-06-03 15:53:19 +00:00
parent 56cf0688c6
commit f6b04a186a
2 changed files with 9 additions and 2 deletions

View file

@ -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 %}];

View file

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