make all tables responsive

This commit is contained in:
Andreas Zweili 2020-08-03 21:10:05 +02:00
parent 980c03e666
commit 746054c295
7 changed files with 21 additions and 7 deletions

View File

@ -2,5 +2,7 @@
{% load render_table from django_tables2 %}
{% block section_title %}List of Backups{% endblock %}
{% block content %}
{% render_table backups %}
<div class="table-responsive">
{% render_table backups %}
</div>
{% endblock %}

View File

@ -11,5 +11,7 @@
<input type="submit" value="Filter" class="btn btn-primary">
</form>
</p>
{% render_table table %}
<div class="table-responsive">
{% render_table table %}
</div>
{% endblock %}

View File

@ -13,7 +13,9 @@
{% endif %}
<div class="row">
<div class="col">
{% render_table customers %}
<div class="table-responsive">
{% render_table customers %}
</div>
</div>
</div>

View File

@ -11,7 +11,9 @@
</div>
<div class="row">
<div class="col">
{% render_table devices %}
<div class="table-responsive">
{% render_table devices %}
</div>
</div>
</div>
{% endblock %}

View File

@ -5,5 +5,7 @@
<h3>User Licenses</h3>
{% render_table user_licenses %}
<h3>Computer Licenses</h3>
{% render_table computer_licenses %}
<div class="table-responsive">
{% render_table computer_licenses %}
</div>
{% endblock %}

View File

@ -2,5 +2,7 @@
{% load render_table from django_tables2 %}
{% block section_title %}List of Nets{% endblock %}
{% block content %}
{% render_table nets %}
<div class="table-responsive">
{% render_table nets %}
</div>
{% endblock %}

View File

@ -2,5 +2,7 @@
{% load render_table from django_tables2 %}
{% block section_title %}Users{% endblock %}
{% block content %}
{% render_table users %}
<div class="table-responsive">
{% render_table users %}
</div>
{% endblock %}