From 932aff93a96fff5fb2d1e1dc264f944cc78b3f83 Mon Sep 17 00:00:00 2001 From: Derick Montague Date: Thu, 26 Aug 2021 14:06:49 -0500 Subject: Update login page layout This update will: - Change the positioning of the form to be on the left - Add the built on OpenBMC logo to the bottom right corner of the screen - Add the ability to include a GUI custom name using a .env variable. If the variable is not present, the login page will not include the

section heading element. - Remove the word "logo" from the alt attribute for the company logo image used in the application header and on the login page. Github story: https://github.com/openbmc/webui-vue/issues/63 Signed-off-by: Derick Montague Change-Id: I83ac5aecff0b3858c3ab5f38ab1aaa603d59acf1 --- src/layouts/LoginLayout.vue | 108 +++++++++++++++++++++++++++++++++----------- 1 file changed, 81 insertions(+), 27 deletions(-) (limited to 'src/layouts') diff --git a/src/layouts/LoginLayout.vue b/src/layouts/LoginLayout.vue index c2b9af57..cdff2040 100644 --- a/src/layouts/LoginLayout.vue +++ b/src/layouts/LoginLayout.vue @@ -1,23 +1,34 @@ @@ -26,7 +37,8 @@ export default { name: 'LoginLayout', data() { return { - altLogo: `${process.env.VUE_APP_COMPANY_NAME} logo`, + altLogo: process.env.VUE_APP_COMPANY_NAME || 'OpenBMC', + customizableGuiName: process.env.VUE_APP_GUI_NAME || '', }; }, }; @@ -34,25 +46,67 @@ export default { -- cgit v1.2.3