Browse Source

add menu to other tools and home

Pi 3 months ago
parent
commit
4039b1702c
1 changed files with 28 additions and 0 deletions
  1. 28 0
      util-sqlpage/sqlpage/theme.sql

+ 28 - 0
util-sqlpage/sqlpage/theme.sql

@@ -6,4 +6,32 @@ SELECT 'shell' AS component
 , :favicon AS favicon
 , :manifest AS manifest
 , 'https://cdn.jsdelivr.net/npm/purecss@2.1.0/build/pure-min.css' AS css
+, json('{
+    "title": "Home", "link": "/", "icon": "home"
+  }') AS menu_item
+, json('{
+    "title": "Tools",
+    "submenu": [
+        {
+            "link": "/clip.sql",
+            "title": "Clip and Paste",
+            "icon": "clipboard"
+        },
+        {
+            "link": "/goto.sql",
+            "title": "GotTo Tiny URL",
+            "icon": "link"
+        },
+        {
+            "link": "/upload.sql",
+            "title": "Share File",
+            "icon": "cloud-share"
+        },
+        {
+            "link": "/code.sql",
+            "title": "Vouchers",
+            "icon": "barcode"
+        }
+    ]
+}') AS menu_item
 ;