From 4b71da17147e76f4a9ceb394f7863945263bdbb0 Mon Sep 17 00:00:00 2001 From: Henk Date: Tue, 4 Apr 2023 17:20:43 +0200 Subject: [PATCH] Horde settings in the UI --- gensettings.py | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gensettings.py b/gensettings.py index 863a2ba5..8d68b4b5 100644 --- a/gensettings.py +++ b/gensettings.py @@ -816,6 +816,40 @@ gensettingstf = [ "ui_level": 2 }, { + "UI_V2_Only": True, + "uitype": "text", + "unit": "text", + "label": "Horde Worker Name", + "id": "horde_worker_name", + "min": 0, + "max": 1, + "step": 1, + "default": 0, + "tooltip": "This is the name of your worker that shows up on the Horde", + "menu_path": "Settings", + "sub_path": "Other", + "classname": "user", + "name": "horde_worker_name", + "ui_level": 2 + }, + { + "UI_V2_Only": True, + "uitype": "password", + "unit": "text", + "label": "Horde API Key", + "id": "horde_api_key", + "min": 0, + "max": 1, + "step": 1, + "default": 0, + "tooltip": "You can paste your API key here for faster generations and to earn Kudo's as a worker", + "menu_path": "Settings", + "sub_path": "Other", + "classname": "user", + "name": "horde_api_key", + "ui_level": 2 + }, + { "UI_V2_Only": True, "uitype": "toggle", "unit": "bool",