blob: eabee81ae52e3889414fe99a1b59433e40a1dca8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<div class="panel panel-default">
<div class="panel-heading">
{{lang_vmLocationConfiguration}}
</div>
<div class="panel-body">
<div data-tm-id="{{task}}" data-tm-log="messages" data-tm-callback="mountCb">{{lang_configure}}</div>
<br>
<div id="finish" class="pull-right" style="display:none">
<a href="?do=VmStore" class="btn btn-primary">{{lang_back}}</a>
</div>
<script type="text/javascript">
function mountCb(task)
{
if (!task || !task.statusCode)
return;
if (task.statusCode !== 'TASK_WAITING' && task.statusCode !== 'TASK_PROCESSING') {
$('#finish').attr('style', '');
}
}
</script>
</div>
</div>
|