From f325306e2062c4ab92cdfdcee5c3833e3509331c Mon Sep 17 00:00:00 2001 From: "DESKTOP-T0O5CDB\\DESK-555BD" Date: Fri, 10 Jan 2025 12:13:34 -0700 Subject: [PATCH] Update configurator --- docs/configurator.html | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/configurator.html b/docs/configurator.html index 234367b..2977618 100644 --- a/docs/configurator.html +++ b/docs/configurator.html @@ -49,9 +49,13 @@ Blank for default, * for all files +
+ + +
-
+
Default size: 204x48 @@ -66,6 +70,10 @@ URL to WebHook Consumer
+
+ + +
@@ -262,6 +270,12 @@ function generateConfig(){ if ($("#inputPostgres").val().trim() != ''){ windowConfig["POSTGRES_CONNECTION"]=$("#inputPostgres").val(); } + if ($("#inputCustomWidgets").is(":checked")){ + windowConfig["LUBELOGGER_CUSTOM_WIDGETS"]=$('#inputCustomWidgets').is(':checked'); + } + if ($("#inputInvariantAPI").is(":checked")){ + windowConfig["LUBELOGGER_INVARIANT_API"]=$('#inputInvariantAPI').is(':checked'); + } if ($('#inputSmtpServer').val().trim() != ''){ windowConfig["MailConfig"] = { EmailServer: $("#inputSmtpServer").val(), @@ -327,6 +341,12 @@ function generateConfig(){ if ($("#inputPostgres").val().trim() != ''){ dockerConfig.push(`POSTGRES_CONNECTION="${$('#inputPostgres').val()}"`); } + if ($("#inputCustomWidgets").is(":checked")){ + dockerConfig.push(`LUBELOGGER_CUSTOM_WIDGETS="${$('#inputCustomWidgets').is(':checked')}"`); + } + if ($("#inputInvariantAPI").is(":checked")){ + dockerConfig.push(`LUBELOGGER_INVARIANT_API="${$('#inputInvariantAPI').is(':checked')}"`); + } if ($('#inputSmtpServer').val().trim() != ''){ dockerConfig.push(`MailConfig__EmailServer="${$('#inputSmtpServer').val()}"`); dockerConfig.push(`MailConfig__EmailFrom="${$('#inputSmtpFrom').val()}"`);