dynamic header logo

main
alexanderroese 2024-06-22 10:44:36 +02:00
parent b4baa30f34
commit fbd70f34cb
2 changed files with 5 additions and 5 deletions

View File

@ -34,16 +34,16 @@
] ]
}, },
{ {
"name": "Logo-Figuren", "name": "shx-Logo-Figuren",
"settings": [ "settings": [
{ {
"type": "image_picker", "type": "image_picker",
"id": "logo2", "id": "shx_logo2",
"label": "t:settings_schema.logo.settings.logo_image.label" "label": "t:settings_schema.logo.settings.logo_image.label"
}, },
{ {
"type": "range", "type": "range",
"id": "logo2_width", "id": "shx_logo2_width",
"min": 50, "min": 50,
"max": 300, "max": 300,
"step": 10, "step": 10,
@ -53,7 +53,7 @@
}, },
{ {
"type": "image_picker", "type": "image_picker",
"id": "favicon2", "id": "shx_favicon2",
"label": "t:settings_schema.logo.settings.favicon.label", "label": "t:settings_schema.logo.settings.favicon.label",
"info": "t:settings_schema.logo.settings.favicon.info" "info": "t:settings_schema.logo.settings.favicon.info"
} }

View File

@ -59,7 +59,7 @@
endcapture endcapture
%} %}
console.log("2", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }}) console.log("3", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }})
</script> </script>