OctoPrint-MyStromSwitch/octoprint_mystromswitch/templates/mystromswitch_settings.jinja2
David Zingg c76712159f #8 Relais ein / ausschalten von Ocotprint aus
- Toggle Button enable / disable in Einstellunge
- Databinding von Button
2019-11-24 15:59:37 +01:00

29 lines
988 B
Django/Jinja

<form class="form-horizontal">
<h4>General</h4>
<hr>
<div class="control-group">
<label class="control-label">{{ _('IP-Address') }}</label>
<div class="controls">
<input type="text" class="input-block-level" data-bind="value: settings.plugins.mystromswitch.ip">
</div>
</div>
<div class="control-group">
<label class="control-label">Refresh Intervall</label>
<div class="controls">
<div class="input-append">
<input type="number" class="input-mini text-right" data-bind="value: settings.plugins.mystromswitch.intervall">
<span class="add-on">sec</span>
</div>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" id="mystromswitchShowToggleButton" data-bind="checked: settings.plugins.mystromswitch.onOffButtonEnabled">Toggle Button Enabled
</label>
</div>
</div>
</form>