web: fix the progressbar renderer

Modify our progress bar renderer so it uses the new ext style
and actually creates a progress bar now :-)
This commit is contained in:
Damien Churchill 2011-10-05 01:22:01 +01:00
parent eb9071fcb0
commit e8506b925f
1 changed files with 4 additions and 10 deletions

View File

@ -99,16 +99,10 @@ Ext.apply(Deluge, {
pluginStore: {}, pluginStore: {},
// private // private
progressTpl: '<div class="x-progress-wrap x-progress-renderered">' + progressTpl: '<div class="x-progress x-progress-default">' +
'<div class="x-progress-inner">' + '<div class="x-progress-text x-progress-text-back" style="width: {1}px;">{0}</div>' +
'<div style="width: {2}px" class="x-progress-bar">' + '<div class="x-progress-bar" style="width: {2}px;">' +
'<div style="z-index: 99; width: {3}px" class="x-progress-text">' + '<div class="x-progress-text" style="width: {1}px;">{0}</div>' +
'<div style="width: {1}px;">{0}</div>' +
'</div>' +
'</div>' +
'<div class="x-progress-text x-progress-text-back">' +
'<div style="width: {1}px;">{0}</div>' +
'</div>' +
'</div>' + '</div>' +
'</div>', '</div>',