From c76712159fd8a12e7cbfb3731f8eed92cf0f2a8d Mon Sep 17 00:00:00 2001 From: David Zingg Date: Sun, 24 Nov 2019 15:59:37 +0100 Subject: [PATCH] #8 Relais ein / ausschalten von Ocotprint aus - Toggle Button enable / disable in Einstellunge - Databinding von Button --- .../templates/mystromswitch_settings.jinja2 | 8 ++++++++ .../templates/mystromswitch_sidebar.jinja2 | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/octoprint_mystromswitch/templates/mystromswitch_settings.jinja2 b/octoprint_mystromswitch/templates/mystromswitch_settings.jinja2 index c6fc860..1293f47 100644 --- a/octoprint_mystromswitch/templates/mystromswitch_settings.jinja2 +++ b/octoprint_mystromswitch/templates/mystromswitch_settings.jinja2 @@ -17,4 +17,12 @@ + +
+
+ +
+
diff --git a/octoprint_mystromswitch/templates/mystromswitch_sidebar.jinja2 b/octoprint_mystromswitch/templates/mystromswitch_sidebar.jinja2 index 8368f96..57a73aa 100644 --- a/octoprint_mystromswitch/templates/mystromswitch_sidebar.jinja2 +++ b/octoprint_mystromswitch/templates/mystromswitch_sidebar.jinja2 @@ -1,4 +1,4 @@