iya-sts
    Preparing search index...

    Class export=

    Draws Server configuration → Mode from the mode report: the body of /admin/mode, as markup.

    A static utility class; it holds no state and takes no dependencies.

    Index
    • Draws what a per-application waiver adds (#1296): that an application uses the waived response types only when its own attribute lists them, and which of them a client registering itself may enable, by the setting that says so. Nothing for a waiver that is not per application.

      Parameters

      • one: any

        one entry of a row's waived

      • t: any

        the page's translator (#539)

      Returns string

      the paragraph as HTML

    • Draws the page's body from the mode report.

      Parameters

      • json: any

        GET /admin-api/mode's answer

      • Optionalctx: any

        optional; the render context (WebKit.context()), whose translator draws the words (#539). mode_admin.ts passes none, and gets the default translator — English in node.

      Returns string

      the body as HTML

    • Draws a setting's value: a string as itself, anything else as JSON.

      Parameters

      • value: unknown

        the value

      • t: any

        the page's translator (#539)

      Returns string

      the value as HTML

    • Draws what an administrator waived of a requirement in this realm (#1295): a row under it per waiver, naming the requirement, its section and the setting that waives it — so the BCP row, which says what the mode enforces, is not read as the whole story. Nothing when nothing is waived.

      Parameters

      • row: any

        one row of the report's requirements

      • t: any

        the page's translator (#539)

      Returns string

      the rows as HTML