Page History
...
First the delimiters to use around StringTemplate variables are set to "$" instead of the default "<" ">" delimiters to be able to use variables within HTML. StringTemplate uses a function call to generate the template: main(context). The context object that is passed with this function call contains all properties as described above. In the funciton function body (between "<<" and ">>") the actual index page is placed, which is a full HTML page.
...
Installing your custom theme is easily done by putting all files in the
Include Page | ||||
---|---|---|---|---|
|
- Create a UI/mvc folder in
and put the custom index file (for example custom_dashboard.stg) here.Include Page _HomeFolder _HomeFolder - Create a webresources/mvc folder in
and put the JavaScript and CSS files here (optionally in /js and /css subfolders).Include Page _HomeFolder _HomeFolder - Add a configuration section for your custom theme to aquima.properties in
root, as described in the Configuration section below.Include Page _HomeFolder _HomeFolder
Configuration
In order to configure your theme so it will be known by the Runtime several properties must be set. The following example shows properties for registering a theme named "custom_dashboard":
...
Overview
Content Tools