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.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules-available/serversetup-bwlp/templates/ipxe_update.html b/modules-available/serversetup-bwlp/templates/ipxe_update.html
new file mode 100644
index 00000000..9c598667
--- /dev/null
+++ b/modules-available/serversetup-bwlp/templates/ipxe_update.html
@@ -0,0 +1,20 @@
+<div class="panel panel-default">
+ <div class="panel-heading">{{lang_menuGeneration}}</div>
+ <div class="panel-body">
+ <div data-tm-id="{{taskid}}" data-tm-log="error" data-tm-callback="restartCb">{{lang_menuGeneration}}</div>
+ <div id="genfailed" class="alert alert-danger" style="display:none">
+ {{lang_generationFailed}}
+ </div>
+ </div>
+</div>
+
+<script type="text/javascript">
+ function restartCb(task)
+ {
+ if (!task || !task.statusCode)
+ return;
+ if (task.statusCode === 'TASK_ERROR') {
+ $('#genfailed').show('slow');
+ }
+ }
+</script>