CC-2159 : Upgrade Airtime to jQuery 1.5
event progress bars are now centered, take up most of the width so they look less stupid.
This commit is contained in:
parent
e5ab96a665
commit
05f9863bc8
|
@ -160,8 +160,11 @@ function eventRender(event, element, view) {
|
||||||
var div = $('<div/>');
|
var div = $('<div/>');
|
||||||
div
|
div
|
||||||
.height('5px')
|
.height('5px')
|
||||||
.width('100px')
|
.width('95%')
|
||||||
.css('margin-top', '5px')
|
.css('margin-top', '5px')
|
||||||
|
.css('margin-left', 'auto')
|
||||||
|
.css('margin-right', 'auto')
|
||||||
|
.css('text-align', 'center')
|
||||||
.progressbar({
|
.progressbar({
|
||||||
value: event.percent
|
value: event.percent
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue