This document describes the steps involved in skinning the OPSUI web application and/or using the pre-existing skins.
Using existing skins
Currently, 3+ skins are provided by default within OPSUI. See below for examples.
Skin name |
Screenshot |
---|---|
"cleanwhite" (default) |
|
"navyblue" |
|
"classic" |
|
To switch between skins:
- Open up the 'context.xml' file within your deployed webapplication archive (war) file. This is usually located within opsui/MET-INF/context.xml
- Scroll to the bottom of the file
- Change the value for the property "opsui.skin" to one of the values listed in the above table.
- Reload your web-application, or restart your servlet container.
- NOTE: if you have deployed a ".war" file within tomcat/webapps, in order to change your context.xml without having your changes overwritten, you must deploy your webapp as a pre-extracted directory within webapps. If you do not do this, than your modifications to context.xml may be ignored or overwritten each time tomcat restarts.
Create your own skin
Coming soon...