mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
26 lines
792 B
HTML
26 lines
792 B
HTML
<ion-header>
|
|
<ion-toolbar>
|
|
<ion-buttons slot="start">
|
|
<pwa-back-button></pwa-back-button>
|
|
</ion-buttons>
|
|
<ion-title>Logs</ion-title>
|
|
<ion-buttons slot="end" class="ion-padding-end">
|
|
<ion-button (click)="getLogs()">
|
|
<ion-icon slot="icon-only" name="refresh-outline"></ion-icon>
|
|
</ion-button>
|
|
</ion-buttons>
|
|
</ion-toolbar>
|
|
</ion-header>
|
|
|
|
<ion-content class="ion-padding" color="light">
|
|
<ion-item *ngIf="error" style="margin-bottom: 16px;">
|
|
<ion-text class="ion-text-wrap" color="danger">{{ error }}</ion-text>
|
|
</ion-item>
|
|
|
|
<ion-spinner *ngIf="loading; else loaded" class="center" name="lines" color="warning"></ion-spinner>
|
|
|
|
<ng-template #loaded>
|
|
<p style="white-space: pre-line;">{{ logs }}</p>
|
|
</ng-template>
|
|
</ion-content>
|