OctoPrint-MyStromSwitch/octoprint_mystromswitch/templates/mystromswitch_sidebar.jinja2

15 lines
821 B
Plaintext
Raw Normal View History

2019-11-19 21:55:31 +01:00
<div class="sidebar_plugin_mystromswitch">
2019-11-20 22:07:47 +01:00
<label class="control-label" id="mystromswitchPowerValue">Powerconsumption 0.0W</label>
<label class="control-label" id="mystromswitchEnergyValue">Energy 0.0Wh</label>
<button class="btn btn-primary" data-bind="click: onToggleRelayEvent, visible : onOffButtonEnabled">{{ _('Toggle Relais') }}</button>
<label class="checkbox">
<input type="checkbox" data-bind="enable: loginState.isUser(), checked: automaticShutdownEnabled, visible: showShutdownOctopiOption">
{{ _('Shutdown Octoprint after print finishes') }}
</label>
<label class="checkbox">
<input type="checkbox" data-bind="enable: loginState.isUser(), checked: automaticPowerOffEnabled, visible: showPowerOffPrintFinishOption">
{{ _('Power Off Relais after print finishes') }}
</label>
2019-11-19 21:29:32 +01:00
</div>