From 4ce6f7f13b6c3c5c44e352b6d11e433b959fac5c Mon Sep 17 00:00:00 2001 From: Costas Basdekis Date: Sun, 17 Jan 2021 10:16:33 +0000 Subject: [PATCH 01/30] Add IDs and classes to terminal panels and buttons Some plugins (like https://github.com/costas-basdekis/MarlinGcodeDocumentation and https://github.com/MoonshineSG/OctoPrint-Autoscroll) add or alter panels and buttons under the terminal. This allows to name the elements that terminal exposes so that we can target them accurately, as otherwise there are unintended consequences, eg see https://github.com/costas-basdekis/MarlinGcodeDocumentation/issues/11 --- src/octoprint/templates/tabs/terminal.jinja2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/octoprint/templates/tabs/terminal.jinja2 b/src/octoprint/templates/tabs/terminal.jinja2 index ceb2347b8..118d24195 100644 --- a/src/octoprint/templates/tabs/terminal.jinja2 +++ b/src/octoprint/templates/tabs/terminal.jinja2 @@ -7,16 +7,16 @@ {{ _('Send') }} - - + + ({{ _("Scroll to end") }}) - - {{ _('Copy all') }}
- {{ _('Clear all') }} + + {{ _('Copy all') }}
+ {{ _('Clear all') }}
-