iya-sts
    Preparing search index...

    Draws Configuration from the answer of GET /admin-api/config: where every group of settings is drawn, and the form for the rows that belong to no protocol.

    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 one settings group's row of the configuration index: its size, how many are fixed and overridden, and the pages that edit it.

      A group with no SETTING_HOMES row is drawn as homeless, in red.

      Parameters

      • group: any

        the group, as config.groups() describes it

      • homes: any

        the view's homes: each group's pages and labels

      • t: any

        the page's translator

      Returns string

      the row as HTML