From eb02c448aa07076620a34211be4ef4067e1714e7 Mon Sep 17 00:00:00 2001
From: Jens Langhammer
Date: Mon, 15 Jan 2024 23:40:45 +0100
Subject: [PATCH] update UI
Signed-off-by: Jens Langhammer
---
schema.yml | 7 ++--
.../admin/admin-settings/AdminSettingsForm.ts | 37 +++++++++---------
.../admin/admin-settings/AdminSettingsPage.ts | 38 +++++++++++--------
web/xliff/de.xlf | 18 ++++-----
web/xliff/en.xlf | 18 ++++-----
web/xliff/es.xlf | 18 ++++-----
web/xliff/fr.xlf | 18 ++++-----
web/xliff/ko.xlf | 18 ++++-----
web/xliff/nl.xlf | 18 ++++-----
web/xliff/pl.xlf | 18 ++++-----
web/xliff/pseudo-LOCALE.xlf | 18 ++++-----
web/xliff/tr.xlf | 18 ++++-----
web/xliff/zh-CN.xlf | 18 ++++-----
web/xliff/zh-Hans.xlf | 18 ++++-----
web/xliff/zh-Hant.xlf | 18 ++++-----
web/xliff/zh_TW.xlf | 18 ++++-----
16 files changed, 162 insertions(+), 154 deletions(-)
diff --git a/schema.yml b/schema.yml
index 9d91c7e1b..d2075d0c8 100644
--- a/schema.yml
+++ b/schema.yml
@@ -43491,13 +43491,14 @@ components:
format: date-time
description: Current server time
readOnly: true
+ embedded_outpost_disabled:
+ type: boolean
+ description: Whether the embedded outpost is disabled
+ readOnly: true
embedded_outpost_host:
type: string
description: Get the FQDN configured on the embedded outpost
readOnly: true
- embedded_outpost_disabled:
- type: boolean
- readOnly: true
required:
- brand
- embedded_outpost_disabled
diff --git a/web/src/admin/admin-settings/AdminSettingsForm.ts b/web/src/admin/admin-settings/AdminSettingsForm.ts
index ae9aaffe6..06f06ca6d 100644
--- a/web/src/admin/admin-settings/AdminSettingsForm.ts
+++ b/web/src/admin/admin-settings/AdminSettingsForm.ts
@@ -1,7 +1,9 @@
+import { first } from "@goauthentik/app/common/utils";
import { DEFAULT_CONFIG } from "@goauthentik/common/api/config";
import "@goauthentik/components/ak-switch-input";
import "@goauthentik/components/ak-text-input";
-import "@goauthentik/components/ak-textarea-input";
+import "@goauthentik/elements/CodeMirror";
+import { CodeMirrorMode } from "@goauthentik/elements/CodeMirror";
import { Form } from "@goauthentik/elements/forms/Form";
import "@goauthentik/elements/forms/FormGroup";
import "@goauthentik/elements/forms/HorizontalFormElement";
@@ -111,21 +113,21 @@ export class AdminSettingsForm extends Form {
@@ -151,20 +153,19 @@ export class AdminSettingsForm extends Form {
`}
>
-
- ${msg(
- "This option configures the footer links on the flow executor pages. It must be a valid JSON list and can be used as follows:",
- )}
- [{"name": "Link Name","href":"https://goauthentik.io"}]
-
- `}
- >
-
+
+
+
+ ${msg(
+ "This option configures the footer links on the flow executor pages. It must be a valid JSON list and can be used as follows:",
+ )}
+ [{"name": "Link Name","href":"https://goauthentik.io"}]
+
`;
}
diff --git a/web/xliff/de.xlf b/web/xliff/de.xlf
index 07b465224..09fc4c138 100644
--- a/web/xliff/de.xlf
+++ b/web/xliff/de.xlf
@@ -6287,21 +6287,12 @@ Bindings to groups/users are checked against the user of the event.
attempt to get an avatar from Gravatar, and if the user has not
configured on there, it will fallback to a generated avatar.
-
-
-
-
-
-
-
-
-
@@ -6325,6 +6316,15 @@ Bindings to groups/users are checked against the user of the event.
+
+
+
+
+
+
+
+
+