Skip to content

Commit

Permalink
Update GUI as IBM (#116)
Browse files Browse the repository at this point in the history
* Update GUI as IBM

- Removed OpenBMC logo on header and login page
- Added <IBM LOGO> ASMI on header and logo in login page
- updated "BMC management system" to "Advanced System Management Interface (ASMI)"
for the login page in .env.ibm

Signed-off-by: Nikhil Ashoka <[email protected]>

* Add bee icon and optimize logo SVGs

Co-authored-by: Dixsie Wolmers <[email protected]>
  • Loading branch information
2 people authored and rfrandse committed Jun 30, 2022
1 parent 25451b7 commit 483a645
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .env.ibm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NODE_ENV=production
VUE_APP_ENV_NAME=ibm
VUE_APP_COMPANY_NAME="IBM"
VUE_APP_GUI_NAME="BMC System Management"
VUE_APP_GUI_NAME="Advanced System Management Interface (ASMI)"
CUSTOM_STYLES=true
CUSTOM_APP_NAV=true
CUSTOM_ROUTER=true
Expand Down
1 change: 1 addition & 0 deletions public/bee-1-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/bee-2-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="icon" href="<%= BASE_URL %>bee-2-light.svg">
<title>OpenBMC Web UI</title>
</head>
<body>
Expand Down
1 change: 0 additions & 1 deletion src/assets/images/login-company-logo.svg

This file was deleted.

1 change: 1 addition & 0 deletions src/assets/images/login-ibm-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion src/assets/images/logo-header.svg

This file was deleted.

1 change: 1 addition & 0 deletions src/assets/images/logo-ibm-header.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 14 additions & 2 deletions src/components/AppHeader/AppHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,17 @@
</b-button>
<b-navbar-nav>
<b-navbar-brand
class="mr-0"
class="mr-0 logo-header"
to="/"
data-test-id="appHeader-container-overview"
>
<img
width="50px"
class="header-logo"
src="@/assets/images/logo-header.svg"
src="@/assets/images/logo-ibm-header.svg"
:alt="altLogo"
/>
<span class="pl-1 nav-tags header-text">{{ headerText }}</span>
</b-navbar-brand>
<div v-if="isNavTagPresent" :key="routerKey" class="pl-2 nav-tags">
<span>|</span>
Expand Down Expand Up @@ -137,6 +139,7 @@ export default {
return {
isNavigationOpen: false,
altLogo: process.env.VUE_APP_COMPANY_NAME || 'Built on OpenBMC',
headerText: 'ASMI',
};
},
computed: {
Expand Down Expand Up @@ -381,4 +384,13 @@ export default {
outline: 0;
}
}
.logo-header {
display: flex;
align-items: center;
}
.header-text {
font-size: 22px;
}
</style>
9 changes: 1 addition & 8 deletions src/layouts/LoginLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="login-brand mb-5">
<img
width="90px"
src="@/assets/images/login-company-logo.svg"
src="@/assets/images/login-ibm-logo.svg"
:alt="altLogo"
/>
</div>
Expand All @@ -20,13 +20,6 @@
<div class="login-aside__logo-brand">
<!-- Add Secondary brand logo if needed -->
</div>
<div class="login-aside__logo-bmc">
<img
height="60px"
src="@/assets/images/built-on-openbmc-logo.svg"
alt="Built on OpenBMC"
/>
</div>
</div>
</div>
</main>
Expand Down
Loading

0 comments on commit 483a645

Please sign in to comment.