From 15ac59268c3ebb29de47adf38ef8ff1471a2c4c9 Mon Sep 17 00:00:00 2001
From: Johannes Meyer <johannes.meyer@netways.de>
Date: Tue, 4 Aug 2015 15:25:01 +0200
Subject: [PATCH] Put a small margin around show more links

refs #6677
---
 .../monitoring/application/views/scripts/list/comments.phtml  | 2 +-
 .../monitoring/application/views/scripts/list/contacts.phtml  | 2 +-
 .../monitoring/application/views/scripts/list/downtimes.phtml | 2 +-
 .../application/views/scripts/list/eventhistory.phtml         | 2 +-
 .../application/views/scripts/list/hostgroups.phtml           | 2 +-
 modules/monitoring/application/views/scripts/list/hosts.phtml | 2 +-
 .../application/views/scripts/list/notifications.phtml        | 2 +-
 .../application/views/scripts/list/servicegroups.phtml        | 2 +-
 .../monitoring/application/views/scripts/list/services.phtml  | 2 +-
 public/css/icinga/pagination.less                             | 4 ++++
 10 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/modules/monitoring/application/views/scripts/list/comments.phtml b/modules/monitoring/application/views/scripts/list/comments.phtml
index ccd95fabf..3287f08e9 100644
--- a/modules/monitoring/application/views/scripts/list/comments.phtml
+++ b/modules/monitoring/application/views/scripts/list/comments.phtml
@@ -93,7 +93,7 @@
     null,
     array(
       'data-base-target'    => '_next',
-      'class'               => 'pull-right'
+      'class'               => 'pull-right show-more'
     )
   ); ?>
 <?php endif ?>
diff --git a/modules/monitoring/application/views/scripts/list/contacts.phtml b/modules/monitoring/application/views/scripts/list/contacts.phtml
index 211f0c649..3e10197fb 100644
--- a/modules/monitoring/application/views/scripts/list/contacts.phtml
+++ b/modules/monitoring/application/views/scripts/list/contacts.phtml
@@ -61,7 +61,7 @@
             null,
             array(
                 'data-base-target'  => '_next',
-                'class'             => 'pull-right'
+                'class'             => 'pull-right show-more'
             )
         ); ?>
     <?php endif ?>
diff --git a/modules/monitoring/application/views/scripts/list/downtimes.phtml b/modules/monitoring/application/views/scripts/list/downtimes.phtml
index 50afd18bd..7848efcd8 100644
--- a/modules/monitoring/application/views/scripts/list/downtimes.phtml
+++ b/modules/monitoring/application/views/scripts/list/downtimes.phtml
@@ -146,7 +146,7 @@ if (! $this->compact): ?>
     null,
     array(
       'data-base-target'    => '_next',
-      'class'               => 'pull-right'
+      'class'               => 'pull-right show-more'
     )
   ); ?>
 <?php endif ?>
diff --git a/modules/monitoring/application/views/scripts/list/eventhistory.phtml b/modules/monitoring/application/views/scripts/list/eventhistory.phtml
index d5bac69fb..47375c054 100644
--- a/modules/monitoring/application/views/scripts/list/eventhistory.phtml
+++ b/modules/monitoring/application/views/scripts/list/eventhistory.phtml
@@ -101,7 +101,7 @@ if (! $this->compact): ?>
     null,
     array(
       'data-base-target'    => '_next',
-      'class'               => 'pull-right'
+      'class'               => 'pull-right show-more'
     )
   ); ?>
 <?php endif ?>
diff --git a/modules/monitoring/application/views/scripts/list/hostgroups.phtml b/modules/monitoring/application/views/scripts/list/hostgroups.phtml
index 5c9eb7167..1e0b251ba 100644
--- a/modules/monitoring/application/views/scripts/list/hostgroups.phtml
+++ b/modules/monitoring/application/views/scripts/list/hostgroups.phtml
@@ -475,7 +475,7 @@ if ($h->hosts_down_unhandled) {
     null,
     array(
       'data-base-target'    => '_next',
-      'class'               => 'pull-right'
+      'class'               => 'pull-right show-more'
     )
   ); ?>
 <?php endif ?>
diff --git a/modules/monitoring/application/views/scripts/list/hosts.phtml b/modules/monitoring/application/views/scripts/list/hosts.phtml
index 4d9e2bbce..8938d5703 100644
--- a/modules/monitoring/application/views/scripts/list/hosts.phtml
+++ b/modules/monitoring/application/views/scripts/list/hosts.phtml
@@ -102,7 +102,7 @@ if (! $this->compact): ?>
     null,
     array(
       'data-base-target'    => '_next',
-      'class'               => 'pull-right'
+      'class'               => 'pull-right show-more'
     )
   ); ?>
 <?php endif ?>
diff --git a/modules/monitoring/application/views/scripts/list/notifications.phtml b/modules/monitoring/application/views/scripts/list/notifications.phtml
index 292faa577..30b3c5875 100644
--- a/modules/monitoring/application/views/scripts/list/notifications.phtml
+++ b/modules/monitoring/application/views/scripts/list/notifications.phtml
@@ -75,7 +75,7 @@ if (! $this->compact): ?>
     null,
     array(
       'data-base-target'    => '_next',
-      'class'               => 'pull-right'
+      'class'               => 'pull-right show-more'
     )
   ); ?>
 <?php endif ?>
diff --git a/modules/monitoring/application/views/scripts/list/servicegroups.phtml b/modules/monitoring/application/views/scripts/list/servicegroups.phtml
index 3ff3d112d..eab74364a 100644
--- a/modules/monitoring/application/views/scripts/list/servicegroups.phtml
+++ b/modules/monitoring/application/views/scripts/list/servicegroups.phtml
@@ -309,7 +309,7 @@ foreach ($servicegroups as $s): ?>
     null,
     array(
       'data-base-target'    => '_next',
-      'class'               => 'pull-right'
+      'class'               => 'pull-right show-more'
     )
   ); ?>
 <?php endif ?>
diff --git a/modules/monitoring/application/views/scripts/list/services.phtml b/modules/monitoring/application/views/scripts/list/services.phtml
index e21f3801e..b12e3176c 100644
--- a/modules/monitoring/application/views/scripts/list/services.phtml
+++ b/modules/monitoring/application/views/scripts/list/services.phtml
@@ -94,7 +94,7 @@ if (! $this->compact): ?>
     null,
     array(
       'data-base-target'    => '_next',
-      'class'               => 'pull-right'
+      'class'               => 'pull-right show-more'
     )
   ); ?>
 <?php endif ?>
diff --git a/public/css/icinga/pagination.less b/public/css/icinga/pagination.less
index 97acd31bc..b7dc6c606 100644
--- a/public/css/icinga/pagination.less
+++ b/public/css/icinga/pagination.less
@@ -62,3 +62,7 @@ ul.pagination {
   cursor: default;
 }
 
+a.show-more {
+  display: block;
+  margin: 0.5em;
+}
\ No newline at end of file