mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +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-grid style="height: 100%;">
|
||||||
<ion-row class="ion-align-items-center ion-text-center" style="height: 100%;">
|
<ion-row class="ion-align-items-center ion-text-center" style="height: 100%;">
|
||||||
<ion-col>
|
<ion-col>
|
||||||
<ng-container *ngIf="status === ServerStatus.Updating">
|
<ng-container>
|
||||||
<h1>Embassy updating</h1>
|
|
||||||
<img src="assets/img/gifs/updating.gif" />
|
|
||||||
</ng-container>
|
|
||||||
<ng-container *ngIf="status === ServerStatus.BackingUp">
|
|
||||||
<h1>Embassy backing up</h1>
|
<h1>Embassy backing up</h1>
|
||||||
<img src="assets/img/gifs/backing-up.gif" />
|
<img src="assets/img/gifs/backing-up.gif" />
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|||||||
@@ -1,17 +1,9 @@
|
|||||||
import { Component } from '@angular/core'
|
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({
|
@Component({
|
||||||
selector: 'maintenance',
|
selector: 'maintenance',
|
||||||
templateUrl: 'maintenance.page.html',
|
templateUrl: 'maintenance.page.html',
|
||||||
styleUrls: ['maintenance.page.scss'],
|
styleUrls: ['maintenance.page.scss'],
|
||||||
})
|
})
|
||||||
export class MaintenancePage {
|
export class MaintenancePage { }
|
||||||
ServerStatus = ServerStatus
|
|
||||||
|
|
||||||
constructor (
|
|
||||||
public readonly patch: PatchDbService,
|
|
||||||
) { }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user