From 9f3e64a84e48d04f83ca68794f087e9007ef693e Mon Sep 17 00:00:00 2001 From: Charlie Powell <31997505+cp2004@users.noreply.github.com> Date: Tue, 18 May 2021 23:17:26 +0100 Subject: [PATCH] :pencil2: Add some explainers to make usage easier See #20 --- octoprint_wled/static/src/wled.scss | 4 ++++ .../templates/wled-settings/features.jinja2 | 6 +++++- .../templates/wled-settings/overview.jinja2 | 17 +++++++++++------ .../templates/wled-settings/progress.jinja2 | 13 ++++++++++--- 4 files changed, 30 insertions(+), 10 deletions(-) diff --git a/octoprint_wled/static/src/wled.scss b/octoprint_wled/static/src/wled.scss index 9d2aa29..5986788 100644 --- a/octoprint_wled/static/src/wled.scss +++ b/octoprint_wled/static/src/wled.scss @@ -112,6 +112,10 @@ $animation-duration: 0.3s; d-block { display: block; } +.visibility-collapse { + visibility: collapse; +} + .effect-overview { margin-left: 1.5rem; diff --git a/octoprint_wled/templates/wled-settings/features.jinja2 b/octoprint_wled/templates/wled-settings/features.jinja2 index c5c3346..0c01c3d 100644 --- a/octoprint_wled/templates/wled-settings/features.jinja2 +++ b/octoprint_wled/templates/wled-settings/features.jinja2 @@ -24,8 +24,12 @@ {% endmacro %} +
+ Enable some optional features for the plugin here. +
+{# These widths have been carefully fine tuned... Try not to break them :) #} | diff --git a/octoprint_wled/templates/wled-settings/overview.jinja2 b/octoprint_wled/templates/wled-settings/overview.jinja2 index ebcebec..c62f7ff 100644 --- a/octoprint_wled/templates/wled-settings/overview.jinja2 +++ b/octoprint_wled/templates/wled-settings/overview.jinja2 @@ -1,7 +1,12 @@ {% import "wled-settings/sub/template.jinja2" as template %} - + |
---|
{# These widths have been carefully fine tuned... Try not to break them :) #} | @@ -12,11 +17,11 @@ |
---|
+ Cooling progress will stop once the temperature gets to this value. +
+ Progress effects simulate a progress bar, with two colours. Progress is shown per-segment. +
++ You can customize the colours and some additional configuration for each event type. +
{# These widths have been carefully fine tuned... Try not to break them :) #} |
---|