Cleaning up Template

This commit is contained in:
John Haverlack 2026-06-28 09:42:00 -08:00
parent 709d450f0d
commit 198637a407
11 changed files with 41 additions and 11 deletions

View File

@ -1,10 +1,10 @@
{
"sdl":{
"title": "SDL",
"desc": "Software Defined Laboratory",
"icon": "fa-solid fa-square-binary",
"title": "NWA",
"desc": "Node Web App",
"icon": "fa-solid fa-dice-d20",
"page": "index",
"enabled": false,
"enabled": true,
"items": []
},
"dash": {

View File

@ -1,15 +1,35 @@
[
{
"title": "Node Web App (NWA)",
"icon": "fa-solid fa-square-binary",
"icon": "fa-solid fa-dice-d20",
"page": "index",
"enabled": true,
"brand": true,
"children": []
},
{
"title": "Pages",
"icon": "fa-solid fa-bookmark",
"page": "app",
"enabled": true,
"children": [
{
"title": "Page 1",
"icon": "fa-solid fa-1",
"page": "page1",
"enabled": true
},
{
"title": "Page 2",
"icon": "fa-solid fa-2",
"page": "page2",
"enabled": true
}
]
},
{
"title": "App",
"icon": "fa-solid fa-dice-d20",
"icon": "fa-solid fa-bars",
"page": "app",
"enabled": true,
"children": [

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M48.7 125.8l53.2 31.9c7.8 4.7 17.8 2 22.2-5.9L201.6 12.1c3-5.4-.9-12.1-7.1-12.1c-1.6 0-3.2 .5-4.6 1.4L47.9 98.8c-9.6 6.6-9.2 20.9 .8 26.9zM16 171.7l0 123.5c0 8 10.4 11 14.7 4.4l60-92c5-7.6 2.6-17.8-5.2-22.5L40.2 158C29.6 151.6 16 159.3 16 171.7zM310.4 12.1l77.6 139.6c4.4 7.9 14.5 10.6 22.2 5.9l53.2-31.9c10-6 10.4-20.3 .8-26.9L322.1 1.4c-1.4-.9-3-1.4-4.6-1.4c-6.2 0-10.1 6.7-7.1 12.1zM496 171.7c0-12.4-13.6-20.1-24.2-13.7l-45.3 27.2c-7.8 4.7-10.1 14.9-5.2 22.5l60 92c4.3 6.7 14.7 3.6 14.7-4.4l0-123.5zm-49.3 246L286.1 436.6c-8.1 .9-14.1 7.8-14.1 15.9l0 52.8c0 3.7 3 6.8 6.8 6.8c.8 0 1.6-.1 2.4-.4l172.7-64c6.1-2.2 10.1-8 10.1-14.5c0-9.3-8.1-16.5-17.3-15.4zM233.2 512c3.7 0 6.8-3 6.8-6.8l0-52.6c0-8.1-6.1-14.9-14.1-15.9l-160.6-19c-9.2-1.1-17.3 6.1-17.3 15.4c0 6.5 4 12.3 10.1 14.5l172.7 64c.8 .3 1.6 .4 2.4 .4zM41.7 382.9l170.9 20.2c7.8 .9 13.4-7.5 9.5-14.3l-85.7-150c-5.9-10.4-20.7-10.8-27.3-.8L30.2 358.2c-6.5 9.9-.3 23.3 11.5 24.7zm439.6-24.8L402.9 238.1c-6.5-10-21.4-9.6-27.3 .8L290.2 388.5c-3.9 6.8 1.6 15.2 9.5 14.3l170.1-20c11.8-1.4 18-14.7 11.5-24.6zm-216.9 11l78.4-137.2c6.1-10.7-1.6-23.9-13.9-23.9l-145.7 0c-12.3 0-20 13.3-13.9 23.9l78.4 137.2c3.7 6.4 13 6.4 16.7 0zM174.4 176l163.2 0c12.2 0 19.9-13.1 14-23.8l-80-144c-2.8-5.1-8.2-8.2-14-8.2l-3.2 0c-5.8 0-11.2 3.2-14 8.2l-80 144c-5.9 10.7 1.8 23.8 14 23.8z"/></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 KiB

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 KiB

0
nwa/html/js/page1.js Normal file
View File

0
nwa/html/js/page2.js Normal file
View File

View File

@ -1,8 +1,15 @@
# Node Web App (NWA)
**Node Web App** (NWA) is a Node.js application template for building fully self-hosted web applications with no CDN or Internet dependencies.
Node Web App (NWA) is a Node.js application template for building fully self-hosted web applications with no CDN or Internet dependencies.
NWA provides a single-service application structure that includes:
- a web API
- JSON-based configuration
- configurable navigation menus
- sidebar navigation
- responsive Bootstrap UI
- and integrated NPM libraries.
NWA provides a single-service application structure that includes a web API, JSON-based configuration, configurable navigation menus, sidebar navigation, responsive Bootstrap UI, and integrated NPM libraries.
The project is designed to be modular and extensible, allowing additional components such as SQLite support, MQTT broker integration, and other service modules to be added cleanly.
The project is designed to be modular and extensible, allowing additional components such as:
- SQLite support
- MQTT broker integration
- and other service modules to be added cleanly.

1
nwa/html/md/page1.md Normal file
View File

@ -0,0 +1 @@
Example Page 1

1
nwa/html/md/page2.md Normal file
View File

@ -0,0 +1 @@
Example Page 2