From 5a66368744b6052a57ffe671b6080e7a20c68ab0 Mon Sep 17 00:00:00 2001 From: Vitor Henrique Date: Thu, 4 Feb 2021 21:29:01 -0600 Subject: [PATCH] starting the output screen --- octoprint_enclosure/static/js/enclosure.js | 2 +- .../templates/enclosure_settings.jinja2 | 6 +++++- .../templates/input_editor/main_screen.jinja2 | 15 +++++++-------- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/octoprint_enclosure/static/js/enclosure.js b/octoprint_enclosure/static/js/enclosure.js index 3c247aa..fc883be 100644 --- a/octoprint_enclosure/static/js/enclosure.js +++ b/octoprint_enclosure/static/js/enclosure.js @@ -137,7 +137,7 @@ $(function () { }); - self.fromInputData = function (data) { + self.fromOutputData = function (data) { self.isNew(data === undefined); diff --git a/octoprint_enclosure/templates/enclosure_settings.jinja2 b/octoprint_enclosure/templates/enclosure_settings.jinja2 index f76a0bd..c4abac7 100644 --- a/octoprint_enclosure/templates/enclosure_settings.jinja2 +++ b/octoprint_enclosure/templates/enclosure_settings.jinja2 @@ -11,4 +11,8 @@ {% include "input_editor/main_screen.jinja2" %} - \ No newline at end of file + + + \ No newline at end of file diff --git a/octoprint_enclosure/templates/input_editor/main_screen.jinja2 b/octoprint_enclosure/templates/input_editor/main_screen.jinja2 index b89e373..04f30e1 100644 --- a/octoprint_enclosure/templates/input_editor/main_screen.jinja2 +++ b/octoprint_enclosure/templates/input_editor/main_screen.jinja2 @@ -21,33 +21,32 @@
  • {{ _('Temperature Sensor') }}
  • - -
    - + {% include "input_editor/general_info.jinja2" %}
    - + {% include "input_editor/io_output.jinja2" %}
    - + {% include "input_editor/printer_action.jinja2" %}
    - + {% include "input_editor/output_action.jinja2" %}
    - +
    - + {% include "input_editor/temperature_sensor.jinja2" %}
    +