diff --git a/gui/layouts/settings.json b/gui/layouts/settings.json deleted file mode 100644 index 3317181..0000000 --- a/gui/layouts/settings.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "general": { - "type": "tab", - "content": { - "appearance": { - "type": "group", - "content": { - "showApplicable": { - "type": "tickbox", - "preference": ["preferences", "appearance", "showApplicable"] - }, - "injectPage": { - "type": "tickbox", - "preference": ["preferences", "appearance", "injectPage"] - } - } - }, - "behavior": { - "type": "group", - "content": { - "autoRun": { - "type": "tickbox", - "description": "autoRunDisclaimer", - "preference": ["preferences", "behavior", "autoRun"] - } - } - } - } - }, - "filters": { - "type": "tab", - "content": { - "filters": { - "type": "filter", - "search criteria": { - "search": { - "type": "search", - "directory": ["filters"], - "criteria": [".", "URL"] - }, - "add": { - "type": "button", - "action": "add" - } - }, - "result selection": { - "foundItems": { - "type": "select" - } - }, - "result detail": { - "rulesViewer": { - "type": "textbox", - "result": ["filters", "."] - }, - "preferences": { - "type": "footer", - "content": { - "enable": { - "type": "tickbox", - "preference": ["filter preferences", ".", "enabled"] - }, - "remove": { - "type": "button", - "action": "remove" - }, - "save": { - "type": "button", - "action": "save" - } - } - } - } - } - } - }, - "storage": { - "type": "tab", - "content": { - "storage_management": { - "type": "group", - "content": { - "description": { - "type": "label" - }, - "delete": { - "type": "button", - "action": "remove" - } - } - } - } - }, - "about": { - "type": "tab", - "content": { - "app_logo": { - "type": "image" - }, - "manifest_name": { - "type": "label" - }, - "extension_version": { - "type": "label" - }, - "extension_description": { - "type": "label" - }, - "extension_help": { - "type": "label" - } - } - } -} diff --git a/gui/settings.htm b/gui/settings.htm index c1ec429..90a3a3a 100644 --- a/gui/settings.htm +++ b/gui/settings.htm @@ -3,5 +3,68 @@ - +
+ + + + + + +
+
+
+ +
+ + +
+
+ + +
+
+
+ +
+ + +
+ +
+
+
+ + +
+ + +
+
+
+
+
+ + +
+ +
+
+
+
+
+ +

+

+

+
+ +
+
+ + +
+ diff --git a/gui/styles/ui.css b/gui/styles/ui.css index e69de29..b010071 100644 --- a/gui/styles/ui.css +++ b/gui/styles/ui.css @@ -0,0 +1,21 @@ +/* +ShopAI's GUI appearance +*/ + +.window-body { + display: flex; + flex-direction: column; +} + + +.window-body .view_main { + + flex-grow: 1; + min-width: 0; +} + +.window-body .action-buttons { + display: flex; + align-items: end; + justify-content:end; +}