Skip to content

Branding

jniederm edited this page Jan 15, 2018 · 5 revisions

It allows to change look & feel of web-ui by changes css, application strings and graphics.

Branding package content

  • style.css
  • brand.css - css rules inherited from the engine
  • fixed-strings.json - application strings that are not translated, corresponds to src/branding.js#fixedStrings type
  • graphics resources

How it works

Development mode

I.e. yarn run start. There is no branding option. The app uses default oVirt branding stared in branding directory relative to the build root.

Deployed in ovirt-engine

App is served under /ovirt-engine/web-ui (unless configured otherwise). There is a branding.jsp serving branding resources under /ovirt-engine/web-ui/branding/*. Branding resources are located in folder that is

  • in /etc/ovirt-web-ui/branding
  • has .brand suffix
  • alphabetically first.

By default this is a symlink 00-ovirt.brand pointing to /usr/share/ovirt-web-ui/branding/ovirt.

Clone this wiki locally