iya-sts
    Preparing search index...

    Draws /admin from the answer of GET /admin-api/status: the totals, every page this reader may see grouped as the sidebar is, what the console deliberately does not do (in development mode only), and where the JSON is.

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

    Index
    • 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 the overview's list of every page, grouped as the sidebar is.

      The page being drawn on is left out, and so is a section left empty.

      Parameters

      • activePath: any

        the path of the page the list is drawn on

      • sections: any

        the sections this reader may see (visibleSections()'s answer, carried as the dashboard's sections)

      • t: any

        the page's translator (#539)

      Returns string

      the guide as HTML

    • Draws one page's entry in the overview's list of pages.

      A page with no blurb in SECTIONS is drawn and marked as undescribed.

      Parameters

      • page: any

        a page row from SECTIONS

      • t: any

        the page's translator (#539)

      Returns string

      an

    • as HTML