From a2a1104b144775838284b213c8152d3faf053b42 Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Fri, 14 Apr 2023 13:19:13 +0200 Subject: [PATCH] Nostr: UI updates --- .../Views/Nip5/Edit.cshtml | 137 ++++++++---------- .../Views/Shared/Nip05Nav.cshtml | 4 +- 2 files changed, 65 insertions(+), 76 deletions(-) diff --git a/Plugins/BTCPayServer.Plugins.NIP05/Views/Nip5/Edit.cshtml b/Plugins/BTCPayServer.Plugins.NIP05/Views/Nip5/Edit.cshtml index 2f28f53..e644b01 100644 --- a/Plugins/BTCPayServer.Plugins.NIP05/Views/Nip5/Edit.cshtml +++ b/Plugins/BTCPayServer.Plugins.NIP05/Views/Nip5/Edit.cshtml @@ -12,69 +12,62 @@

@ViewData["Title"]

+

You'll also need to enable a lightning address with the same name.

+
-
-
- - - -
-
- - - -
-
- - - -

You'll also need to enable a lightning address with the same name.

- -
+
+ + +
-
- - - - - - - - - @if (Model.Relays is not null) +
+ + + +
+
+ + + +
+
- Relay - - Actions -
+ + + + + + + + @if (Model.Relays is not null) + { + @for (var index = 0; index < Model.Relays.Length; index++) { - @for (var index = 0; index < Model.Relays.Length; index++) - { - - - - - } + + + + } - -
+ Relay + + Actions +
- - - -
+ + + +
- -
-
-
- - - - @if (Model.Name is not null) + } + + +
+ + + + @if (!string.IsNullOrEmpty(Model.Name)) { } -
@@ -91,20 +84,19 @@ - \ No newline at end of file + diff --git a/Plugins/BTCPayServer.Plugins.NIP05/Views/Shared/Nip05Nav.cshtml b/Plugins/BTCPayServer.Plugins.NIP05/Views/Shared/Nip05Nav.cshtml index 63689c1..d57f2c1 100644 --- a/Plugins/BTCPayServer.Plugins.NIP05/Views/Shared/Nip05Nav.cshtml +++ b/Plugins/BTCPayServer.Plugins.NIP05/Views/Shared/Nip05Nav.cshtml @@ -9,10 +9,10 @@ @if (!string.IsNullOrEmpty(storeId)) {