Shell + page loading

And:
- some basic stylesheet i found for basic html elements
- a global lua method for navigating pages
This commit is contained in:
2026-07-11 21:51:33 -05:00
parent 4e0219924d
commit 7c6e3a0d89
16 changed files with 759 additions and 147 deletions

4
assets/pages/about.rml Normal file
View File

@@ -0,0 +1,4 @@
<div id="page-root" class="page">
<h1>About</h1>
<p>This is a static page</p>
</div>

View File

@@ -0,0 +1,5 @@
<div id="page-root">
<h1>Lua test page</h1>
<p>This button uses <code>NavigateTo('about')</code> lua code instead of a registered C++ event</p>
<button onclick="NavigateTo('about')">Go to About Page</button>
</div>

View File

@@ -0,0 +1,5 @@
<div id="page-root" data-model="testPage" class="page">
<h1>Test page</h1>
<p>{{greeting}}</p>
<button id="test-btn">Button clicked: {{counter}} times</button>
</div>