From dec6b160a6e2ed8457a49cd4f9042973826a81b0 Mon Sep 17 00:00:00 2001 From: SimonGschnell Date: Fri, 26 Apr 2024 14:07:24 +0200 Subject: [PATCH] fixes the acceptLehrauftrag view with bootstrap5 and tabulator5 --- .../views/lehre/lehrauftrag/acceptLehrauftrag.php | 11 ++++++----- .../lehre/lehrauftrag/cancelledLehrauftragData.php | 1 + application/views/widgets/table/tableHelpsite.php | 2 +- public/js/TableWidget.js | 7 +++---- public/js/lehre/lehrauftrag/acceptLehrauftrag.js | 6 ++++-- 5 files changed, 15 insertions(+), 12 deletions(-) diff --git a/application/views/lehre/lehrauftrag/acceptLehrauftrag.php b/application/views/lehre/lehrauftrag/acceptLehrauftrag.php index 8c3312932..32f08679d 100644 --- a/application/views/lehre/lehrauftrag/acceptLehrauftrag.php +++ b/application/views/lehre/lehrauftrag/acceptLehrauftrag.php @@ -126,7 +126,8 @@ $this->load->view( ), array( 'name' => 'studiensemester', - 'id' => 'studiensemester' + 'id' => 'studiensemester', + 'class' => 'form-select w-auto ', ) ); ?> @@ -181,19 +182,19 @@ $this->load->view( -
+ -
+
diff --git a/application/views/lehre/lehrauftrag/cancelledLehrauftragData.php b/application/views/lehre/lehrauftrag/cancelledLehrauftragData.php index f446cae25..219bd7cc5 100644 --- a/application/views/lehre/lehrauftrag/cancelledLehrauftragData.php +++ b/application/views/lehre/lehrauftrag/cancelledLehrauftragData.php @@ -50,6 +50,7 @@ $query = ' $tableWidgetArray = array( 'query' => $query, + 'bootstrapVersion' => 5, 'tableUniqueId' => 'cancelledLehrauftrag', 'requiredPermissions' => 'lehre/lehrauftrag_akzeptieren', 'datasetRepresentation' => 'tabulator', diff --git a/application/views/widgets/table/tableHelpsite.php b/application/views/widgets/table/tableHelpsite.php index fa864c634..d0148ca35 100644 --- a/application/views/widgets/table/tableHelpsite.php +++ b/application/views/widgets/table/tableHelpsite.php @@ -1,7 +1,7 @@
- -
`; return tabulatorHeaderHTML; @@ -867,8 +866,8 @@ function _renderTabulatorHeaderCollapseHTML(
`; } else { - tabulatorHeaderCollapseHTML += `
-
+ tabulatorHeaderCollapseHTML += `
+