[icinga-checkins] icinga.org: icinga-web/master: * Status map is now move and zoomable

git at icinga.org git at icinga.org
Mon Sep 20 17:59:47 CEST 2010


Module: icinga-web
Branch: master
Commit: 98137a5a92e20a95911c19ecd633bf762b99fe3a
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=98137a5a92e20a95911c19ecd633bf762b99fe3a

Author: jmosshammer <jmosshammer at ws-jmosshammer.(none)>
Date:   Mon Sep 20 16:38:45 2010 +0200

* Status map is now move and zoomable

---

 .../Cronks/templates/System/js/JitStatusMap.js     |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/app/modules/Cronks/templates/System/js/JitStatusMap.js b/app/modules/Cronks/templates/System/js/JitStatusMap.js
index 260a770..3b93ecd 100755
--- a/app/modules/Cronks/templates/System/js/JitStatusMap.js
+++ b/app/modules/Cronks/templates/System/js/JitStatusMap.js
@@ -81,6 +81,11 @@ function JitStatusMap (config) {
 					}
 				}
 			},
+			Navigation: {
+				enable: true,
+				panning: 'avoid nodes',
+				zooming: 20
+			},
 			onBeforeCompute: function(node){
 				JitLog.write(elementIds.jitLog, "centering " + node.name + "...");
 				document.getElementById(elementIds.jitDetails).innerHTML = node.data.relation;





More information about the icinga-checkins mailing list