From 2ff031ce4e85f612c6d9b7d647e739daa8b4bc28 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sat, 28 Aug 2021 09:13:16 -0300 Subject: [PATCH] qrcode and copy-to-clipboard. --- grab.html | 84 ++++++++++++++++++++++++++++-------------------- static/style.css | 9 ++++-- 2 files changed, 56 insertions(+), 37 deletions(-) diff --git a/grab.html b/grab.html index 338221a..5c4da76 100644 --- a/grab.html +++ b/grab.html @@ -4,35 +4,33 @@ Lightning Address Saved | Satdress - + - - + + - + - - + + +
@@ -42,37 +40,34 @@ username@domain.com is your new Lightning Address!
- In order to edit the configuration of this address in the future you must save this secret pin: + In order to edit the configuration of this address in the future you + must save this secret pin:
-
- {{ pin }} -
- +
{{ pin }}
+
- To ensure the connection with your Lightning backend is configured properly, we've created a test invoice that can be seen below. -
-
- {{ invoice }} + To ensure the connection with your Lightning backend is configured + properly, we've created a test invoice that can be seen below.
+ +
{{ invoice }}
- + diff --git a/static/style.css b/static/style.css index 25f6c19..7695e4a 100644 --- a/static/style.css +++ b/static/style.css @@ -175,7 +175,7 @@ select { .resource-button:hover { color: #8062fb; - background: rgba(42,0,255,0.07); + background: rgba(42, 0, 255, 0.07); } .owner { @@ -197,7 +197,7 @@ select { .owner-button:hover { color: #8062fb; - background: rgba(42,0,255,0.1); + background: rgba(42, 0, 255, 0.1); } .owner-name { @@ -219,6 +219,11 @@ select { flex-direction: row; } +#qr { + margin: 20px auto; + display: block; +} + @media screen and (max-width: 500px) { body { padding: 20px 5px 30px 5px;