This procedure shows you how to change the variables related to the relog prompt for
autologout. It involves setting theme variables.
About this task
The relog prompt allows a user to resume an application after an auto logout
event.The default relog prompt screen has a black background and white text, as in
Figure 1.
This procedure assumes you are comfortable updating theme parts and
themes. For the basic principles behind themes and theme parts, see How customization works. For instructions about adding and modifying
themes and theme parts, see Working with themes. For
information about the underlying GBC infrastructure and its components, see Theme reference.
Identify the theme part you plan to update. If you are creating a new theme
part, prepare the directory.
In the theme part, open the theme.scss.json file in a text editor.
To edit the colors used by the relog prompt, edit the
gbc-SessionLogPromptWidget-color and
gbc-SessionLogPromptWidget-background-color variables. For example:
Log in with the incorrect credentials. The relog prompt should now look as in
Figure 2.
Tip:
You may need to use CTRL + F5 to clear the browser cache before you see your
changes.
If your tests do not behave as expected, ensure
you are using your newly-built custom GBC. Depending on your development
environment, you may need to package and deploy a custom GBC client. For
information on which customization and theme you are using, see Selecting customizations and themes.