QuorumLoginForm
Package: Libraries.Web.Quorum · Inherits from: Libraries.Language.Object
QuorumLoginForm is the Quorum website's sign-in dialog, as LoginForm builds it for the main site, with its looks from the site's styles instead of Tailwind's classes. It has three dialogs (sign in, forgot password, sign up) and three messages (success, alert, feedback), all with LoginForm's identifiers and handlers, since the site's script opens, switches and fills them by those. A sign-up field the site's script marks as filled in wrongly (aria-invalid) gets a red border, and its message under it is shown and tied to it (aria-describedby), so screen readers say it too.
Example Code
QuorumLoginForm login
page:PlaceAtEnd(login:Build(page))
Actions
Build(Libraries.Web.Page.WebPage page)
Builds the dialog for one page, with its looks set on that page. It starts hidden; the site's script shows it.
Parameters
pageLibraries.Web.Page.WebPage: The page it goes on.
Returns
Libraries.Web.Page.Division: The dialog's backdrop, with everything in it.
SetIconFolder(text folder)
Sets the folder the icons are read from, such as "html/media/userInterface/SVG/" (QuorumSite passes its own, from QuorumSite:SetIconFolder).
Parameters
foldertext: The folder, ending with a slash.
SetIcons(Libraries.Containers.HashTable<text:text> icons)
Sets icons as their SVG, by their files' names (such as "hamburger.svg"), used instead of reading the files (QuorumSite passes its own, from QuorumSite:SetIcon).
Parameters
iconsLibraries.Containers.HashTable<text:text>: The icons' SVG, by file name.