busao
    Preparing search index...

    Function renderAdminPageContent

    • Renders the contents of the "Admin" page.

      Parameters

      • i18n: i18n

        The internationalisation object.

      • request: BunRequest

        The request to the associated endpoint.

      • database: BunSQLiteDatabase
      • maxSeats: number
      • searchRoute: string

        The API route for user search in the tables.

      • date: Date

        The current date.

      Returns Response

      The contents of the admin page.

      The admin page is primarily composed of a form for updating seats and admin tables for managing trips.