[icinga-checkins] icinga.org: dashing-icinga2/master: Add more compact widget size

git at icinga.org git at icinga.org
Sun Oct 16 18:41:06 CEST 2016


Module: dashing-icinga2
Branch: master
Commit: 576dfa0a764d8e6344b6625903e14db5b9a11ebf
URL:    https://git.icinga.org/?p=dashing-icinga2.git;a=commit;h=576dfa0a764d8e6344b6625903e14db5b9a11ebf

Author: Michael Friedrich <michael.friedrich at icinga.com>
Date:   Sun Oct 16 18:40:19 2016 +0200

Add more compact widget size

---

 assets/javascripts/application.coffee |    2 +-
 dashboards/icinga2.erb                |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/assets/javascripts/application.coffee b/assets/javascripts/application.coffee
index ea441a8..a10541d 100644
--- a/assets/javascripts/application.coffee
+++ b/assets/javascripts/application.coffee
@@ -9,7 +9,7 @@ console.log("Yeah! The dashboard has started!")
 
 Dashing.on 'ready', ->
   Dashing.widget_margins ||= [5, 5]
-  Dashing.widget_base_dimensions ||= [300, 420]
+  Dashing.widget_base_dimensions ||= [300, 300]
   Dashing.numColumns ||= 6
 
   contentWidth = (Dashing.widget_base_dimensions[0] + Dashing.widget_margins[0] * 2) * Dashing.numColumns
diff --git a/dashboards/icinga2.erb b/dashboards/icinga2.erb
index 0cc1ba7..5cdff06 100644
--- a/dashboards/icinga2.erb
+++ b/dashboards/icinga2.erb
@@ -41,17 +41,17 @@ $(function() {
 
     <!-- Acknowledged -->
     <li data-row="3" data-col="1" data-sizex="1" data-sizey="1">
-      <div data-id="icinga-host-ack" data-view="Simplemon" data-title="Hosts Acknowledged"></div>
+      <div data-id="icinga-host-ack" data-view="Simplemon" data-title="Hosts Ack"></div>
     </li>
     <li data-row="3" data-col="2" data-sizex="1" data-sizey="1">
-      <div data-id="icinga-service-ack" data-view="Simplemon" data-title="Services Acknowledged"></div>
+      <div data-id="icinga-service-ack" data-view="Simplemon" data-title="Services Ack"></div>
     </li>
     <!-- Downtime -->
     <li data-row="3" data-col="3" data-sizex="1" data-sizey="1">
-      <div data-id="icinga-host-downtime" data-view="Simplemon" data-title="Hosts in Downtime"></div>
+      <div data-id="icinga-host-downtime" data-view="Simplemon" data-title="Hosts Downtime"></div>
     </li>
     <li data-row="3" data-col="4" data-sizex="1" data-sizey="1">
-      <div data-id="icinga-service-downtime" data-view="Simplemon" data-title="Services in Downtime"></div>
+      <div data-id="icinga-service-downtime" data-view="Simplemon" data-title="Services Downtime"></div>
     </li>
   </ul>
 



More information about the icinga-checkins mailing list