Docs/Portal & branding/Building the sign-in and home pages
DartRelay 2.5 documentation
Portal & branding

Building the sign-in and home pages

The sign-in page, the home page and the footer of every theme are built from blocks you add, arrange and configure. This page walks through the builder, every block type and the settings that matter most.

Before you begin

How the builder works

Open a theme with Edit. Two tabs hold page layouts:

The footer has its own builder at the bottom of the Base tab (see The footer).

Each builder is a column of blocks, top to bottom. Above them is an add-block row listing the block types that page allows. Each block has a header with a grip (⠿) for dragging, its name, and buttons to move it up or down, duplicate it and remove it. Its settings sit underneath.

Safety nets you can rely on

Build or change a page

  1. Open the theme. Go to Appearance → Portal Themes and click Edit on your theme.
  2. Choose the page. Click the Login Page or After Login tab.
  3. Add a block. Click a block type in the add-block row. It appears at the bottom of the list.
  4. Move it into place. Drag it by its grip, or use the up and down arrows. You can drag a block into or out of a column.
  5. Configure it. Fill in its settings. Click the caret in a block's header to fold it away while you work on others; a folded block can still be dragged.
  6. Preview. Click Preview page. A pop-up shows the page with your current blocks, saved or not, and refreshes itself while you edit.
  7. Save. Click Save. Anybody who reaches an address using this theme sees the new page on their next page load.

A page may hold up to 60 blocks, counting the blocks inside columns. Some blocks may appear only once per page (the Sign-in form, the Apps panel, Search, Sort, the Layout switch, the Hero panel, Password expiry); the builder stops you adding a second.

Block types

The table shows every block and where it can be used.

BlockWhat it doesSign-inHomeFooter
Sign-in formThe username and password form, and any sign-in buttons. See below.Yes——
LogoThe theme's logo or mini logo, or a picture you upload in its place.YesYesYes
HeadingA title. {user} is replaced by the signed-in person's name on the home page.YesYesYes
TextA paragraph of plain text. Also accepts {user}.YesYesYes
HTMLFormatted text written in a rich editor: bold, italic, underline, two heading sizes, lists, quotes, links, a horizontal rule, and a source view.YesYesYes
ImageA picture, uploaded or by address, with alternative text and an optional link.YesYesYes
ButtonA button that links to a web address (https://, mailto: or a path starting /).YesYesYes
Spacer / DividerEmpty space, or a horizontal line.YesYesYes
Social iconsSmall marks linking to your social pages.YesYesYes
Contact listUp to four rows, each a mark, a title and a line, such as a service-desk phone number and email address.YesYesYes
ColumnsTwo to five side-by-side columns that hold other blocks. See below.YesYesYes
AnnouncementsThe notice board for Announcements.YesYes—
Hero panelThe header bar with the logo, session tabs and the user menu. See below.—Yes—
Apps panelThe person's resources. See below.—Yes—
SearchA box that filters the resources as the person types.—Yes—
SortA menu to sort resources by name, type, host or recently used.—Yes—
Layout switchGrid and List buttons so each person chooses how resources are shown. Display as icon and text, icon only, or text only.—Yes—
Password expiryTells the person when their password expires, or "Password never expires". Shows nothing when the date cannot be read.—YesYes

The Sign-in form block

This block draws the form people sign in with. All of its extra settings are off or empty unless you set them, so an unedited form looks plain.

SettingWhat it doesDefault
Title / SubtitleA heading above the form and an optional line under it.A standard heading; no subtitle
Button text, username label, password labelThe words on the form. Each can be written per language.Standard wording
PlaceholdersGrey hint text inside the empty username and password boxes.Empty
BadgeA round mark beside the heading: none, lock, user, shield or key.None
Field iconsA person mark in the username box and a padlock in the password box.Off
Password eyeAn eye at the end of the password box that shows what was typed.Off
Domain dropdown positionWhere the list of sign-in domains appears when more than one Active Directory domain is offered, or hidden.—

Hiding the domain list New in 2.0

Set Domain dropdown position to hidden and the theme draws no domain list at all. People type a bare username and it goes to the address's own default domain, or the installation's default if the address has none. Pair it with the per-address default domain on Tenancy & Branding. More on domains is on Active Directory and multiple domains.

How the domain list looks New in 2.1

A light sign-in page with a domain list above the username box, drawn in the same style as the other fields
The domain list takes the same look as the username and password boxes.

When the domain list is shown, it is drawn to match the username box: same background, border, corners, height and font, with its own drop-down list in the theme's colours. It works with the keyboard as well as the mouse (arrow keys, Home and End, Enter, Escape, and typing the first letters of a domain). You do not need to style it separately.

Sign-in buttons (Microsoft, Google…) New in 2.1

When people can sign in with Microsoft Entra ID or another provider (see Relay Pass), the Sign-in form block shows a button for each one. The folded group Sign-in buttons (Microsoft, Google…) on the block decides which buttons appear, what they say and how they look.

SettingWhat it doesDefault
Show the username and password formSwitch off for a buttons-only sign-in page: only the sign-in buttons are drawn, with the heading and any messages, and no username or password boxes. See the note below.On
Show the Microsoft button and Microsoft button textWhether the Microsoft button appears on this theme, and its wording. The text can be written per language.On; "Sign in with Microsoft"
Show "…" and "…" button text, for each other passOne pair for every other sign-in pass you have set up (for example Google, Okta, or a second Microsoft tenant), so each can be shown or hidden and worded on its own.On; the pass's own button label
Show icon and Icon, for each buttonShow a mark on the button, and optionally choose your own picture. Leave the picture empty to use the provider's own mark.On; provider's mark
Button, button hover, text and text hover colours, for each buttonThe button's colours. They start filled in from the theme's own button colours; clear a box to follow the theme.The theme's button colours
PositionBelow the Sign in button, or above the username box.Below
LayoutStacked (one per row), side by side (wrapping when there is no room), or icons only (square buttons showing just the mark, with the wording as a tooltip and still read out by screen readers).Stacked
Corner radius0–40 pixels.8
DividerA line with a word (such as "or") between the buttons and the form, on whichever side the buttons are. The word can be written per language.Off; "or"
A buttons-only page always keeps a way in

If no button would be drawn (every pass is off, or this address offers none), the username and password form comes back by itself. It also returns for the password-change and two-factor steps. Hiding the form is a design choice only: password sign-in is still accepted. To stop password sign-in altogether, switch the sign-in sources off under Authentication → Authentication Methods.

A buttons-only sign-in page with Sign in with Microsoft, Okta, Google and OpenID Connect buttons and no username or password boxes
A buttons-only sign-in page: the username and password form is switched off and each provider has its own button.

Which buttons an address may offer is decided separately, under Sign-in buttons on this address. A theme can only show buttons the address allows.

The Hero panel

The Hero is the frame around the portal after sign-in: the logo, the tabs of open sessions, the session tools and the person's account menu. It is set on the After Login tab but applies to every portal page except the sign-in page. A theme without a Hero block shows a standard bar across the top.

SettingWhat it doesDefault
Where it sitsTop, left, right or bottom. Left and right turn it into a side panel with the logo at the top, the session tabs as a list and the account menu at the foot. On a narrow screen (under about 760 px) a side panel becomes a bar.Top
LogoThe full logo, the mini logo, or no logo.Logo
User areaShow the person's name and picture, or just the picture.Full
Side panel width140–420 pixels. Shown only for left and right.—
Session tabsAuto shows icons only in a top or bottom bar and icon with name in a side panel. You can force icon only, or icon with name.Auto
StickyHides the panel off the edge of the screen with a small handle to slide it in over the page. The session underneath keeps the whole screen. The panel closes again on Escape, on a click elsewhere, or when you click into a session.Off
Home tabShow or hide the Home tab. Hiding it suits a portal that only ever runs one application (see single-application portals).On
Favourites tabShow or hide the Favourites tab, where people find resources they have starred.On
Documents tab and Documents icon New in 2.1Show or hide the Documents tab, and choose its icon. The tab appears only for people who can see at least one document. See Documents.On

The Apps panel

The Apps panel lists the applications, desktops, web applications and documents the signed-in person may open. It never shows anything the person is not entitled to. Its settings are grouped into the block's main settings and three folds: Category view, Card view and Container view.

Main settings

SettingWhat it doesDefault
Default viewGrid or list. This is only the starting view; a person who uses the Layout switch keeps their own choice in their browser.Grid
Apps in a rowHow many tiles across in grid view. A narrow screen shows fewer.4
Show the host nameShows which host a resource runs on.On
Show the Launch buttonShows a Launch button on each card. The whole card opens the resource either way.On
Type flagWhere the App / Desktop / Web / Doc flag sits on a card: top, bottom, or hidden.Top

Category view

SettingWhat it doesDefault
Show categories asPanel (folding sections, one per category), Tabs (one tab per category), Folder (a folder tile per category, with uncategorised resources loose beside them), or No category (one flat list).Panel
Tab style New in 2.1Shown for Tabs. Underline, raised, pills, segments, curved, cabinet, buttons or chevron. Each works on light and dark themes.Underline
Show category icon New in 2.1The category's icon on its tab, panel header or folder tile.On
Show item numbers New in 2.1How many resources each category holds, beside its name.On
Tab colour and Open tab background New in 2.1Shown for Tabs. The colour of the tabs, and the background of the open tab so it can blend into the box below it. Blank follows the theme's accent colour and the page or box behind.Blank
Category header backgroundShown for Panel. The background of each category's header strip.Blank
A light home page with chevron-style category tabs showing icons and item counts, and resources shown as icons
Category tabs in the chevron style, with category icons and item numbers switched on.

Card view

Switch Card view off for frameless cards (no box, no padding). Switched on, it offers two rows of settings:

Icons are drawn at the same size whatever they came from: an icon read from the program, one picked from the Icon Library, or one you uploaded.

Container view

Switch Container view on to draw a box around the whole panel, with padding and rounded corners. Its background and border start from the theme's panel colours; leave them blank to keep following the theme, or type none to draw no background or border.

Columns

A Columns block puts two to five columns side by side, with a gap of 0–80 pixels between them. Drag any block into a column, including the Sign-in form or the Apps panel. Columns stack into one on a narrow screen (under about 760 px).

Advanced settings on every block

Every block has a closed Advanced fold at the bottom. None of these has a default; a block whose Advanced settings are untouched looks exactly as the theme draws it.

SettingWhat it doesDefault
CSS classOne or more class names (up to six, 64 characters each) added to the block, which you then style in the theme's Custom CSS.—
Space above (px)Extra space above the block, 0–400.—
Space below (px)Extra space below the block, 0–400.—
Inner padding (px)Space inside the block's edge, 0–400.—

A value outside the range is refused when you save, with a message, rather than being changed quietly.

Pictures in blocks

The Image block and the Logo block's override field each show the current picture, its address, and a button to choose a file. A chosen file is stored inside the theme, so nothing has to be copied to the server separately and the picture travels with the theme when you export it.

Writing blocks in several languages

The word-bearing settings of a block (the sign-in form's title, labels and button, Heading and Text, the HTML block, an Image's alternative text, a Button's text and the Search placeholder) each have a small language menu above the box when more than one language is switched on. The first entry, Original, is what anybody whose language has no text of its own sees. Choose a language and type its version; languages without text are marked "not written". CSS classes, links, colours and sizes are the same for every language. See Languages.

Example: a sign-in page with a help panel

An IT team wants the sign-in form on the right and service-desk details on the left.

  1. Start clean. On the Login Page tab, remove everything except the Sign-in form.
  2. Add columns. Add a Columns block and set it to 2.
  3. Fill the left column. Drag a Logo, a Heading ("Need help?") and a Contact list into the left column. In the Contact list, add the service-desk phone number and email address.
  4. Fill the right column. Drag the Sign-in form into the right column. Turn on Field icons and Password eye.
  5. Add a footer line. On the Base tab's footer, add a Text block with the company's copyright line.
  6. Check and save. Click Preview page, narrow the window to check the columns stack on a phone, then Save.

If something goes wrong

Save is refused

The message names the setting. Common causes: a Button or Image link without a scheme (type https://www.example.com, not www.example.com), a spacing value outside 0–400, more than six CSS classes, or a card width outside its range. The setting may be inside a folded block or a closed Advanced section.

The preview does not show my logo or colour change

The preview uses your unsaved blocks but the saved colours and logo. Save the Base tab, then preview again.

Some HTML I pasted shows as plain text or disappears

The HTML block keeps a short list of safe formatting and removes other markup, styles and scripts. Use the toolbar for formatting, and the theme's Custom CSS for styling.

A search box appears with nothing to search

Search and Sort are hidden automatically for a person with no resources. If a person reports an empty home page, check their access on Giving people access to resources.

Still stuck? Email [email protected] with what you were doing, what you expected and what you saw. A screenshot helps.