diff --git a/src/core/admin/templates/global.templ b/src/core/admin/templates/global.templ index 297a076..3329a77 100644 --- a/src/core/admin/templates/global.templ +++ b/src/core/admin/templates/global.templ @@ -16,16 +16,13 @@ templ GlobalSettings(dbType, dbPath, dbHost, dbPort, dbUser, dbPass, dbName, smt - if dbType != "mariadb" { -
+
- } - if dbType == "mariadb" { -
+
@@ -51,7 +48,6 @@ templ GlobalSettings(dbType, dbPath, dbHost, dbPort, dbUser, dbPass, dbName, smt
- }

Email

Email

Workspace URL

Authentication (OIDC)

Workspace URL

Authentication (OIDC)

Localization

Localization

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 40, ">New York
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -392,4 +402,11 @@ func GlobalSettings(dbType, dbPath, dbHost, dbPort, dbUser, dbPass, dbName, smtp }) } +func styleDB(target, current string) string { + if target == current { + return "display:block" + } + return "display:none" +} + var _ = templruntime.GeneratedTemplate