summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp/templates/ipxe_update.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/serversetup-bwlp/templates/ipxe_update.html')
-rw-r--r--modules-available/serversetup-bwlp/templates/ipxe_update.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules-available/serversetup-bwlp/templates/ipxe_update.html b/modules-available/serversetup-bwlp/templates/ipxe_update.html
index c5aafa1c..71611085 100644
--- a/modules-available/serversetup-bwlp/templates/ipxe_update.html
+++ b/modules-available/serversetup-bwlp/templates/ipxe_update.html
@@ -14,7 +14,7 @@
{{lang_generationFailed}}
</div>
</div>
- <div data-tm-id="{{taskid}}" data-tm-log="log" data-tm-log-height="31em" data-tm-callback="ipxeGenCb">{{lang_menuGeneration}}</div>
+ <div id="tm-compile-div" data-tm-id="{{taskid}}" data-tm-log="log" data-tm-log-height="36em" data-tm-callback="ipxeGenCb">{{lang_menuGeneration}}</div>
</div>
</div>
@@ -27,6 +27,9 @@
if (task.data.pxeDone) $('#built-pxe').removeClass('invisible');
if (task.data.usbDone) $('#built-usb').removeClass('invisible');
}
+ if (task.statusCode === 'TASK_ERROR' || task.statusCode === 'TASK_FINISHED') {
+ $('#tm-compile-div').find('pre').hide();
+ }
if (task.statusCode === 'TASK_ERROR') {
var $gf = $('#genfailed');
if (task.data && task.data.errors) {