White labeling is used in Apache Stratos to customize the default theme, so that it appears as though the product was designed specifically for the respective organization. The following section describes how the Apache Stratos UI can be white labelled for rebranding purposes.
theme1
folder, which is in the <STRATOS_HOME>/repository/deployment/server/jaggeryapps/console/themes/
directory, and rename the folder using a preferred name (e.g.,Theme2
). The theme name will be defined by the folder name.Theme2
).<STRATOS_HOME>/repository/deployment/server/jaggeryapps/console/themes/<THEME_NAME>/css/custom
directory.<STRATOS_HOME>/repository/deployment/server/jaggeryapps/console/themes/<THEME_NAME>/images
directory. Do not change the file names, file dimensions and file extensions.Navigate to the <STRATOS_HOME>/repository/deployment/server/jaggeryapps/console/
directory.
Update the following themer
function property in the app.js
file. This property defines the currently applied theme.
return '<THEME_NAME>';
For Example:
themer: function () { return 'theme2'; }/*,