[icinga-checkins] icinga.org: icinga-web/jmosshammer/default2: * OverallStatus Cronk renew 3

git at icinga.org git at icinga.org
Mon Jul 19 10:36:00 CEST 2010


Module: icinga-web
Branch: jmosshammer/default2
Commit: f0fb3a2d0fb7a3c69cbde283f31adc0f362f358a
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=f0fb3a2d0fb7a3c69cbde283f31adc0f362f358a

Author: Marius Hein <marius.hein at netways.de>
Date:   Tue Jun 15 15:44:23 2010 +0200

 * OverallStatus Cronk renew 3

---

 .../Cronks/templates/System/CronkPortalSuccess.php |    3 ++-
 .../templates/System/StatusOverallSuccess.php      |    9 ++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/app/modules/Cronks/templates/System/CronkPortalSuccess.php b/app/modules/Cronks/templates/System/CronkPortalSuccess.php
index b71aa7f..f52565f 100755
--- a/app/modules/Cronks/templates/System/CronkPortalSuccess.php
+++ b/app/modules/Cronks/templates/System/CronkPortalSuccess.php
@@ -17,8 +17,9 @@ Cronk.util.initEnvironment('viewport-center', function() {
 			region: 'north',
 			id: 'north-frame',
 			layout: 'column',
+			style: 'height: 50px;',
 			defaults: { border: false },
-			height: 200,
+			autoHeight: true,
 
 			items: [{
 				xtype: 'cronk',
diff --git a/app/modules/Cronks/templates/System/StatusOverallSuccess.php b/app/modules/Cronks/templates/System/StatusOverallSuccess.php
index 04a358a..ea34dd4 100644
--- a/app/modules/Cronks/templates/System/StatusOverallSuccess.php
+++ b/app/modules/Cronks/templates/System/StatusOverallSuccess.php
@@ -11,25 +11,24 @@ Cronk.util.initEnvironment("<?php echo $rd->getParameter('parentid'); ?>", funct
 	ds.load();
 
 	var p = new Ext.Panel({
-		title: 'LAOLA',
 		layout: 'fit',
 		width: 400,
-		height: 200,
+		height: 50,
 		items: [{
 			xtype: 'dataview',
 			store: ds,
 			autoHeight: true,
 			tpl: new Ext.XTemplate(
 				'<tpl for=".">',
-					'<tpl if="id==4">',
+					'<tpl if="id==5">',
 					'<div class="x-clear"></div>',
 					'</tpl>',
-
 					'<div class="icinga-overall-status-item" id="overall-status-{id}">',
 					'<span>({id})</span>',
 					'<span>{state}: </span>',
 					'<span>{count}</span></div>',
-				'</tpl>'
+				'</tpl>',
+				'<div class="x-clear"></div>'
 			)
 		}]
 	});





More information about the icinga-checkins mailing list