mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
only backing up for maintenance page
This commit is contained in:
committed by
Aiden McClelland
parent
64865a2da2
commit
7dcb4239df
@@ -1,13 +1,9 @@
|
||||
<ion-content *ngIf="patch.data['server-info'].status as status" style="--background: black;">
|
||||
|
||||
<ion-content style="--background: black;">
|
||||
|
||||
<ion-grid style="height: 100%;">
|
||||
<ion-row class="ion-align-items-center ion-text-center" style="height: 100%;">
|
||||
<ion-col>
|
||||
<ng-container *ngIf="status === ServerStatus.Updating">
|
||||
<h1>Embassy updating</h1>
|
||||
<img src="assets/img/gifs/updating.gif" />
|
||||
</ng-container>
|
||||
<ng-container *ngIf="status === ServerStatus.BackingUp">
|
||||
<ng-container>
|
||||
<h1>Embassy backing up</h1>
|
||||
<img src="assets/img/gifs/backing-up.gif" />
|
||||
</ng-container>
|
||||
|
||||
@@ -1,17 +1,9 @@
|
||||
import { Component } from '@angular/core'
|
||||
import { ServerStatus } from 'src/app/services/patch-db/data-model'
|
||||
import { PatchDbService } from 'src/app/services/patch-db/patch-db.service'
|
||||
|
||||
@Component({
|
||||
selector: 'maintenance',
|
||||
templateUrl: 'maintenance.page.html',
|
||||
styleUrls: ['maintenance.page.scss'],
|
||||
})
|
||||
export class MaintenancePage {
|
||||
ServerStatus = ServerStatus
|
||||
|
||||
constructor (
|
||||
public readonly patch: PatchDbService,
|
||||
) { }
|
||||
}
|
||||
export class MaintenancePage { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user