diff --git a/src/ui/app.ts b/src/ui/app.ts index a929a161..3804f12f 100644 --- a/src/ui/app.ts +++ b/src/ui/app.ts @@ -988,25 +988,27 @@ class ArchiveWebApp extends ReplayWebApp { renderSettingsModal() { return html` - -
- -
- -
+ + - ${ - this.settingsTab === "ipfs" + + ${this.settingsTab === "ipfs" ? html`

Configure settings for sharing archived items to IPFS.

@@ -1047,11 +1049,8 @@ class ArchiveWebApp extends ReplayWebApp {

` - : "" - } - - ${ - this.settingsTab === "browsertrix" + : ""} + ${this.settingsTab === "browsertrix" ? html`

Configure your credentials to upload archived items to @@ -1119,130 +1118,7 @@ class ArchiveWebApp extends ReplayWebApp { ` - : "" - } -

${ - this.settingsError - }
-
- - -
- - - ${ - this.settingsTab === "ipfs" - ? html`

- Configure settings for sharing archived items to IPFS. -

-
-
- Auto-Detect IPFS -
-
-

- IPFS Daemon URL (leave blank to auto-detect IPFS): - -

-
-
-

- IPFS Gateway URL: - -

-
-
` - : "" - } - ${ - this.settingsTab === "browsertrix" - ? html` -

- Configure your credentials to upload archived items to - Browsertrix Cloud. -

-
-
-

- Browsertrix Cloud URL: - -

-
-
-

- Username - -

-
-
-

- Password - -

-
-
-

- Organization Name (Optional) - -

-
-
- ` - : "" - } + : ""}
${this.settingsError}