mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
external rename (#2265)
* backend rename * rename embassy and closes #2179 * update root ca name on disk * update MOTD * update readmes * your server typo * another tiny typo * fix png name * Update backend/src/net/wifi.rs Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com> * changes needed due to rebase --------- Co-authored-by: Matt Hill <matthewonthemoon@gmail.com> Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com> Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Embassy Address Info</title>
|
||||
<title>StartOS Address Info</title>
|
||||
</head>
|
||||
<body>
|
||||
<div
|
||||
@@ -21,7 +21,7 @@
|
||||
padding: 1rem;
|
||||
"
|
||||
>
|
||||
Embassy Address Info
|
||||
StartOS Address Info
|
||||
</h1>
|
||||
|
||||
<section
|
||||
@@ -36,7 +36,7 @@
|
||||
</h2>
|
||||
<p>
|
||||
Visit the address below when you are connected to the same WiFi or
|
||||
Local Area Network (LAN) as your Embassy:
|
||||
Local Area Network (LAN) as your server:
|
||||
</p>
|
||||
<p
|
||||
style="
|
||||
@@ -60,15 +60,15 @@
|
||||
>
|
||||
follow the instructions
|
||||
</a>
|
||||
to establish a secure connection by installing your Embassy's
|
||||
certificate.
|
||||
to establish a secure connection by installing your server's root
|
||||
certificate authority.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div style="padding: 2rem; text-align: center">
|
||||
<a
|
||||
id="cert"
|
||||
download="embassy.crt"
|
||||
[download]="crtName"
|
||||
style="
|
||||
display: inline-block;
|
||||
padding: 1em 1.2em;
|
||||
|
||||
@@ -1,7 +1,14 @@
|
||||
import { Component } from '@angular/core'
|
||||
import { Component, Input } from '@angular/core'
|
||||
|
||||
@Component({
|
||||
selector: 'download-doc',
|
||||
templateUrl: 'download-doc.component.html',
|
||||
})
|
||||
export class DownloadDocComponent {}
|
||||
export class DownloadDocComponent {
|
||||
@Input() lanAddress!: string
|
||||
|
||||
get crtName(): string {
|
||||
const hostname = new URL(this.lanAddress).hostname
|
||||
return `${hostname}.crt`
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,17 +46,17 @@
|
||||
You can now safely unplug your backup drive
|
||||
</h3>
|
||||
<h3 *ngIf="setupType === 'transfer'">
|
||||
You can now safely unplug your old Embassy drive
|
||||
You can now safely unplug your old StartOS data drive
|
||||
</h3>
|
||||
</div>
|
||||
<div class="card-container">
|
||||
<ion-card id="information" (click)="download()">
|
||||
<ion-card-content>
|
||||
<ion-card-title
|
||||
>Download permanent address info</ion-card-title
|
||||
>
|
||||
<ion-card-title>
|
||||
Download permanent address info
|
||||
</ion-card-title>
|
||||
<p>
|
||||
embassy.local was for setup purposes only. It will no
|
||||
start.local was for setup purposes only. It will no
|
||||
longer work.
|
||||
</p>
|
||||
</ion-card-content>
|
||||
@@ -77,7 +77,7 @@
|
||||
>
|
||||
<div class="container">
|
||||
<div class="inline">
|
||||
<p>Go to Embassy login</p>
|
||||
<p>Login to StartOS</p>
|
||||
<ion-icon name="open-outline"></ion-icon>
|
||||
</div>
|
||||
</div>
|
||||
@@ -86,7 +86,11 @@
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
<!-- download elem -->
|
||||
<download-doc hidden id="downloadable"></download-doc>
|
||||
<download-doc
|
||||
hidden
|
||||
id="downloadable"
|
||||
[lanAddress]="lanAddress"
|
||||
></download-doc>
|
||||
</ion-card>
|
||||
</ng-template>
|
||||
</ion-col>
|
||||
|
||||
@@ -84,7 +84,7 @@ export class SuccessPage {
|
||||
encodeURIComponent(this.cert),
|
||||
)
|
||||
let html = this.document.getElementById('downloadable')?.innerHTML || ''
|
||||
this.downloadHtml.download('embassy-info.html', html).then(_ => {
|
||||
this.downloadHtml.download('StartOS-info.html', html).then(_ => {
|
||||
this.disableLogin = false
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user