Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Frost2012-09-10 13:11:12 -0400
committerChristopher Frost2012-09-10 13:11:12 -0400
commita0b20d3ebb98b52a826c1ff43b07714fa46937ff (patch)
tree58177a1dc0edaf44229c3306a3dac142fee2a919 /org.eclipse.virgo.management.console
parentc3b6a2d0d580bb85738f7c45460e0beb50f86db9 (diff)
downloadorg.eclipse.virgo.kernel-a0b20d3ebb98b52a826c1ff43b07714fa46937ff.tar.gz
org.eclipse.virgo.kernel-a0b20d3ebb98b52a826c1ff43b07714fa46937ff.tar.xz
org.eclipse.virgo.kernel-a0b20d3ebb98b52a826c1ff43b07714fa46937ff.zip
388198 - Display a small spinner after clicking Create Dump on Dumps tab
Diffstat (limited to 'org.eclipse.virgo.management.console')
-rw-r--r--org.eclipse.virgo.management.console/src/main/webapp/js/common.js4
-rw-r--r--org.eclipse.virgo.management.console/src/main/webapp/js/dumps.js1
-rw-r--r--org.eclipse.virgo.management.console/src/main/webapp/styles/common.css15
3 files changed, 10 insertions, 10 deletions
diff --git a/org.eclipse.virgo.management.console/src/main/webapp/js/common.js b/org.eclipse.virgo.management.console/src/main/webapp/js/common.js
index d7c89d35..1d6dc77f 100644
--- a/org.eclipse.virgo.management.console/src/main/webapp/js/common.js
+++ b/org.eclipse.virgo.management.console/src/main/webapp/js/common.js
@@ -43,7 +43,7 @@ var Util = function(){
var spinnerElement = $('<div />');
self.spinner = spinnerElement.dialog({
modal: true,
- dialogClass: 'spinner-img',
+ dialogClass: 'spinner-large',
closeText: '',
draggable: false,
resizable: false,
@@ -74,7 +74,7 @@ var Util = function(){
self.started = true;
self.spinner.dialog('close');
self.spinner = undefined;
- $('.spinner-img').remove();
+ $('.spinner-large').remove();
}
};
diff --git a/org.eclipse.virgo.management.console/src/main/webapp/js/dumps.js b/org.eclipse.virgo.management.console/src/main/webapp/js/dumps.js
index f36eba44..63d5062e 100644
--- a/org.eclipse.virgo.management.console/src/main/webapp/js/dumps.js
+++ b/org.eclipse.virgo.management.console/src/main/webapp/js/dumps.js
@@ -184,6 +184,7 @@ var DumpViewer = function(){
self.displayDumps();
}
});
+ $('#dumps').append($('<div />', {'class' : 'spinner-small'}));
};
self.deleteDump = function(event){
diff --git a/org.eclipse.virgo.management.console/src/main/webapp/styles/common.css b/org.eclipse.virgo.management.console/src/main/webapp/styles/common.css
index 7baca804..21d279aa 100644
--- a/org.eclipse.virgo.management.console/src/main/webapp/styles/common.css
+++ b/org.eclipse.virgo.management.console/src/main/webapp/styles/common.css
@@ -209,16 +209,15 @@ a:active, a.active {
/*
* SPINNER STYLES
*/
-
-.spinner {
- opacity: 0.9;
- filter: alpha(opacity=90);
- -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=90);
- z-index: 999;
- background: #fff;
+
+.spinner-small {
+ background: url(../images/loader-small.gif) no-repeat;
+ width: 16px;
+ height: 16px;
+ margin: 0 auto;
}
-.spinner-img {
+.spinner-large {
background: url(../images/loader-large.gif) no-repeat;
width: 48px;
height: 48px;

Back to the top