MashZone NextGen Administration : MashZone NextGen Server Configuration : Edit style templates
Edit style templates
You have MashZone NextGen administrator permissions.
You can edit the style templates supplied with MashZone NextGen Dashboard. Editing the style templates enables you to customize the look and feel of your dashboards and the Dashboard component itself, e. g., colors schemes, fonts, brand logo or background colors.
The application style template file application.less is located in the following folder on the MashZone NextGen server.
<MashZone NextGen installation>\apache-tomee-jaxrs\webapps\presto\hub\dashboard\assets\custom-look-and-feel\application.
The dashboard style template files are located in the following folder on the MashZone NextGen server. The default dashboard template file is named default.less.
<MashZone NextGen installation>\apache-tomee-jaxrs\webapps\presto\hub\dashboard\assets\custom-look-and-feel\dashboard
The style templates provide basic variables that are used as default by many components, e.g. @header-color. You can override the basic variables by defining more specific, customized variables, e.g. @header-dashboard-name-color.
For example, if @header-color is black and @header-dashboard-name-color is red and both variables are the only ones defined, all labels in the header will be black except of the dashboard name label, it will be red.
All available application and dashboard variables are described in the corresponding style template files.
Procedure
1. Open the relevant template style file in your text editor.
2. Edit the style parameters according your requirements.
3. Save your changes.
4. Reload the changed style template files into MashZone NextGen Dashboard.
a. Open MashZone NextGen Dashboard
b. Click Manage > Change style template in the Dashboard main menu.
c. To reload the application style template click Compile to CSS.
d. To reload the dashboard style template select the relevant dashboard style template in the drop-down menu and click Compile selected to CSS.
5. Click OK.
The changed style template has been reloaded into MashZone NextGen Dashboard and the style templates apply to the application or dashboard.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback