mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
70 lines
2.4 KiB
HTML
70 lines
2.4 KiB
HTML
<ion-header>
|
|
<ion-toolbar>
|
|
<ion-title>LAN Setup</ion-title>
|
|
<ion-buttons slot="start">
|
|
<pwa-back-button></pwa-back-button>
|
|
</ion-buttons>
|
|
</ion-toolbar>
|
|
</ion-header>
|
|
|
|
<ion-content class="ion-padding-top">
|
|
|
|
<ion-item-group>
|
|
<ion-item>
|
|
<ion-label class="ion-text-wrap">
|
|
If you are having issues connecting to your Embassy or services over LAN, you can try refreshing the network by clicking the button below.
|
|
</ion-label>
|
|
</ion-item>
|
|
<ion-item>
|
|
<ion-button slot="start" fill="clear" (click)="refreshLAN()">
|
|
<ion-icon slot="start" name="refresh-outline"></ion-icon>
|
|
Refresh Network
|
|
</ion-button>
|
|
</ion-item>
|
|
|
|
<ion-item-divider>About</ion-item-divider>
|
|
|
|
<ion-item lines="none">
|
|
<ion-label class="ion-text-wrap">
|
|
You can connect to your Embassy over your Local Area Network (LAN). This can be useful for achieving a faster experience, as well as a fallback in case the Tor network is experiencing issues.
|
|
</ion-label>
|
|
</ion-item>
|
|
|
|
<ion-item *ngIf="lanDisabled">
|
|
<ion-label class="ion-text-wrap">
|
|
<ion-text color="warning" [innerHtml]="lanDisabledExplanation[lanDisabled]"></ion-text>
|
|
</ion-label>
|
|
</ion-item>
|
|
<ion-item>
|
|
<ion-button slot="start" fill="clear" color="primary" (click)="viewInstructions()">View Instructions</ion-button>
|
|
</ion-item>
|
|
|
|
<ng-container *ngIf="!lanDisabled">
|
|
<ion-item-divider>Certificate and Address</ion-item-divider>
|
|
<!-- Certificate -->
|
|
<ion-item>
|
|
<ion-label class="ion-text-wrap">
|
|
<h2>Root Certificate Authority</h2>
|
|
<p>Embassy Local CA</p>
|
|
</ion-label>
|
|
<ion-button slot="end" fill="clear" (click)="installCert()">
|
|
<ion-icon slot="icon-only" name="download-outline"></ion-icon>
|
|
</ion-button>
|
|
</ion-item>
|
|
<!-- URL -->
|
|
<ion-item>
|
|
<ion-label class="ion-text-wrap">
|
|
<h2>LAN Address</h2>
|
|
<p>{{ lanAddress }}</p>
|
|
</ion-label>
|
|
<ion-button slot="end" fill="clear" (click)="copyLAN()">
|
|
<ion-icon slot="icon-only" name="copy-outline"></ion-icon>
|
|
</ion-button>
|
|
</ion-item>
|
|
</ng-container>
|
|
</ion-item-group>
|
|
|
|
<!-- hidden element for downloading cert -->
|
|
<a id="install-cert" href="/api/v0/certificate" download="Embassy Local CA.crt"></a>
|
|
|
|
</ion-content> |