From 2bdebac2d8b49ac0650a6cae10f35a0dd44b82aa Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Wed, 25 Oct 2023 18:15:26 +0200 Subject: [PATCH] blockly plugin: cleanup web if code. Load german translation if set language is not found --- blockly/webif/templates/blockly.html | 47 +++++++++++++--------------- 1 file changed, 21 insertions(+), 26 deletions(-) diff --git a/blockly/webif/templates/blockly.html b/blockly/webif/templates/blockly.html index 2f037ac8b..85d1e302b 100755 --- a/blockly/webif/templates/blockly.html +++ b/blockly/webif/templates/blockly.html @@ -1,14 +1,27 @@ {% extends "base_plugin.html" %} -{% block content %} - -{% include "logics_blockly_toolbox.html" %} - +{% block pluginstyles %} + +{% endblock pluginstyles %} +{% block pluginscripts %} + + + + + + + + + + + + + +{% endblock pluginscripts %} +{% block content %} + +{% include "logics_blockly_toolbox.html" %} @@ -76,26 +93,4 @@

Blockly {{ _('Logik-Editor') }} {{ _('für SmartHomeNG') }}

   
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
 {% endblock %}