mirror of
https://github.com/Sebclem/OctoPrint-SimpleEmergencyStop.git
synced 2024-09-12 00:49:05 +02:00
22 lines
744 B
Django/Jinja
22 lines
744 B
Django/Jinja
<a data-bind="click: click, visible: loginState.isUser && printerState.isOperational" href="#">
|
|
<i class="icon-warning-sign" style="color: red"></i>
|
|
</a>
|
|
|
|
|
|
<div id="confirmation" class="modal hide fade">
|
|
<div class="modal-header">
|
|
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">×</a>
|
|
<h3>Emergency Stop!</h3>
|
|
</div>
|
|
<div class="modal-body">
|
|
<p>
|
|
{{ _('Are you sure you want to stop your printer?') }}
|
|
</p>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<a href="#" class="btn" data-dismiss="modal" aria-hidden="true">{{ _('Cancel') }}</a>
|
|
<a href="#" class="btn btn-danger" data-bind="click: sendCommand()">{{ _('Proceed') }}</a>
|
|
</div>
|
|
</div>
|
|
|