iya-sts
    Preparing search index...

    Draws the Audit log from the answer of GET /admin-api/audit: what was done, by whom, from where and with what outcome, filtered and paged, and the settings.

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

    Index
    • Draws who did an audited act.

      The actor links to their user page when the console knows them, and the presented form is shown underneath when it differs.

      Parameters

      • row: any

        an audit row

      • known: any

        the usernames this console has seen, as object keys

      • t: any

        the page's translator

      Returns string

      the cell's content as HTML

    • Draws an audit row's client address as a link to its other rows.

      Parameters

      • row: any

        an audit row

      • t: any

        the page's translator

      Returns string

      the link as HTML, or a dash when no address was recorded

    • Draws an audit row's detail object as key=value pairs.

      Parameters

      • detail: any

        the row's detail object

      Returns string

      the pairs as HTML, or a dash when there are none

    • Draws one row of the audit log table.

      Parameters

      • row: any

        an audit row

      • known: any

        the usernames this console has seen, as object keys

      • Optionalt: any

        the page's translator; the default (English in node) when omitted, which is how admin.ts calls it

      Returns string

      a as HTML

    • Draws the page's body from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer of the page's management API operation

      Returns string

      the body as HTML

    • Draws an audit outcome in the state colours.

      Parameters

      • outcome: any

        success, refused or another outcome

      Returns string

      a as HTML