mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-12-02 13:14:37 +08:00
13 lines
726 B
JavaScript
13 lines
726 B
JavaScript
import { ToggleBackup } from './toggle-backup.js'
|
|
import { RouteCleanup } from './route-cleanup.js'
|
|
|
|
export const SystemMaintenance = {
|
|
components: { ToggleBackup, RouteCleanup },
|
|
props: { unauthorized: { type: Function, required: true } },
|
|
template: `<details role="region" class="gx-card gx-maintenance" aria-label="Backup, reset and cleanup">
|
|
<summary class="gx-section__header"><i class="bi bi-arrow-counterclockwise" aria-hidden="true"></i><span class="gx-section__title">Backup, Reset & Cleanup</span><i class="bi bi-chevron-down gx-maintenance__chevron" aria-hidden="true"></i></summary>
|
|
<ToggleBackup :unauthorized="unauthorized" />
|
|
<RouteCleanup :unauthorized="unauthorized" />
|
|
</details>`,
|
|
}
|