Skip to content
Snippets Groups Projects
Verified Commit d2718025 authored by Lloyd Meins's avatar Lloyd Meins :thought_balloon: Committed by Tom Teichler
Browse files

Remove responsive tables

parent 2d6b28b1
No related branches found
No related tags found
1 merge request!838Removeresponsive tables for now
Pipeline #46880 passed with warnings
...@@ -23,6 +23,11 @@ Fixed ...@@ -23,6 +23,11 @@ Fixed
* Imprint is now called "Imprint" and not "Impress". * Imprint is now called "Imprint" and not "Impress".
* Logo files weren't uploaded to public namespace. * Logo files weren't uploaded to public namespace.
Changed
~~~~~~~
* Modified the appearance of tables for mobile users to be more user friendly
Removed Removed
~~~~~~~ ~~~~~~~
......
...@@ -8,7 +8,7 @@ class SchoolTermTable(tables.Table): ...@@ -8,7 +8,7 @@ class SchoolTermTable(tables.Table):
"""Table to list persons.""" """Table to list persons."""
class Meta: class Meta:
attrs = {"class": "responsive-table highlight"} attrs = {"class": "highlight"}
name = tables.LinkColumn("edit_school_term", args=[A("id")]) name = tables.LinkColumn("edit_school_term", args=[A("id")])
date_start = tables.Column() date_start = tables.Column()
...@@ -26,7 +26,7 @@ class PersonsTable(tables.Table): ...@@ -26,7 +26,7 @@ class PersonsTable(tables.Table):
"""Table to list persons.""" """Table to list persons."""
class Meta: class Meta:
attrs = {"class": "responsive-table highlight"} attrs = {"class": "highlight"}
first_name = tables.LinkColumn("person_by_id", args=[A("id")]) first_name = tables.LinkColumn("person_by_id", args=[A("id")])
last_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): ...@@ -36,7 +36,7 @@ class GroupsTable(tables.Table):
"""Table to list groups.""" """Table to list groups."""
class Meta: class Meta:
attrs = {"class": "responsive-table highlight"} attrs = {"class": "highlight"}
name = tables.LinkColumn("group_by_id", args=[A("id")]) name = tables.LinkColumn("group_by_id", args=[A("id")])
short_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): ...@@ -47,7 +47,7 @@ class AdditionalFieldsTable(tables.Table):
"""Table to list group types.""" """Table to list group types."""
class Meta: class Meta:
attrs = {"class": "responsive-table hightlight"} attrs = {"class": "hightlight"}
title = tables.LinkColumn("edit_additional_field_by_id", args=[A("id")]) title = tables.LinkColumn("edit_additional_field_by_id", args=[A("id")])
delete = tables.LinkColumn( delete = tables.LinkColumn(
...@@ -63,7 +63,7 @@ class GroupTypesTable(tables.Table): ...@@ -63,7 +63,7 @@ class GroupTypesTable(tables.Table):
"""Table to list group types.""" """Table to list group types."""
class Meta: class Meta:
attrs = {"class": "responsive-table highlight"} attrs = {"class": "highlight"}
name = tables.LinkColumn("edit_group_type_by_id", args=[A("id")]) name = tables.LinkColumn("edit_group_type_by_id", args=[A("id")])
description = 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): ...@@ -76,7 +76,7 @@ class DashboardWidgetTable(tables.Table):
"""Table to list dashboard widgets.""" """Table to list dashboard widgets."""
class Meta: class Meta:
attrs = {"class": "responsive-table highlight"} attrs = {"class": "highlight"}
widget_name = tables.Column(accessor="pk") widget_name = tables.Column(accessor="pk")
title = tables.LinkColumn("edit_dashboard_widget", args=[A("id")]) title = tables.LinkColumn("edit_dashboard_widget", args=[A("id")])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment