forked from 0x2620/pandora
add loading indication to statistics dialog
This commit is contained in:
parent
a2ae4eb6cc
commit
e8414967b4
1 changed files with 14 additions and 1 deletions
|
@ -54,7 +54,20 @@ pandora.ui.statisticsDialog = function() {
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
closeButton: true,
|
closeButton: true,
|
||||||
content: Ox.Element(),
|
content: Ox.Element().append(
|
||||||
|
$('<img>')
|
||||||
|
.attr({src: Ox.UI.getImageURL('symbolLoadingAnimated')})
|
||||||
|
.css({
|
||||||
|
position: 'absolute',
|
||||||
|
width: '32px',
|
||||||
|
height: '32px',
|
||||||
|
left: 0,
|
||||||
|
top: 0,
|
||||||
|
right: 0,
|
||||||
|
bottom: 0,
|
||||||
|
margin: 'auto'
|
||||||
|
})
|
||||||
|
),
|
||||||
height: dialogHeight,
|
height: dialogHeight,
|
||||||
maximizeButton: true,
|
maximizeButton: true,
|
||||||
minHeight: 256,
|
minHeight: 256,
|
||||||
|
|
Loading…
Reference in a new issue