OctoPrint-MyStromSwitch/octoprint_mystromswitch/templates/mystromswitch_sidebar.jinja2
2019-11-25 21:00:24 +01:00

6 lines
364 B
Django/Jinja

<div class="sidebar_plugin_mystromswitch">
<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>
</div>