[Index]
Overview
Themes allow you to configure the look and feel of the entire user interface, including images, logos, colors, fonts, sizing, and positioning. Themes can also be used to manage the login and interface header text, and the theme you choose can be applied to the Login page.
You can add any number of new themes, and edit existing themes. VOSS Automate ships with a default theme, which can be used as a baseline template.
Themes are associated with user roles, and are typically associated with a specific customer (company).
Related Topics
Less Files and Customizing Themes in the Advanced Configuration Guide
Create a Theme in the Admin Portal in the Core Feature Guide
Managing Themes
There are two ways to manage themes in the Admin Portal:
File-based themes (Less files) | If you're using a file-based theme, this takes precedence. This is a CSS file that may be added, downloaded/exported, edited, and re-imported, to apply a theme. For more information, see Less Files and Customizing Themes in the Advanced Configuration Guide. |
Custom branding options | Configured directly within the GUI |
Note
File-based themes are not used for the Admin Portal.
To access theme management functionality in the Automate Admin Portal, go to (default menus) Role Management > Themes.
Securing Themes
When importing a file-based theme to VOSS Automate at a particular hierarchy, you can choose to hide the theme from users at lower levels of the hierarchy via this setting on the Themes page: Hide from Lower Hierarchies.
In this case, the theme won't display in the list view for admins at lower levels of the hierarchy.
Applying a Theme to the User Interface
When importing or updating a file-based theme, you can choose the interface where the theme should apply, either the Admin Portal (default), or to the Self-service interface. If no interface is specified, the default applies.
In the Themes settings (via Use this Theme to style Login page), you can choose to apply a theme used for an interface, to also apply to the Login page across the system, for the selected interface.
Note
Currently, the system allows only a single theme to be applied to the Login page per interface. This means that a new or updated theme applied to a combination of interface and Login page for an existing theme overwrites the theme applied to the Login page style on the existing theme with the same interface setting.
The Login page theme can also be applied to the Login page when logging in. In this case, you add a suffix to the login request URL.
This section describes how to manage themes in the VOSS Automate legacy Admin portal.
Add a Theme in the Legacy Admin Portal
This procedure adds a theme on the legacy Admin GUI, and involves two steps:
It is recommended that you use an export of an exiting theme as a baseline, and update it with a new name, images, and colours, as required.
Prerequisites:
To prepare the theme file:
Create a folder with the same name as the theme you want to create, and unzip the exported theme to this folder.
Note
Add any CSS overrides to the file.
Note
You can only modify the definitions as shown in the export of a provided CSS file (skin.css).
Add required image files to the folder (if any).
For image filenames, you can use the following characters and character types:
ALPHA / DIGIT / "-" / "." / "_" / "~"/ "#"
Important
If customization is done on MS Windows, check that no desktop.ini files reside in the directory tree of the theme before compressing it.
Create a .zip archive file with the same filename as the folder.
This procedure imports a prepared file to add a theme in the legacy Admin Portal.
Pre-requisites:
To add a theme file to the Admin GUI:
Log into the VOSS Automate Admin GUI (legacy).
Choose the hierarchy level at which the theme will be created.
Go to (default menu) Role Management > Themes.
On the Themes list view, click Add to open the Themes page.
On the Base tab:
Add the theme name, which must be the same as the theme file name.
Note
Valid characters allowed for the theme name are in the range: a-zA-Z0-9_
Enter the navigation bar (navbar) text, if required. This text displays on the navigation bar next to the logo.
Optionally, add a description.
To apply the theme to the Login page, select Use this Theme to style Login page.
Note
Applies to the relevant Login page, either Self-service or Admin Portal. To change the banner text for the Login page, see Set the Login Page Theme.
To prevent admins at lower levels of the hierarchy viewing this theme in the list view, select Hide from Lower Hierarchies.
Add a site title, if required. The site title displays in the browser tab.
Browse to the location of the theme zip file. Wait for the file to display in the Import File field.
Optionally, select Backup Enabled to create a backup of the current theme on the server (if an existing theme file exists).
Choose the interface where this theme will apply, either Administration (default) or Self-service.
To customize the theme, update fields on the Theme Customization tab. See Create a Theme in the Business Admin Portal.
Note
All fields on this tab become mandatory once you enter any details on this tab.
To customize the Login page, update fields on the Login Page Details tab. See Set the Login Page Theme
Click Save.
Important
Do not leave the screen until the theme processing completes and the theme list refreshes. This can take a few minutes, depending on the complexity of the theme you're uploading.
Download and Update a Theme on the Legacy Admin Portal
This procedure downloads an existing theme, edits it, and re-uploads it to the legacy Admin Portal.
Pre-requisites:
To download and update a theme:
Log in to the legacy Admin Portal.
Choose the hierarchy level at which the theme will be applied.
Go to (default menu) Role Management > Themes.
On the Themes list view, click on the theme you wish to download.
Click Action > Download. The file is downloaded as a .zip archive with the name of the theme, and contains a folder with the theme name, and the following files:
Edit the files.
When editing is complete, ensure the directory folder name is the same as your theme name, then compress the folder and save the file with the theme name and a .zip file extension.
Note
Important
If customization is done on MS Windows, check that no desktop.ini files reside in the directory tree of the theme before compressing it.
Import the updated theme:
Note
No file upload is required if the theme update does not require an updated CSS in a zip file but only updates the text of the theme.
Customize Login Page Theme and Text in the Legacy Admin Portal
This procedure applies a theme and updates the text of the Login page, in the legacy Admin Portal.
Log in to the legacy Admin Portal.
Choose the hierarchy where the theme was created, or where it belongs.
Go to (default menu) Role Management > Themes.
On the Themes list view, click on the theme you want to use for the Login page.
Update the Base tab:
Select the Use this Theme to style Login page.
Note
When selecting this checkbox and a theme with the same Interface already has the Login page checkbox selected, this option is disabled on the existing theme as there can only be one Interface-Login page combination on the system.
Any new themes, or updates to existing themes, may modify other themes on the system with the same Interface by disabling their Login page attributes.
If no Interface is specified, the interface of the new Login theme defaults to Administration.
Update the Login Page Details tab:
Add title text, which is used for the top of the Login page.
Add banner text (limited to 2048 characters), which is used at the bottom of the Login page.
Add references to the cookie policy and privacy policy in the Banner Text field. These are added as placeholders:
Note
You can add multiple lines for the banner text, including paragraphs. Banner text displays exactly as you add it to this field. Cookie and security references show as links that open in a new browser tab.
Optional. In the Cookie Policy field and the Privacy Policy field, add link text captions and a URL for each policy.
Note
Although the cookie and privacy policy references are optional, the captions and URLs are mandatory if they're used, and the placeholder references are then also required in the Banner Text field.
For suggested input on the use of cookies by VOSS Automate in the cookie policy text, see VOSS Automate Cookie Policy.
Browsers with blockers installed that prevent new tabs from opening will affect the functionality of links in the login banner.
Privacy policy links can also be added to user menus. See Privacy Policy Menu Items and Manage Privacy Policy Menu Items.
To customize the banner text style, see "Theme Banner Customization" in the Advanced Configuration Guide.
Click Save.
To access the latest documentation, go to Documentation and Resources at: https://voss.portalshape.com
Prepare the theme file:
The recommended procedure is to use an export of an exiting theme as a baseline and update it with a new name, images and colours as required. Refer to Download and Update a Theme for details.
Create a folder with the required name of the theme and un-zip the exported theme in it, maintaining directory structure.
The name of the folder must be the same as the intended theme name (only alphanumeric characters or underscore can be used, with no spaces or special characters).
Add any CSS overrides to the file. Note that only the definitions as shown in the export of a provided CSS file skin.css can be modified.
Add required image files in this folder (if any).
Important
If customization is done on MS Windows, check that no desktop.ini files reside in the directory tree of the theme before compressing it.
Create a .zip archive file with the same filename as the folder.
Add the theme to the system:
Choose the hierarchy level at which the theme will be created.
Choose Role Management > Themes to open the Themes list view.
Click Add on the button bar to open the Themes input form. Note that themes can only be customized by a Provider Administrator (or higher).
Enter the Theme Name (same as the file name created above).
Enter Navbar Text if needed. This will show on the navigation bar next to the logo.
Enter an appropriate Site Title if required. The site title entered here is the text displayed in the browser tab.
Click the Browse button to import the created theme zip file. Wait until the system displays the file chosen in the Import File field.
If the theme must also apply to the login page, select the Use this Theme to style Login page check box.
To set login banner text and notices on the login page, refer to Set the Login Page Theme. The Use this Theme to style Login page check box does not have to be selected for banner text to show.
If you want to hide the theme from lower level hierarchies, select the Hide from Lower Hierarchies check box. Users logged in at lower level hierarchies will not be able to see that particular theme on the Themes list view screen.
For details on the Theme Customization tab controls, refer to Create a Theme in the Business Admin Portal.
Note
If any details are added on this tab, all fields should be provided with input.
Choose Interface to which the theme applies from the drop down. By default the theme applies to the Administration interface.
Click Save on the button bar when complete.
Note
Do not leave the screen until the processing of the theme completes and theme list is refreshed. This can take a few minutes depending on details and complexity of theme uploaded.
Overview
You can use the Themes page in the Admin Portal to create a theme.
Note
To access the Themes page in the Admin Portal, go to (default menus) Role Management > Themes or use the Search bar to locate the page.
You can select the following tabs on the Themes page in the Admin Portal:
Themes Page
On the Theme Details tab of the Themes page you specify theme details:
Provide a theme name and a description
Note
Valid characters allowed for the theme name are in the range: a-zA-Z0-9_.
Specify navigation bar text
Define whether to use the theme to style the Login page
Define whether to hide the theme from lower hierarchies
Specify the site title
Upload a custom theme file, if applicable
Enable or disable backups
Define the GUI where the theme is applied
On the Branding tab, you can change colors via the color picker or by typing in the color hex value. When no colors are chosen in this tab, the defaults apply.
When uploading images for the theme:
Note the file size and width x height pixel dimension size restrictions. A system message displays if the image is too large.
Only PNG files are supported for the Logo image. Other images can be PNG or JPEG.
For image filenames, you can use the following characters and character types:
ALPHA / DIGIT / "-" / "." / "_" / "~"/ "#"
Image details:
The Login Page Details tab defines the theme for the Login page, including the title and banner text, cookie policy and privacy policy details.
If you add banner text (limited to 2048 characters), this is used at the bottom of the Login page.
References to the cookie policy and privacy policy in the Banner Text field should be added as placeholders, which will then resolve to the Cookie Policy and Privacy Policy data entered. The placeholders are:
Note
You can add multiple lines for the banner text, including paragraphs. Banner text displays exactly as you add it to this field. Cookie and security references show as links that open in a new browser tab.
Custom Themes
You can create a custom theme to change the following properties of the Admin Portal:
Primary and accent colors
Logo image
Login screen background image
If the background image also contains logos, it is recommended that these be placed on the bottom of the image.
Background image for menu
Browser tab title
Themes created in the Admin Portal can't be exported in full.
Custom Theme File
If you're configuring a theme in the Admin Portal, you can upload a custom Admin Portal theme file. Alternatively, you can customize a theme via the Branding tab settings.
Preview a Theme
When creating a theme, you can use the toolbar Preview icon to see what your theme looks like before assigning it to a user role. Once you assign a theme to a user role it is applied to the GUI.
Choose the hierarchy level at which the theme will be applied. Note that themes can only be customized by a Provider Administrator (or higher).
Choose Role Management > Themes to open the Themes list view.
Click the theme that you want to download.
Click Action > Download on the button bar to download the theme. The exported file is a .zip archive with the name of the theme. The archive contains a folder with the theme name and files called skin.css and skin.less in it.
Refer to the recommended practice to edit the Less file at the end of this topic, otherwise save the file and open the CSS file in a text editor.
When editing is complete, make sure the directory folder name is the same as your theme name. Compress the folder and save the file with the theme name and a .zip file extension.
An error message will display on the user interface if the file does not have a valid file extension.
Note that any files or folders inside the zip file archive that start with a '.' character will be silently discarded when unzipping the theme. For example, if the zip archive contains any files named ._.DS_Store or .directory, they will be ignored.
Important
If customization is done on MS Windows, check that no desktop.ini files reside in the directory tree of the theme before compressing it.
Choose Themes:
For an update, choose the theme name and click Browse adjacent to Import File and then open the same theme name. Optionally select the Backup Enabled check box to create a backup of the current theme on the server. Click Save to complete the import process.
If a theme update does not require an updated CSS in a zip file but only updates the text of the theme, then no file upload is required. For information about the other fields on this form, refer to the topic on adding a theme.
To delete a theme, choose it from the list and click Action > Delete.
The preferred way to edit a theme is to edit and compile the Less files. Refer to the "Less files and Theme Customization" topic in the "Advanced Configuration Guide".
For an introduction to Less, visit the official website [http://lesscss.org/]. To compile the Less theme, a Less compiler is required. The following list shows examples:
Note
Color selection on the Branding tab of a theme always affects the Admin Portal.
To edit and manage theme files:
Refer to Less files and Theme Customization in the Advanced Configuration Guide.
- Color selection is optional. Where no colors are selected, defaults apply.
- If manual input of color Hex values is required, ensure the value is prefixed with #.
Admin Portal Default Colors
Default Color Reference Table:
Title | Field Name | Default Value (Hex) | Notes |
---|---|---|---|
Primary Color | primary_colour | #000046 | This is the background color for most menus and headers, as well as the text color for links and buttons. |
Primary Text Color | primary_text_colour | #ffffff | This is the text color for anything with the primary color background. |
Accent Color | accent_colour | #007fb0 | This color is used when attention needs to be drawn for important notifications or active buttons and text. |
Accent Text Color | accent_text_colour | #ffffff | This is the text color for anything with the accent color background. |
Topbar Color | topbar_colour | #000046 | The color used for the top bar of the site. Will use the primary color if no value is given. |
Topbar Text Color | topbar_text_colour | #ffffff | This is the text color for the top bar. Will use the primary text color if no value is given. |
Menu Color | menu_colour | #000046 | The color used for the menu on the left. Will use the primary color if no value is given. |
Menu Text Color | menu_text_colour | #ffffff | This is the text color for the menu. Will use the primary text color if no value is given. |
Panel Color | panel_colour | #f2f2f2 | The color used for all the panels in the app. |
Title | Field Name | Default Value (Hex) | Notes |
---|---|---|---|
Panel Text Color | panel_text_colour | #000000 | This is the text color for normal text in the app. |
Input Color | input_colour | #ffffff | The background color for input fields. Will use the panel color if no value is given. |
Input Text Color | input_text_colour | #414042 | The text color for input fields. Will use the panel text color if no value is given. |
Background Color | background_color | #e6e7e8 | The color of the background behind panels. |
Info Notification Color | info_notification_colour | #00ade5 | The color used for info notifications. |
Info Notification Text Color | info_notification_text_colour | #ffffff | This is the text color for info notifications. |
Success Notification Color | success_notification_colour | #68bd17 | The color used for success notifications. |
Success Notification Text Color | success_notification_text_colour | #ffffff | This is the text color for success notifications. |
Warning Notification Color | warn_notification_colour | #fbc403 | The color used for warning notifications. |
Warning Notification Text Color | warn_notification_text_colour | #000000 | This is the text color for warning notifications. |
Error Notification Color | error_notification_colour | #dc0c00 | The color used for error notifications. |
Error Notification Text Color | error_notification_text_colour | #ffffff | This is the text color for error notifications. |
On the Admin Portal, consider the color selection on the Branding tab:
Note
Admin Portal
Base
Title | field name | Description |
---|---|---|
Theme Name * | name | The name that is given to the Theme. |
Navbar Text | banner_title | Text to display on the top navigation bar of the Admin Portal. |
Use this Theme to style Login page | is_login_theme | Should Login page use this theme? Applies to the relevant theme's login page: either the Self-service or Admin Portal. |
Site Title | title | The title for the site |
Import File * | import_file | |
Backup Enabled | backup | Create backup if existing theme exists |
Login Page Details
Title | title | Title displayed at top of login page. |
Banner text | banner | Banner text displayed at bottom of login page. |
Title | Description | Details |
---|