[icinga-checkins] icinga.org: icinga-web/jmosshammer/default: * Added bottom space

git at icinga.org git at icinga.org
Sun Mar 20 11:26:09 CET 2011


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

Author: Marius Hein <marius.hein at netways.de>
Date:   Mon Feb 14 09:36:16 2011 +0100

* Added bottom space
* Removed submenu from save cronk entry

---

 app/modules/Cronks/lib/js/Tabhelper.js             |   22 +++++++++----------
 .../Cronks/templates/System/CronkPortalSuccess.php |    2 +-
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/app/modules/Cronks/lib/js/Tabhelper.js b/app/modules/Cronks/lib/js/Tabhelper.js
index 1c907b5..0542b08 100755
--- a/app/modules/Cronks/lib/js/Tabhelper.js
+++ b/app/modules/Cronks/lib/js/Tabhelper.js
@@ -168,18 +168,16 @@ Cronk.util.CronkTabHelper = Ext.extend(Object, {
 						ctxItem.getUpdater().refresh();
 					}
 				}, {
-					text: _("Settings"),
-					iconCls: 'icinga-icon-cog',
-					menu: [{
-						text: _("Save Cronk"),
-						tooltip: _("Save this view as new cronk"),
-						iconCls: 'icinga-icon-star-plus',
-						handler: function() {
-							var cb = Cronk.util.CronkBuilder.getInstance();
-							cb.show(this.getEl());
-							cb.setCurrentCronkId(ctxItem.getId());
-						}
-					}]
+					xtype: 'seperator'
+				}, {
+					text: _("Save Cronk"),
+					tooltip: _("Save this view as new cronk"),
+					iconCls: 'icinga-icon-star-plus',
+					handler: function() {
+						var cb = Cronk.util.CronkBuilder.getInstance();
+						cb.show(this.getEl());
+						cb.setCurrentCronkId(ctxItem.getId());
+					}
 				}]
 			});
 		}
diff --git a/app/modules/Cronks/templates/System/CronkPortalSuccess.php b/app/modules/Cronks/templates/System/CronkPortalSuccess.php
index 03c3fd5..d083ab2 100755
--- a/app/modules/Cronks/templates/System/CronkPortalSuccess.php
+++ b/app/modules/Cronks/templates/System/CronkPortalSuccess.php
@@ -11,7 +11,7 @@ Cronk.util.initEnvironment('viewport-center', function() {
 		id: 'view-container',
 		
 		defaults: { border: false, layout: 'fit' },
-		style: { padding: '0px 5px 0px 5px' },
+		style: { padding: '0px 5px 5px 5px' },
 		
 		items: [{
 			region: 'north',





More information about the icinga-checkins mailing list