RodrigoDLopez opened a new pull request, #6504:
URL: https://github.com/apache/cloudstack/pull/6504
### Description
When the user resizes the page to a certain point, or clicks the button to
collapse the side menu, the logo configured in the environment is cropped to
fit the size of the menu. The default logo of the ACS has a design in such a
way that this behavior does not impact the presentation of the same, which,
when cut, becomes a kind of "mini logo".
An extension was made to allow the administrator to define a logo for when
the side menu is collapsed. In order to customize this behavior, the logo and
mini logo properties in the
`/usr/share/cloudstack-management/webapp/config.json` configuration file must
be changed. These changes need to be performed on all MS nodes in the
environment.
The properties referring to this enhancement are presented below, note that
other properties of this file were omitted to avoid polluting the document.
```
{
[..]
"logo": "assets/logo.svg",
"minilogo": "assets/mini-logo.svg",
[..]
"theme": {
"@logo-background-color": "#ffffff",
"@mini-logo-background-color": "#ffffff",
[..]
"@logo-width": "256px",
"@logo-height": "64px",
"@mini-logo-width": "80px",
"@mini-logo-height": "64px",
}
}
```
### Types of changes
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] Enhancement (improves an existing feature and functionality)
- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
#### Feature/Enhancement Scale
- [ ] Major
- [x] Minor
#### Bug Severity
- [ ] BLOCKER
- [ ] Critical
- [ ] Major
- [ ] Minor
- [ ] Trivial
### How Has This Been Tested?
Sets icons for logo and mini-logo and resize the page to see if the logo
changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]