Examples of messages for GUI sessions

To understand how the messages in the custom interface file work with the GUI, you can review these example messages.

Messages that you can customize for the GUI include the pre-login message, the post-login message, and system messages.

Example pre-login message

An example that shows the markup for a pre-login message that displays before users log in. In this example, the background color is blue.
<MarkupBanner type="pre-login" background-color="blue">
  XYZ LLC - London
</MarkupBanner>

Example post-login message

An example that shows the markup for a post-login message that displays immediately after users log in. In this example, the text is red, and the word refreshed is in italics.
<MarkupBanner type="post-login" foreground-color="red">
  XYZ cycles after-hour servers each day. Use a <em>refreshed</em> server at all times.
</MarkupBanner>

Example system messages

Examples that show the markup for system messages that continually display in the page header and footer after users log in. System messages can be displayed in the page header, in the page footer, or in both the page header and footer based on the value of the location attribute.

The following example shows the markup for a system message in the page header. In this example, the text is green on a red background.
<MarkupBanner type="system-banner" location="header" foreground-color="green" background-color="red">
  Use a supervisor console to access a public website.
</MarkupBanner>
The following example shows the markup for a system message in the page footer. In this example, the text is blue on a yellow background.
<MarkupBanner type="system-banner" location="footer" foreground-color="blue" background-color="yellow">
  Use a supervisor console to access a public website.
</MarkupBanner>