Themes are sets of CSS and image files stored in a folder in the repository. The root of the repository has a Themes folder where default and active themes are stored. In the repository browser, the Themes folder and individual theme folders have special actions for administrators to manage them. You can also use the repository search to find CSS and image files.
The folders and actions for managing themes are visible only to administrators. The Themes folder has execute-only permission for ROLE_USER so that all users can load the theme files and see the user interface, but not access the folders and files in the repository.
This section gives the basic procedures for administering existing themes. To create theme folders and files, see Creating Themes. For information about how to work with CSS in themes, see Working With CSS Files.
This procedure assumes you have already created and uploaded your theme:
1. | Log into JasperReports Server as administrator (jasperadmin). |
2. | Click View > Repository and expand the root/Themes folder if necessary. |
3. | Right-click the chosen theme folder and select Set as Active Theme. |
For example, the sample data includes a theme called jasper_dark that you can set as active.
Setting a Theme |
As soon as the screen is refreshed, you see the effect of the new theme. Notice how the jasper_dark theme changes the colors in the user interface with just the overrides_custom.css file and some image files.
The Sample Theme jasper_dark |
When you change the theme, it applies immediately to all users on the server. Also, the new theme applies to the login page, as shown in the following figure.
The Login Page as Seen With a New Theme |
Recommended Comments
There are no comments to display.