From b24b8e1170b1828c4176f4ae2ade7aab032d2309 Mon Sep 17 00:00:00 2001 From: Zelzahn Date: Thu, 18 Jul 2024 16:46:46 +0200 Subject: [PATCH] Resolve remarks --- loama/.env.example | 1 + loama/README.md | 4 ++++ loama/src/App.vue | 1 + loama/src/components/InfoPopup.vue | 13 ++++++++----- loama/src/components/LoButton.vue | 9 ++------- loama/src/components/LoginForm.vue | 10 +++------- loama/src/components/SidePanel.vue | 4 ++-- 7 files changed, 21 insertions(+), 21 deletions(-) create mode 100644 loama/.env.example diff --git a/loama/.env.example b/loama/.env.example new file mode 100644 index 0000000..9464dc2 --- /dev/null +++ b/loama/.env.example @@ -0,0 +1 @@ +VITE_DEFAULT_IDP=https://example.podprovider.com/ \ No newline at end of file diff --git a/loama/README.md b/loama/README.md index 6d6253f..665bc72 100644 --- a/loama/README.md +++ b/loama/README.md @@ -2,6 +2,10 @@ This is the actual Access Management App, written in Vue. +## IDP Provider + +Authentication works by providing the URL to the pod provider. To ease the experience a default URL is used, this is specified in the `.env` and used in `components/LoginForm.vue`. An example can be found in `.env.example`. + ## How to run Make sure to **first build the controller!** diff --git a/loama/src/App.vue b/loama/src/App.vue index 87fb468..eed0da4 100644 --- a/loama/src/App.vue +++ b/loama/src/App.vue @@ -44,6 +44,7 @@ p { --off-white: #F7F7F7; --off-black: #170D33; --lama-gray: #DADADA; + --lama-red: #DE4C59; --base-unit: 0.5rem; --base-corner: 0.5rem; } diff --git a/loama/src/components/InfoPopup.vue b/loama/src/components/InfoPopup.vue index 61b79bf..bf5b4e4 100644 --- a/loama/src/components/InfoPopup.vue +++ b/loama/src/components/InfoPopup.vue @@ -1,11 +1,14 @@