[Index]
To access the latest documentation, go to Documentation and Resources at: https://voss.portalshape.com
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.
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.
Apply a Login Page Theme When Logging In
The Login page theme can also be applied to the login page during the log in process. To to this, add URL parameter theme=<theme-name> to the login request URL. This applies and overrides any theme that is set as the Login theme.
Note
For Self-service, if the theme value is set as login?theme=cisco_selfservice, the theme reverts to the Self-service theme set as the default.
For example, when two themes are available in the system, XYZ and ABC, and XYZ login page is set as default:
Admin Portal (legacy):
https://instance/login/ - Login page will show use XYZ theme
https://instance/login/?theme=ABC - Login page will show use ABC theme
Admin Portal (introduced at v21.2):
https://instance/portal/#/admin - Login page will show use XYZ theme
https://instance/portal/#/login?targetAppMode=admin&theme=ABC - Login page will show use ABC theme
Business Admin Portal:
https://instance/portal/#/business-admin - Login page will show use XYZ theme
https://instance/portal/#/login?targetAppMode=business-admin&theme=ABC - Login page will show use ABC theme
Controls appearance of web page
Title | Description | Details | |||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Theme Name * | The name that is given to the Theme. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Site Title | Title displayed in the browser tab |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Import File |
|
||||||||||||||||||||||||||||||||||||||||||||||||
Import File Id |
|
||||||||||||||||||||||||||||||||||||||||||||||||
Backup Enabled | Create backup if existing theme exists |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Navbar Text | Text that appears in the Navbar after login |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Description | A description for the Theme. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Use this Theme to style Login page | Determines if this theme is used to style the login page |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Hide from Lower Hierarchies | Indicates if the theme can be viewed and dowloaded at lower hierarchies. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Interface | The selected interface that is associated with the Theme. The interface can be an Administration or Self Service. Default: administration |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Theme Customisation | The colours and images that comprise a theme. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Primary Colour | This is the background colour for most menus and headers, as well as the text colour for links and buttons. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Primary Text Colour | This is the text colour for anything with the primary colour background. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Accent Colour | This colour is used when attention needs to be drawn for important notifications or active buttons and text. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Accent Text Colour | This is the text colour for anything with the accent colour background. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Topbar Colour | The colour used for the top bar of the site. Will use the primary colour if no value is given. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Topbar Text Colour | This is the text colour for the top bar. Will use the primary text colour if no value is given. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Menu Colour | The colour used for the menu on the left. Will use the primary colour if no value is given. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Menu Text Colour | This is the text colour for the menu. Will use the primary text colour if no value is given. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Panel Colour | The colour used for all the panels in the app. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Panel Text Colour | This is the text colour for normal text in the app. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Input Colour | The background colour for input fields. Will use the panel colour if no value is given. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Input Text Colour | The text colour for input fields. Will use the panel text colour if no value is given. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Background Colour | The colour of the background. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Info Notification Colour | The colour used for info notifications. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Info Notification Text Colour | This is the text colour for info notifications. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Success Notification Colour | The colour used for success notifications. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Success Notification Text Colour | This is the text colour for success notifications. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Warning Notification Colour | The colour used for warning notifications. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Warning Notification Text Colour | This is the text colour for warning notifications. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Error Notification Colour | The colour used for error notifications. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Error Notification Text Colour | This is the text colour for error notifications. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Favicon | The favicon for the site. Shown on the tab and when the site is bookmarked. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Favicon Id |
|
||||||||||||||||||||||||||||||||||||||||||||||||
Logo | This image is used for the logo in the top left of the menu bar. Must be a PNG image with a transparent background. Maximum file size is 0.5MiB and maximum dimensions are 600 pixels in width and 192 pixels in height. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Logo Id |
|
||||||||||||||||||||||||||||||||||||||||||||||||
Login Logo | This image is used for the logo on the login page. Must be a PNG image with a transparent background. Maximum file size is 0.5MiB and maximum dimensions are 600 pixels in width and 192 pixels in height. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Login Logo Id |
|
||||||||||||||||||||||||||||||||||||||||||||||||
Login Background | This image is used for the login screen background. Must be a PNG or JPEG image. Maximum file size is 5MiB and maximum dimensions are 1920 pixels in width and 1080 pixels in height. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Login Background Id |
|
||||||||||||||||||||||||||||||||||||||||||||||||
Menu Background | This image is used for the side menu background. Must be a PNG or JPEG image. Maximum file size is 2MiB and maximum dimensions are 240 pixels in width and 1040 pixels in height. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Menu Background Id |
|
||||||||||||||||||||||||||||||||||||||||||||||||
Generate Admin GUI Theme | Generate a new admin GUI theme, overwriting an existing theme of the same name |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Login Page Details | How theme styles the login page |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Title | Title displayed at top of login page |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Banner Text | Banner text displayed at bottom of login page. References to {{cookie_policy}} and {{privacy_policy}} will be replaced with relevant links when displaying the theme. |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Cookie Policy | Reference to resultant hyperlink can be added as {{cookie_policy}} inside the Banner Text field |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Link Text * | Text that will be displayed for the hyperlink |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Link URL * | URL that has Cookie Policy. Opens in a new tab |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Privacy Policy | Reference to resultant hyperlink can be added as {{privacy_policy}} inside the Banner Text field |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Link Text * | Text that will be displayed for the hyperlink |
|
|||||||||||||||||||||||||||||||||||||||||||||||
Link URL * | URL that has Privacy Policy. Opens in a new tab |
|