Skip to content

Branding

jniederm edited this page Jun 29, 2017 · 5 revisions

Branding

Branding package content

/usr/share/ovirt-web-ui-branding-<name>

  • file fixed-strings.json containing non-translatable strings
  • file branding.css containing css class rules, all prefixed by obrand-
  • directory media containing locale specific resources
  • TODO file(s) for localized strings, probably multiple *.properties files

/usr/share/ovirt-web-ui/branding-<name>

A link to directory containing branding assets.

Default oVirt branding

Default branding is located at /usr/share/ovirt-web-ui/default-branding

Validation

Content of validation package is not validate. It's responsibility of branding package developer to provide all branding assets. Default branding can be used as an example.

All redundant items are ignored.

Web-ui app fails to start is there is more than branding package installed.

How it works

index.jsp resolves path to current branding:

  • if there is no branding package installed, it's /usr/share/ovirt-web-ui/default-branding
  • if there are more file entries matching /usr/share/ovirt-web-ui/branding-*, the jsp shows an error
  • folder /usr/share/ovirt-web-ui/branding-* is used
Clone this wiki locally