OctoPrint-MyStromSwitch/octoprint_mystromswitch/templates/mystromswitch_settings.jinja2

52 lines
1.7 KiB
Plaintext
Raw Normal View History

2019-11-19 21:29:32 +01:00
<form class="form-horizontal">
<h4>General</h4>
<hr>
<div class="control-group">
<label class="control-label">{{ _('IP-Address') }}</label>
2019-11-19 21:29:32 +01:00
<div class="controls">
<input type="text" class="input-block-level" data-bind="value: settings.plugins.mystromswitch.ip">
2019-11-19 21:29:32 +01:00
</div>
</div>
2019-11-19 21:29:32 +01:00
<div class="control-group">
<label class="control-label">Refresh Intervall</label>
2019-11-19 21:29:32 +01:00
<div class="controls">
<div class="input-append">
<input type="number" class="input-mini text-right" data-bind="value: settings.plugins.mystromswitch.intervall">
2019-11-19 21:29:32 +01:00
<span class="add-on">sec</span>
</div>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: settings.plugins.mystromswitch.onOffButtonEnabled">Toggle Button Enabled
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: settings.plugins.mystromswitch.powerOnOnStart">Turn relais ON on Octoprint start
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: settings.plugins.mystromswitch.powerOffOnShutdown">Turn relais OFF on Octoprint shutdown
</label>
</div>
</div>
<div class="control-group">
<label class="control-label">{{ _('Turn Relais Off Delay') }}</label>
<div class="controls">
<input type="number" class="input-block-level" data-bind="value: settings.plugins.mystromswitch.powerOffDelay">
</div>
</div>
2019-11-19 21:29:32 +01:00
</form>