iya-sts
    Preparing search index...

    Draws Server configuration → Sign-in appearance from its management API answer.

    Index
    PAGE: "/admin/sign-in-appearance" = PAGE
    • Draws the page.

      Parameters

      • json: any

        the view

      • Optionalctx: any

        the render context

      Returns string

      the HTML

    • One colour's row in a form.

      Parameters

      • t: any

        the translator

      • id: string

        the input's id

      • name: string

        the field's name

      • label: string

        the label's message key

      • hint: string

        the hint's message key, or ''

      • value: string

        the colour

      • off: string

        ' disabled', or ''

      Returns string

      the row

    • The Colours tab.

      Parameters

      • t: any

        the translator

      • v: any

        the view

      • off: string

        ' disabled', or ''

      Returns string

      the tab

    • A six-digit colour, or the fallback where the view has none: an <input type="color"> takes nothing else.

      Parameters

      • value: unknown

        the colour

      • fallback: string

        what to show instead

      Returns string

      #rrggbb

    • The Layout and logo tab.

      Parameters

      • t: any

        the translator

      • v: any

        the view

      • off: string

        ' disabled', or ''

      Returns string

      the tab

    • The Preview tab: a GET form to the realm's preview, opened in a new tab by the browser, never by the runtime.

      Parameters

      • t: any

        the translator

      • v: any

        the view

      Returns string

      the tab

    • Draws the page body.

      Parameters

      • view: any

        GET /admin-api/branding

      • Optionalctx: any

        the render context

      Returns string

      the body as HTML

    • The stored logo, drawn at 64 pixels high with its facts, or a sentence saying there is none.

      Parameters

      • t: any

        the translator

      • v: any

        the view

      Returns string

      the markup

    • A swatch: a disabled colour input, labelled by its own name.

      Parameters

      • value: string

        the colour

      • label: string

        what it is, for a screen reader

      Returns string

      the swatch

    • One text field with its hint.

      Parameters

      • t: any

        the translator

      • id: string

        the input's id

      • name: string

        the field's name

      • type: string

        text or url

      • max: number

        its longest value

      • label: string

        the label's message key

      • hint: string

        the hint's message key

      • value: unknown

        its value

      • off: string

        ' disabled', or ''

      Returns string

      the row