From b9e0a80479c8ee368242f5fad78560300a56c0b7 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 6 Aug 2015 12:50:17 +0200 Subject: [PATCH] EventHistory Overview: Show the load more link as button and centered refs #8615 --- .../application/views/scripts/list/eventhistory.phtml | 6 +++--- public/css/icinga/pagination.less | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/monitoring/application/views/scripts/list/eventhistory.phtml b/modules/monitoring/application/views/scripts/list/eventhistory.phtml index c414c859c..8cf9dadb9 100644 --- a/modules/monitoring/application/views/scripts/list/eventhistory.phtml +++ b/modules/monitoring/application/views/scripts/list/eventhistory.phtml @@ -117,7 +117,7 @@ if (! $this->compact): ?> ) ); ?> - qlink( +
qlink( $this->translate('Load More'), $url->setAnchor('page-' . ($page + 1)), array( @@ -125,9 +125,9 @@ if (! $this->compact): ?> ), array( 'id' => 'load-more', - 'class' => 'pull-right load-more' + 'class' => 'pull-right load-more button-like' ) - ); ?> + ); ?>
diff --git a/public/css/icinga/pagination.less b/public/css/icinga/pagination.less index a3a74c47c..35e0e7edd 100644 --- a/public/css/icinga/pagination.less +++ b/public/css/icinga/pagination.less @@ -70,4 +70,10 @@ a.show-more, a.load-more { a.load-more-hint { display: inline-block; margin-left: 1em; +} + +div.load-more-container { + display: table; + margin: 0 auto; + margin-top: 0.5em; } \ No newline at end of file