[icinga-checkins] icinga.org: dashing-icinga2/master: Update icinga2 dashboard override example

git at icinga.org git at icinga.org
Tue Jan 3 16:19:19 CET 2017


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

Author: Michael Friedrich <michael.friedrich at icinga.com>
Date:   Tue Jan  3 16:19:05 2017 +0100

Update icinga2 dashboard override example

---

 dashboards/icinga2.erb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dashboards/icinga2.erb b/dashboards/icinga2.erb
index ff8a679..ed09b26 100644
--- a/dashboards/icinga2.erb
+++ b/dashboards/icinga2.erb
@@ -2,8 +2,8 @@
 <script type='text/javascript'>
 $(function() {
   // These settings override the defaults set in application.coffee. You can do this on a per dashboard basis.
-  Dashing.widget_base_dimensions ||= [300, 420]
-  Dashing.numColumns ||= 6
+  Dashing.widget_base_dimensions = [300, 300]
+  Dashing.numColumns = 4
 });
 </script>
 -->



More information about the icinga-checkins mailing list