Administrator Management

Administrator list, detail, and form

SaaSPlatform Admin

Overview

The Administrator components provide a complete CRUD interface for managing platform administrators. AdministratorList displays a sortable, filterable table with row actions and optional bulk operations. AdministratorDetail shows a single admin's profile, role, and permissions. AdministratorForm handles creating and editing administrator accounts with role and permission selection.

Usage

import { AdministratorList } from "@leanicon/web-builder-library/saas";

<AdministratorList
  administrators={administrators}
  totalCount={100}
  pagination={{ pageIndex: 0, pageSize: 10 }}
  onPaginationChange={setPagination}
  sorting={sorting}
  onSortingChange={setSorting}
  columnFilters={columnFilters}
  onColumnFiltersChange={setColumnFilters}
  onViewDetails={(admin) => router.push(`/admins/${admin.id}`)}
  onEdit={(admin) => openEditModal(admin)}
/>;

Variants

Administrator List

Name
Role
Status
Created
Last Active
Super Admin
Active
Jan 15, 2023
Feb 1, 2024
Admin
Active
Mar 20, 2023
Feb 2, 2024
A
Read Only
Suspended
Aug 5, 2023
Jan 15, 2024

Showing 1 to 3 of 3 results

Rows per page
Page 1 of 1

Administrator List (Dark)

Name
Role
Status
Created
Last Active
Super Admin
Active
Jan 15, 2023
Feb 1, 2024
Admin
Active
Mar 20, 2023
Feb 2, 2024
A
Read Only
Suspended
Aug 5, 2023
Jan 15, 2024

Showing 1 to 3 of 3 results

Rows per page
Page 1 of 1

Administrator List Empty

Name
Role
Status
Created
Last Active

No administrators found

Showing 1 to 0 of 0 results

Rows per page
Page 1 of 0

Administrator List Loading

Name
Role
Status
Created
Last Active

Showing 1 to 0 of 0 results

Rows per page
Page 1 of 0