From c4a463ae0bb102deeb4faf532c88a33d74c40bd5 Mon Sep 17 00:00:00 2001 From: danielbroll Date: Thu, 19 May 2022 17:20:56 +0200 Subject: [PATCH] add amboss & 1ml links --- ui/src/main/resources/static/css/main.css | 10 ++++ .../resources/templates/channel-details.html | 4 +- ui/src/main/resources/templates/channels.html | 2 +- .../main/resources/templates/dashboard.html | 2 +- ui/src/main/resources/templates/error.html | 12 +++-- .../resources/templates/fragments/layout.html | 6 +-- .../templates/fragments/page-title.html | 47 +++++++++++++++++++ .../resources/templates/node-details.html | 4 +- ui/src/main/resources/templates/nodes.html | 2 +- 9 files changed, 76 insertions(+), 13 deletions(-) create mode 100644 ui/src/main/resources/templates/fragments/page-title.html diff --git a/ui/src/main/resources/static/css/main.css b/ui/src/main/resources/static/css/main.css index 4cd7ca83..74484038 100644 --- a/ui/src/main/resources/static/css/main.css +++ b/ui/src/main/resources/static/css/main.css @@ -32,3 +32,13 @@ .tile-column-right { padding-left: 0.375rem; } + +.link-button { + color: black; + background: rgba(0,0,0,.03); + border-radius: 4px; + border: 1px solid; + text-decoration: none; + text-align: center; + padding: 5px 10px 5px 15px; +} \ No newline at end of file diff --git a/ui/src/main/resources/templates/channel-details.html b/ui/src/main/resources/templates/channel-details.html index 202d9edd..2f68fc88 100644 --- a/ui/src/main/resources/templates/channel-details.html +++ b/ui/src/main/resources/templates/channel-details.html @@ -1,9 +1,11 @@ - + +
+
diff --git a/ui/src/main/resources/templates/channels.html b/ui/src/main/resources/templates/channels.html index 04f27b33..7f11bd2e 100644 --- a/ui/src/main/resources/templates/channels.html +++ b/ui/src/main/resources/templates/channels.html @@ -1,6 +1,6 @@ - + diff --git a/ui/src/main/resources/templates/dashboard.html b/ui/src/main/resources/templates/dashboard.html index 5557600d..ff0da476 100644 --- a/ui/src/main/resources/templates/dashboard.html +++ b/ui/src/main/resources/templates/dashboard.html @@ -1,6 +1,6 @@ - + diff --git a/ui/src/main/resources/templates/error.html b/ui/src/main/resources/templates/error.html index 0c3868d9..4d119548 100644 --- a/ui/src/main/resources/templates/error.html +++ b/ui/src/main/resources/templates/error.html @@ -1,13 +1,19 @@ - + +
+

If you use the search, your query may be:

    -
  1. 1. Channel ID (e.g. 774909407114231809, 704776x2087x1, 704776:2087:1, b343cb900bc9d606c02dc01954c78a52be4f4653e8a4ed69ce06ff7087802756:1)
  2. -
  3. 2. Node Public Key (e.g. 03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f)
  4. +
  5. 1. Channel ID (e.g. 774909407114231809, 704776x2087x1, 704776:2087:1, + b343cb900bc9d606c02dc01954c78a52be4f4653e8a4ed69ce06ff7087802756:1) +
  6. +
  7. 2. Node Public Key (e.g. + 03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f) +
  8. 3. Node Alias (e.g. ACINQ)
diff --git a/ui/src/main/resources/templates/fragments/layout.html b/ui/src/main/resources/templates/fragments/layout.html index ed4f5cbc..dbcf6113 100644 --- a/ui/src/main/resources/templates/fragments/layout.html +++ b/ui/src/main/resources/templates/fragments/layout.html @@ -1,6 +1,6 @@ - + @@ -42,10 +42,6 @@
-
-

-
-
diff --git a/ui/src/main/resources/templates/fragments/page-title.html b/ui/src/main/resources/templates/fragments/page-title.html new file mode 100644 index 00000000..b5327271 --- /dev/null +++ b/ui/src/main/resources/templates/fragments/page-title.html @@ -0,0 +1,47 @@ + + + + +
+

+
+ +
  • + + + + + + + +
  • + +
    +
    +

    +
    + + +
    + +
    +
    +

    +
    + + +
    + + diff --git a/ui/src/main/resources/templates/node-details.html b/ui/src/main/resources/templates/node-details.html index 79d5a75c..a69da9c7 100644 --- a/ui/src/main/resources/templates/node-details.html +++ b/ui/src/main/resources/templates/node-details.html @@ -1,9 +1,11 @@ - + +
    +
    diff --git a/ui/src/main/resources/templates/nodes.html b/ui/src/main/resources/templates/nodes.html index e23bf15a..827e7bc4 100644 --- a/ui/src/main/resources/templates/nodes.html +++ b/ui/src/main/resources/templates/nodes.html @@ -1,6 +1,6 @@ - +