wgui: Parser: <template> initial support (wip)

This commit is contained in:
Aleksander
2025-06-17 22:06:17 +02:00
parent 9c1bd5b4f2
commit 8c4eb4bd49
6 changed files with 221 additions and 100 deletions

View File

@@ -1,5 +1,6 @@
<layout>
<include src="theme.xml" />
<include src="templates.xml" />
<theme>
<var key="side_sprite_size" value="26" />
@@ -57,6 +58,8 @@
<!-- main button list -->
<div flex_direction="row" gap="8" margin_top="32">
<!-- Templates WIP! -->
<MenuButton />
<rectangle width="120" height="82" round="8" border="2" border_color="#FFFFFF77" color="#00000033" align_items="center" justify_content="center" flex_direction="column" gap="8">
<sprite src="dashboard/apps.svg" width="32" height="32" />
<label weight="bold" color="#FFFFFF" size="18" text="Apps" />