From 4c9ca1a088c1825dcaa946676c5d2ad24c227a6f Mon Sep 17 00:00:00 2001 From: Vitor de Miranda Henrique Date: Fri, 9 Dec 2016 14:11:46 -0600 Subject: [PATCH] Adding new functionality --- .../templates/enclosure_settings.jinja2 | 66 ++++++++++++++++--- .../templates/enclosure_tab.jinja2 | 9 +-- 2 files changed, 61 insertions(+), 14 deletions(-) diff --git a/octoprint_enclosure/templates/enclosure_settings.jinja2 b/octoprint_enclosure/templates/enclosure_settings.jinja2 index c854705..0fa9706 100644 --- a/octoprint_enclosure/templates/enclosure_settings.jinja2 +++ b/octoprint_enclosure/templates/enclosure_settings.jinja2 @@ -45,36 +45,86 @@ Available options are: 11 for DHT11; 22 for DHT22; 2302 for AM2302; 1820 for DS1 -

{{ _('Fan') }}

+

{{ _('IO 1') }}

- +
- + +
+ +
+
-

{{ _('Light') }}

+

{{ _('IO 2') }}

- +
- + +
+ +
+ +
+
+
+ +

{{ _('IO 3') }}

+
+
+
+ +
+
+
+ +
+ +
+ +
+ +
+
+
+ +

{{ _('IO 4') }}

+
+
+
+ +
+
+
+ +
+ +
+ +
+
diff --git a/octoprint_enclosure/templates/enclosure_tab.jinja2 b/octoprint_enclosure/templates/enclosure_tab.jinja2 index ea3d87a..31ab824 100644 --- a/octoprint_enclosure/templates/enclosure_tab.jinja2 +++ b/octoprint_enclosure/templates/enclosure_tab.jinja2 @@ -32,12 +32,9 @@ -

{{ _('Fan') }}

- - -

{{ _('Light') }}

- - +

+ +