From 026314e665fbeb9e0ba36df56344277db0472869 Mon Sep 17 00:00:00 2001 From: Lucas ONeil Date: Fri, 10 Nov 2023 16:01:00 -0800 Subject: [PATCH] More cfg UI Signed-off-by: Lucas ONeil --- .../innkeeper/config/ServerConfig.vue | 146 +++++++++++++++++- .../frontend/src/plugins/i18n/locales/en.json | 45 ++++-- .../frontend/src/plugins/i18n/locales/fr.json | 62 ++++++-- .../frontend/src/plugins/i18n/locales/ja.json | 63 ++++++-- 4 files changed, 279 insertions(+), 37 deletions(-) diff --git a/services/tenant-ui/frontend/src/components/innkeeper/config/ServerConfig.vue b/services/tenant-ui/frontend/src/components/innkeeper/config/ServerConfig.vue index c6874b716..66ff8471a 100644 --- a/services/tenant-ui/frontend/src/components/innkeeper/config/ServerConfig.vue +++ b/services/tenant-ui/frontend/src/components/innkeeper/config/ServerConfig.vue @@ -5,6 +5,7 @@ >
+

{{ $t('serverConfig.acapyVersion') }} {{ serverConfig?.config?.version }} @@ -12,11 +13,14 @@

{{ $t('serverConfig.tractionProxy') }} {{ config.frontend.tenantProxyPath }} - + + +

+
+ +
+

+ {{ + $t('serverConfig.storage.walletStorageConfig') + }} + {{ serverConfig?.config?.['wallet.storage_config'] }} +

+

+ {{ + $t('serverConfig.storage.walletStorageType') + }} + {{ serverConfig?.config?.['wallet.storage_type'] }} +

+

+ {{ $t('serverConfig.storage.walletType') }} + {{ serverConfig?.config?.['wallet.type'] }} +

+

+ {{ + $t('serverConfig.storage.multitenantWalletName') + }} + {{ serverConfig?.config?.['multitenant.wallet_name'] }} +

+

+ {{ + $t('serverConfig.storage.multitenantWalletType') + }} + {{ serverConfig?.config?.['multitenant.wallet_type'] }} +

+
+ + +
@@ -52,21 +94,113 @@
+
+

+ {{ $t('serverConfig.tenants.token') }} + {{ + serverConfig?.config?.plugin_config?.multitenant_provider + ?.token_expiry?.amount + }} + {{ + serverConfig?.config?.plugin_config?.multitenant_provider + ?.token_expiry?.units + }} +

+

{{ $t('serverConfig.tenants.reservation') }}

+

+ {{ + $t('serverConfig.tenants.reservationExpiry') + }} + {{ + serverConfig?.config?.plugin_config?.traction_innkeeper + ?.reservation?.expiry_minutes + }} +

+

+ {{ + $t('serverConfig.tenants.reservationAutoApprove') + }} + {{ + serverConfig?.config?.plugin_config?.traction_innkeeper + ?.reservation?.auto_approve + }} +

+

+ {{ + $t('serverConfig.tenants.reservationAutoIssuer') + }} + {{ + serverConfig?.config?.plugin_config?.traction_innkeeper + ?.reservation?.auto_issuer + }} +

+

+ {{ $t('serverConfig.tenants.reservationOidc') }} + {{ config.frontend.showOIDCReservationLogin }} +

+
+
+ + +
+ +
+ +
+
+
+
+
+ + +
-

+

+ {{ $t('serverConfig.tenantUi.showWrite') }} + {{ config.frontend.showWritableComponents }} +

+

+ {{ $t('serverConfig.tenantUi.sessionExpiry') }} + {{ + $t('serverConfig.tenantUi.sessionExpiryVal', [ + config.frontend.session?.timeoutSeconds, + config.frontend.session?.countdownSeconds, + ]) + }} +

+

+ {{ $t('serverConfig.tenantUi.oidc') }} + {{ config.frontend.oidc?.authority }} +

+ + + + +
+ +
+ +
+
-