switch for navbar (#33)
This commit is contained in:
parent
f5d533865d
commit
d6cbf8d867
|
@ -75,7 +75,8 @@ class KlipperPlugin(
|
|||
configuration = dict(
|
||||
configpath="~/printer.cfg",
|
||||
logpath="/tmp/klippy.log",
|
||||
reload_command="RESTART"
|
||||
reload_command="RESTART",
|
||||
navbar=True
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
<a data-bind="text: shortStatus, click: navbarClicked"></a>
|
||||
<!-- ko if: settings.settings.plugins.klipper.configuration.navbar -->
|
||||
<a data-bind="text: shortStatus, click: navbarClicked"></a>
|
||||
<!-- /ko -->
|
||||
|
|
|
@ -19,6 +19,11 @@
|
|||
<div class="controls">
|
||||
<input type="checkbox" class="input-block-level" data-bind="checked: settings.settings.plugins.klipper.connection.replace_connection_panel">
|
||||
</div>
|
||||
</div><div class="control-group">
|
||||
<label class="control-label">{{ _('Show NavBar Message') }}</label>
|
||||
<div class="controls">
|
||||
<input type="checkbox" class="input-block-level" data-bind="checked: settings.settings.plugins.klipper.configuration.navbar">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{{ _('Klipper Config Path') }}</label>
|
||||
|
|
Loading…
Reference in New Issue