OctoPrint-SimpleEmergencyStop/octoprint_simpleemergencystop/templates/simpleemergencystop_settings.jinja2
2024-03-23 14:27:22 +01:00

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>