From ffba0f8265bbe64e3f893a4c08299f7e9cdbffda Mon Sep 17 00:00:00 2001 From: Tom Teichler <tom.teichler@teckids.org> Date: Sat, 16 May 2020 17:16:08 +0200 Subject: [PATCH] Fix css classes in tables --- aleksis/core/tables.py | 4 ++-- aleksis/core/templates/core/person_full.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aleksis/core/tables.py b/aleksis/core/tables.py index 2f3afbc20..ff8fd871e 100644 --- a/aleksis/core/tables.py +++ b/aleksis/core/tables.py @@ -8,7 +8,7 @@ class PersonsTable(tables.Table): """Table to list persons.""" class Meta: - attrs = {"class": "table table-striped table-bordered table-hover table-responsive-xl"} + attrs = {"class": "responsive-table highlight"} first_name = tables.LinkColumn("person_by_id", args=[A("id")]) last_name = tables.LinkColumn("person_by_id", args=[A("id")]) @@ -18,7 +18,7 @@ class GroupsTable(tables.Table): """Table to list groups.""" class Meta: - attrs = {"class": "table table-striped table-bordered table-hover table-responsive-xl"} + attrs = {"class": "responsive-table highlight"} name = tables.LinkColumn("group_by_id", args=[A("id")]) short_name = tables.LinkColumn("group_by_id", args=[A("id")]) diff --git a/aleksis/core/templates/core/person_full.html b/aleksis/core/templates/core/person_full.html index f9937efb5..d676fd75d 100644 --- a/aleksis/core/templates/core/person_full.html +++ b/aleksis/core/templates/core/person_full.html @@ -44,7 +44,7 @@ {% endif %} </div> <div class="col s12 m8"> - <table class="table table-responsive-xl table-border table-striped"> + <table class="responsive-table highlight"> <tr> <td rowspan="6"> -- GitLab