From d271802500f56a62ff4d45d4972519230c50181e Mon Sep 17 00:00:00 2001 From: Lloyd Meins <git@lloydmeins.de> Date: Tue, 21 Dec 2021 16:30:11 +0100 Subject: [PATCH] Remove responsive tables --- CHANGELOG.rst | 5 +++++ aleksis/core/tables.py | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7c64235f8..c9846f023 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -23,6 +23,11 @@ Fixed * Imprint is now called "Imprint" and not "Impress". * Logo files weren't uploaded to public namespace. +Changed +~~~~~~~ + +* Modified the appearance of tables for mobile users to be more user friendly + Removed ~~~~~~~ diff --git a/aleksis/core/tables.py b/aleksis/core/tables.py index 8f0e0b93b..2557b126c 100644 --- a/aleksis/core/tables.py +++ b/aleksis/core/tables.py @@ -8,7 +8,7 @@ class SchoolTermTable(tables.Table): """Table to list persons.""" class Meta: - attrs = {"class": "responsive-table highlight"} + attrs = {"class": "highlight"} name = tables.LinkColumn("edit_school_term", args=[A("id")]) date_start = tables.Column() @@ -26,7 +26,7 @@ class PersonsTable(tables.Table): """Table to list persons.""" class Meta: - attrs = {"class": "responsive-table highlight"} + attrs = {"class": "highlight"} first_name = tables.LinkColumn("person_by_id", args=[A("id")]) last_name = tables.LinkColumn("person_by_id", args=[A("id")]) @@ -36,7 +36,7 @@ class GroupsTable(tables.Table): """Table to list groups.""" class Meta: - attrs = {"class": "responsive-table highlight"} + attrs = {"class": "highlight"} name = tables.LinkColumn("group_by_id", args=[A("id")]) short_name = tables.LinkColumn("group_by_id", args=[A("id")]) @@ -47,7 +47,7 @@ class AdditionalFieldsTable(tables.Table): """Table to list group types.""" class Meta: - attrs = {"class": "responsive-table hightlight"} + attrs = {"class": "hightlight"} title = tables.LinkColumn("edit_additional_field_by_id", args=[A("id")]) delete = tables.LinkColumn( @@ -63,7 +63,7 @@ class GroupTypesTable(tables.Table): """Table to list group types.""" class Meta: - attrs = {"class": "responsive-table highlight"} + attrs = {"class": "highlight"} name = tables.LinkColumn("edit_group_type_by_id", args=[A("id")]) description = tables.LinkColumn("edit_group_type_by_id", args=[A("id")]) @@ -76,7 +76,7 @@ class DashboardWidgetTable(tables.Table): """Table to list dashboard widgets.""" class Meta: - attrs = {"class": "responsive-table highlight"} + attrs = {"class": "highlight"} widget_name = tables.Column(accessor="pk") title = tables.LinkColumn("edit_dashboard_widget", args=[A("id")]) -- GitLab