add warning for update base image
This commit is contained in:
parent
b9ea18dc9f
commit
6397636135
|
@ -229,7 +229,26 @@
|
|||
<td>{{image['name']}}</td>
|
||||
<td>{{image['time']}}</td>
|
||||
<td><a href="/image/description/{{image['name']}}_root_private/" target="_blank">{{image['description']}}</a></td>
|
||||
<td><a href="/image/updatebase/{{image['name']}}/"><button type="button" class="btn btn-xs btn-success">Update</button></a>
|
||||
<td><button type="button" class="btn btn-xs btn-success" data-toggle="modal" data-target="#Update_{{image['name']}}">Update</button>
|
||||
<div class="modal inmodal" id="Update_{{image['name']}}" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content animated fadeIn">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
||||
<i class="fa fa-save modal-icon"></i>
|
||||
<h4 class="modal-title">Update Base Image</h4>
|
||||
<small class="font-bold">Update Base Image From Chosen Image</small>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<strong>Warning: This operation will stop all containers in all workers, and it will costs lots of time.</strong>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-white" data-dismiss="modal">Close</button>
|
||||
<a href="/image/updatebase/{{image['name']}}/"><button type="button" class="btn btn-success">Update</button></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in New Issue