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>
|
2019-11-25 21:00:24 +01:00
|
|
|
<label class="control-label" id="mystromswitchEnergyValue">Energy 0.0Wh</label>
|
2020-11-08 15:23:33 +01:00
|
|
|
<button class="btn btn-primary" data-bind="click: onToggleRelayEvent, visible : onOffButtonEnabled">{{ _('Toggle Relay') }}</button>
|
2020-06-28 17:04:23 +02:00
|
|
|
<label class="checkbox" data-bind="visible :showShutdownOctopiOption">
|
2020-06-28 14:56:17 +02:00
|
|
|
<input type="checkbox" data-bind="enable: loginState.isUser(), checked: automaticShutdownEnabled, visible :showShutdownOctopiOption">
|
2020-11-08 15:23:33 +01:00
|
|
|
{{ _('Shutdown Octoprint after print finishes') }}
|
2020-02-29 16:08:03 +01:00
|
|
|
</label>
|
|
|
|
|
2020-06-28 17:04:23 +02:00
|
|
|
<label class="checkbox" data-bind="visible: showPowerOffPrintFinishOption">
|
2020-06-28 14:56:17 +02:00
|
|
|
<input type="checkbox" data-bind="enable: loginState.isUser(), checked: automaticPowerOffEnabled, visible: showPowerOffPrintFinishOption">
|
2020-11-08 15:23:33 +01:00
|
|
|
{{ _('Power off relay after print finishes') }}
|
2020-02-29 16:08:03 +01:00
|
|
|
</label>
|
2019-11-19 21:29:32 +01:00
|
|
|
</div>
|