mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
46 lines
1.6 KiB
HTML
46 lines
1.6 KiB
HTML
<ion-header>
|
|
<ion-toolbar>
|
|
<ion-buttons slot="start">
|
|
<pwa-back-button></pwa-back-button>
|
|
</ion-buttons>
|
|
<ion-title>Wifi</ion-title>
|
|
<ion-buttons slot="end">
|
|
<badge-menu-button></badge-menu-button>
|
|
</ion-buttons>
|
|
</ion-toolbar>
|
|
</ion-header>
|
|
|
|
<ion-content class="ion-padding-top">
|
|
|
|
<ion-refresher slot="fixed" (ionRefresh)="doRefresh($event)">
|
|
<ion-refresher-content pullingIcon="lines" refreshingSpinner="lines"></ion-refresher-content>
|
|
</ion-refresher>
|
|
|
|
<ion-item *ngIf="error">
|
|
<ion-text class="ion-text-wrap" color="danger">{{ error }}</ion-text>
|
|
</ion-item>
|
|
|
|
<ion-item-group>
|
|
<ion-item>
|
|
<ion-label class="ion-text-wrap">
|
|
<ion-text color="warning">Warning!</ion-text>
|
|
<br />
|
|
<br />
|
|
<ion-text color="dark">WiFi is a beta feature with known issues. If you make changes to WiFi, your Embassy and its Services may become unreachable for hours over Tor. Please use with caution and patience.</ion-text>
|
|
</ion-label>
|
|
</ion-item>
|
|
|
|
<ion-item-divider>Saved Networks</ion-item-divider>
|
|
<ion-item button detail="false" *ngFor="let ssid of (server.wifi | async)?.ssids" (click)="presentAction(ssid)">
|
|
<ion-label>{{ ssid }}</ion-label>
|
|
<ion-icon *ngIf="ssid === (server.wifi | async).current" name="wifi" color="success"></ion-icon>
|
|
</ion-item>
|
|
</ion-item-group>
|
|
|
|
<ion-fab vertical="bottom" horizontal="end" slot="fixed">
|
|
<ion-fab-button [routerLink]="['add']" class="fab-button">
|
|
<ion-icon name="add"></ion-icon>
|
|
</ion-fab-button>
|
|
</ion-fab>
|
|
|
|
</ion-content> |