mirror of
https://github.com/Sebclem/OctoPrint-SimpleEmergencyStop.git
synced 2024-11-05 17:12:58 +01:00
40 lines
1.6 KiB
Django/Jinja
40 lines
1.6 KiB
Django/Jinja
<h3>{{ _("Simple Emergency Stop") }}</h3>
|
|
<form class="form-horizontal">
|
|
<div class="control-group">
|
|
<label class="control-label">{{ _('Emergency GCODE:') }}</label>
|
|
<div class="controls">
|
|
<input type="text" class=""
|
|
data-bind="value: settings.plugins.simpleemergencystop.emergencyGCODE">
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label">{{ _('Enable warning dialog') }}</label>
|
|
<div class="controls">
|
|
<input type="checkbox" data-bind="checked: settings.plugins.simpleemergencystop.confirmationDialog">
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label">{{ _('Enable big button') }}</label>
|
|
<div class="controls">
|
|
<input type="checkbox" data-bind="checked: settings.plugins.simpleemergencystop.big_button">
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label">{{ _('Enable margin') }}</label>
|
|
<div class="controls">
|
|
<input type="checkbox" data-bind="checked: settings.plugins.simpleemergencystop.enableMargin">
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label">{{ _('Margin value:') }}</label>
|
|
<div class="controls">
|
|
<div class="input-append">
|
|
<input type="number" class="" step="5" min="0" data-bind="
|
|
value: settings.plugins.simpleemergencystop.marginValue,
|
|
enable: settings.plugins.simpleemergencystop.enableMargin()">
|
|
<span class="add-on">px</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|