From 77a1f49e9b70ed8b4c94c5a1730300495af7cd84 Mon Sep 17 00:00:00 2001
From: Michael Kessler <michael.kessler@sgalinski.de>
Date: Fri, 8 Jul 2022 11:13:05 +0200
Subject: [PATCH] [TASK] Adjust pagination styling

---
 Resources/Private/Backend/Templates/Index.html | 8 +++++++-
 Resources/Public/StyleSheets/backend.css       | 9 +++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/Resources/Private/Backend/Templates/Index.html b/Resources/Private/Backend/Templates/Index.html
index 5a1b323b..6db31329 100644
--- a/Resources/Private/Backend/Templates/Index.html
+++ b/Resources/Private/Backend/Templates/Index.html
@@ -32,8 +32,14 @@
 					<div class="panel panel-default recordlist">
 						<div class="table-fit">
 							<table data-table="tx_sgjobs_domain_model_job" class="table table-striped table-hover">
+								<thead>
+									<tr>
+										<td colspan="3">
+											<f:render partial="Pagination" arguments="{pagination: pagination, paginator: paginator, actionName: 'index', currentPage: currentPage}"/>
+										</td>
+									</tr>
+								</thead>
 								<tbody>
-									<f:render partial="Pagination" arguments="{pagination: pagination, paginator: paginator, actionName: 'index', currentPage: currentPage}"/>
 									<f:for each="{paginator.paginatedItems}" as="job">
 										<tr data-uid="{job.uid}">
 											<td nowrap="nowrap" class="col-icon">
diff --git a/Resources/Public/StyleSheets/backend.css b/Resources/Public/StyleSheets/backend.css
index cb7b1604..719b9eed 100644
--- a/Resources/Public/StyleSheets/backend.css
+++ b/Resources/Public/StyleSheets/backend.css
@@ -116,3 +116,12 @@ a.accordion-header-toggle.collapsed .fa-caret-up {
 	margin-bottom: 5px;
 	clear: both;
 }
+
+.table > thead > tr,
+.table > thead > tr > td {
+	background-color: #ededed;
+}
+
+.pagination .paginator-input {
+	height: 26px;
+}
-- 
GitLab