From 80038940a8147a83535a746d5e6e1c60cd334a2c Mon Sep 17 00:00:00 2001 From: Nick Muerdter <12112+GUI@users.noreply.github.com> Date: Wed, 24 Jan 2024 21:21:58 -0700 Subject: [PATCH] Provide message for making admin changes. --- config/schema.cue | 3 ++- src/api-umbrella/admin-ui/app/styles/_base.scss | 4 ++++ .../admin-ui/app/templates/admin-groups/index.hbs | 2 ++ src/api-umbrella/admin-ui/app/templates/admins/index.hbs | 2 ++ src/api-umbrella/admin-ui/app/templates/api-scopes/index.hbs | 2 ++ .../app/templates/components/admin-groups/record-form.hbs | 4 ++++ .../admin-ui/app/templates/components/admins/record-form.hbs | 4 ++++ .../app/templates/components/api-scopes/record-form.hbs | 4 ++++ src/api-umbrella/web-app/actions/admin/sessions.lua | 1 + 9 files changed, 25 insertions(+), 1 deletion(-) diff --git a/config/schema.cue b/config/schema.cue index b4a6bc551..ae6b43798 100644 --- a/config/schema.cue +++ b/config/schema.cue @@ -884,7 +884,8 @@ import "path" override_public_http_proto?: "http" | "https" override_public_https_proto?: "http" | "https" - contact_url?: string + contact_url: string | *"/contact/" + admin_contact_url: string | *"/contact/" http_proxy?: string https_proxy?: string diff --git a/src/api-umbrella/admin-ui/app/styles/_base.scss b/src/api-umbrella/admin-ui/app/styles/_base.scss index 34aa1a9d0..42e599c51 100644 --- a/src/api-umbrella/admin-ui/app/styles/_base.scss +++ b/src/api-umbrella/admin-ui/app/styles/_base.scss @@ -151,3 +151,7 @@ a:hover { .ui-pnotify-text p:last-of-type { margin-bottom: 0px; } + +.alert a { + text-decoration: underline; +} diff --git a/src/api-umbrella/admin-ui/app/templates/admin-groups/index.hbs b/src/api-umbrella/admin-ui/app/templates/admin-groups/index.hbs index ccf4b99e7..f6648e405 100644 --- a/src/api-umbrella/admin-ui/app/templates/admin-groups/index.hbs +++ b/src/api-umbrella/admin-ui/app/templates/admin-groups/index.hbs @@ -4,6 +4,8 @@
+{{else}} +