[icinga-checkins] icinga.org: icingaweb2-module-elasticsearch/master: Fit fieldSelector widget besides pagination

git at icinga.org git at icinga.org
Thu Jun 30 17:08:10 CEST 2016


Module: icingaweb2-module-elasticsearch
Branch: master
Commit: dff19176e359949816538a6587408548206dc3c7
URL:    https://git.icinga.org/?p=icingaweb2-module-elasticsearch.git;a=commit;h=dff19176e359949816538a6587408548206dc3c7

Author: Markus Frosch <lazyfrosch at icinga.org>
Date:   Fri Jun  3 14:22:45 2016 +0200

Fit fieldSelector widget besides pagination

refs #11884

---

 application/views/scripts/event/search.phtml |    2 +-
 public/css/module.less                       |    7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/application/views/scripts/event/search.phtml b/application/views/scripts/event/search.phtml
index 1a3d318..05701d4 100644
--- a/application/views/scripts/event/search.phtml
+++ b/application/views/scripts/event/search.phtml
@@ -2,11 +2,11 @@
 <div class="controls">
     <?= $this->tabs ?>
     <?= $this->paginator; ?>
+    <?= $this->fieldSelector ?>
     <div class="sort-controls-container">
         <?= $this->limiter ?>
         <?= $this->sortBox ?>
     </div>
-    <?= $this->fieldSelector ?>
     <?= $this->filterEditor ?>
 </div>
 <?php endif ?>
diff --git a/public/css/module.less b/public/css/module.less
index d868fa7..5a433e0 100644
--- a/public/css/module.less
+++ b/public/css/module.less
@@ -72,13 +72,16 @@ table.event_detail {
 
 /* FieldSelector START */
 form.fieldSelector {
-  clear: both;
+  float: left;
+  line-height: 2em;
+  margin-bottom: 0.5em;
+  padding-left: 1em;
 
   input[name=fields] {
     background: transparent url("../img/icons/dashboard.png") no-repeat scroll 0.1em center;
     background-size: 1em 1em;
     padding-left: 1.5em;
-    width: 100%;
+    width: 35em;
   }
 }
 /* FieldSelector END */



More information about the icinga-checkins mailing list