Skip to main content

Template and asset overrides

The module comes with whitelabel defaults for the client area. You can however override the template, JS and CSS files with your own. The defaults are neither pre-compiled nor minified for ease of editing, they also contain comments to explain what's going on.

To override a default file, simply copy the default into overrides and then apply your changes to that file:

cp views/client/virtual_machines/overview.tpl overrides/views/client/virtual_machines/overview.tpl

Your override file will then be used instead of the default. Overrides can be used for any files in assets or views. An example directory structure is provided by default but is not required.