From 54e6a99cc3c0ca65593a71a7e1b1aa0c6fab1749 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 8 Mar 2023 17:09:42 +0100 Subject: [PATCH] Dashboard pagination visual position --- pandora_console/include/styles/pandora.css | 3 +++ pandora_console/views/dashboard/listWidgets.php | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index f694d788c6..43e66868bd 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -7535,6 +7535,9 @@ div.graph div.legend table { .pdd_t_0px { padding-top: 0px; } +.pdd_t_0px_important { + padding-top: 0px !important; +} .pdd_t_3px { padding-top: 3px; diff --git a/pandora_console/views/dashboard/listWidgets.php b/pandora_console/views/dashboard/listWidgets.php index c7cac752f0..5ce90af8c7 100644 --- a/pandora_console/views/dashboard/listWidgets.php +++ b/pandora_console/views/dashboard/listWidgets.php @@ -48,6 +48,7 @@ $inputs = [ 'class' => 'search_input', 'autofocus' => true, ], + 'class' => 'pdd_t_0px_important', ], ]; @@ -58,9 +59,8 @@ HTML::printForm( ] ); -ui_pagination($total, '#', $offset, 9); -$output = '
'; +$output = '
'; foreach ($widgets as $widget) { $urlWidgets = $config['homedir']; @@ -97,3 +97,5 @@ foreach ($widgets as $widget) { $output .= '
'; echo $output; + +ui_pagination($total, '#', $offset, 9, false, 'offset', false, 'center mrgn_top_10px');