Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support css style for IPS #244

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions meta-ibm/recipes-phosphor/webui/webui-vue/changeLogo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

model=($(busctl get-property xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system xyz.openbmc_project.Inventory.Decorator.Asset SubModel))
DIR=/usr/share/www/img
CSS_DIR=/usr/share/www/css
if [ "${model[1]}" = '"S0"' ] || [ "${model[1]}" = '"D0"' ]; then
echo "Using IBM logo"
elif [ "${model[1]}" = '"J0"' ]; then
echo "loading IPS logo"
mount --bind ${DIR}/inspur-login-logo.svg.gz ${DIR}/login-company-logo.svg.gz
mount --bind ${DIR}/inspur-logo-header.svg.gz ${DIR}/logo-header.svg.gz
mount --bind ${DIR}/blankLogo.svg.gz /usr/share/www/bee-2-light.svg.gz
mount --bind ${CSS_DIR}/ips.app.css.gz ${CSS_DIR}/app.css.gz
else
echo "loading OEM logo"
mount --bind ${DIR}/blankLogo.svg.gz ${DIR}/login-company-logo.svg.gz
Expand Down