});
}
+ if (data.template) {
+ this._dialog.html(data.template);
+ }
+
// update progress
this._dialog.find('progress').attr('value', data.progress).text(data.progress + '%').next('span').text(data.progress + '%');
else {
// display continue button
var $formSubmit = $('<div class="formSubmit" />').appendTo(this._dialog);
- $('<button>' + WCF.Language.get('wcf.global.button.next') + '</button>').appendTo($formSubmit).click(function() { window.location = data.proceedURL; });
+ $('<button class="buttonPrimary">' + WCF.Language.get('wcf.global.button.next') + '</button>').appendTo($formSubmit).click(function() { window.location = data.proceedURL; });
this._dialog.wcfDialog('render');
}
<header class="box48 boxHeadline">
<span class="icon icon48 icon-spinner"></span>
- <h1>{lang}wcf.global.worker.executing{/lang}</h1>
- <small><progress value="0" max="100">0%</progress> <span>0%</span></small>
+ <div>
+ <h1>{lang}wcf.global.worker.executing{/lang}</h1>
+ <small><progress value="0" max="100">0%</progress> <span>0%</span></small>
+ </div>
</header>
</div>