copy
This commit is contained in:
parent
d6f27d4483
commit
ba8d0020f3
5 changed files with 14 additions and 22 deletions
|
|
@ -8,6 +8,7 @@ const serverOptions = (mainHandler: Main): ServerOptions => {
|
||||||
const log = getLogger({})
|
const log = getLogger({})
|
||||||
return {
|
return {
|
||||||
logger: { log, error: err => log(ERROR, err) },
|
logger: { log, error: err => log(ERROR, err) },
|
||||||
|
staticFiles: path.resolve('static'),
|
||||||
AdminAuthGuard: adminAuth,
|
AdminAuthGuard: adminAuth,
|
||||||
MetricsAuthGuard: metricsAuth,
|
MetricsAuthGuard: metricsAuth,
|
||||||
AppAuthGuard: async (authHeader) => { return { app_id: mainHandler.applicationManager.DecodeAppToken(stripBearer(authHeader)) } },
|
AppAuthGuard: async (authHeader) => { return { app_id: mainHandler.applicationManager.DecodeAppToken(stripBearer(authHeader)) } },
|
||||||
|
|
|
||||||
|
|
@ -32,11 +32,10 @@
|
||||||
<button class="icon-button back-button" onclick="history.back()">
|
<button class="icon-button back-button" onclick="history.back()">
|
||||||
<img src="img/back.svg" alt="" />
|
<img src="img/back.svg" alt="" />
|
||||||
</button>
|
</button>
|
||||||
<h2>Backup</h2>
|
<h2>Choose a Recovery Method</h2>
|
||||||
<p class="header-title">
|
<p class="header-title">
|
||||||
It looks like this is a
|
<span style="font-weight: bold">New Node! 🎉</span> It's important
|
||||||
<span style="font-weight: bold">new</span> node, it's important
|
to backup your keys.
|
||||||
establish backups.
|
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
@ -45,17 +44,11 @@
|
||||||
<section class="setup-content">
|
<section class="setup-content">
|
||||||
<div class="description-box">
|
<div class="description-box">
|
||||||
<div class="description">
|
<div class="description">
|
||||||
In addition to your seed phrase, you'll need a channel backup to
|
In addition to your seed phrase, you also need channel details to recover funds should your node experience a hardware failure.
|
||||||
</div>
|
|
||||||
<div class="description">
|
|
||||||
recover funds should your node experience a hardware failure.
|
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<div class="description">
|
<div class="description">
|
||||||
It's important always to have the latest version of this backup,
|
It's important always to have the latest version of this backup, fortunately they're small enough to be cached on the Nostr relay automatically.
|
||||||
</div>
|
|
||||||
<div class="description">
|
|
||||||
fortunately they're small enough to be cached on the Nostr relay.
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="warning-text">
|
<div class="warning-text">
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,7 @@ a {
|
||||||
|
|
||||||
/* Display a checkmark when the checkbox is checked */
|
/* Display a checkmark when the checkbox is checked */
|
||||||
.checkbox input[type="checkbox"]:checked + .checkbox-shape::before {
|
.checkbox input[type="checkbox"]:checked + .checkbox-shape::before {
|
||||||
content: "✔";
|
content: "✓";
|
||||||
color: #a012c7;
|
color: #a012c7;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
||||||
|
|
@ -27,9 +27,8 @@
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<section class="setup-header">
|
<section class="setup-header">
|
||||||
<h2>Setup</h2>
|
<h2>Setup your Pub</h2>
|
||||||
<p class="header-title">
|
<p class="header-title">
|
||||||
Let's confirm some things before we start this Pub
|
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
@ -37,7 +36,7 @@
|
||||||
|
|
||||||
<section class="setup-content">
|
<section class="setup-content">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<span>give this node a name that wallet users will see:</span>
|
<span>Give this node a name that will be seen by wallet users:</span>
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="Nodey McNodeFace"
|
placeholder="Nodey McNodeFace"
|
||||||
|
|
|
||||||
|
|
@ -32,9 +32,9 @@
|
||||||
<button class="icon-button back-button" onclick="history.back()">
|
<button class="icon-button back-button" onclick="history.back()">
|
||||||
<img src="img/back.svg" alt="" />
|
<img src="img/back.svg" alt="" />
|
||||||
</button>
|
</button>
|
||||||
<h2>Liquidity</h2>
|
<h2>Manage Node Liquidity</h2>
|
||||||
<p class="header-title">
|
<p class="header-title">
|
||||||
How do you want to manage Lightning connectivity?
|
How do you want to manage your Lightning nodes channels?
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
@ -45,14 +45,13 @@
|
||||||
<input type="checkbox" id="automate" />
|
<input type="checkbox" id="automate" />
|
||||||
<div class="checkbox-shape"></div>
|
<div class="checkbox-shape"></div>
|
||||||
<label for="automate">
|
<label for="automate">
|
||||||
Use Boostrap Service to Automate
|
Use Automation Service
|
||||||
<div class="question-box">
|
<div class="question-box">
|
||||||
<button class="icon-button" id="show-question">
|
<button class="icon-button" id="show-question">
|
||||||
<img src="img/question.svg" />
|
<img src="img/question.svg" />
|
||||||
</button>
|
</button>
|
||||||
<div class="question-content" id="question-content">
|
<div class="question-content" id="question-content">
|
||||||
Bootstrapping uses a trusted peer until channel management
|
Automation helps to reduce overall fees by trusting peers until channel management events cost >1% of their on-demand liquidity requirements
|
||||||
events cost less than 1% to execute
|
|
||||||
<button class="icon-button close-button" id="close-question">
|
<button class="icon-button close-button" id="close-question">
|
||||||
<img src="img/close.svg" alt="" />
|
<img src="img/close.svg" alt="" />
|
||||||
</button>
|
</button>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue