From 5b97d25dcdaf342fc9beb02f79f2a2eacedb9835 Mon Sep 17 00:00:00 2001 From: danielbroll Date: Tue, 24 May 2022 15:50:10 +0200 Subject: [PATCH] Refactoring: Split monster tiles.html into different files --- .../resources/templates/channel-details.html | 14 +- ui/src/main/resources/templates/channels.html | 2 +- .../main/resources/templates/dashboard.html | 10 +- .../resources/templates/fragments/tiles.html | 364 ------------------ .../resources/templates/node-details.html | 14 +- ui/src/main/resources/templates/nodes.html | 2 +- .../templates/tiles/full/all-channels.html | 19 + .../templates/tiles/full/all-nodes.html | 19 + .../templates/tiles/full/channel-tile.html | 35 ++ .../templates/tiles/third/balance.html | 47 +++ .../tiles/third/channel-details.html | 40 ++ .../tiles/third/channel-warning.html | 25 ++ .../templates/tiles/third/fee-policy.html | 44 +++ .../templates/tiles/third/fee-report.html | 36 ++ .../templates/tiles/third/node-warning.html | 25 ++ .../templates/tiles/third/on-chain-costs.html | 43 +++ .../templates/tiles/third/online-report.html | 21 + .../tiles/third/rebalance-report.html | 46 +++ .../templates/tiles/third/status.html | 20 + 19 files changed, 441 insertions(+), 385 deletions(-) delete mode 100644 ui/src/main/resources/templates/fragments/tiles.html create mode 100644 ui/src/main/resources/templates/tiles/full/all-channels.html create mode 100644 ui/src/main/resources/templates/tiles/full/all-nodes.html create mode 100644 ui/src/main/resources/templates/tiles/full/channel-tile.html create mode 100644 ui/src/main/resources/templates/tiles/third/balance.html create mode 100644 ui/src/main/resources/templates/tiles/third/channel-details.html create mode 100644 ui/src/main/resources/templates/tiles/third/channel-warning.html create mode 100644 ui/src/main/resources/templates/tiles/third/fee-policy.html create mode 100644 ui/src/main/resources/templates/tiles/third/fee-report.html create mode 100644 ui/src/main/resources/templates/tiles/third/node-warning.html create mode 100644 ui/src/main/resources/templates/tiles/third/on-chain-costs.html create mode 100644 ui/src/main/resources/templates/tiles/third/online-report.html create mode 100644 ui/src/main/resources/templates/tiles/third/rebalance-report.html create mode 100644 ui/src/main/resources/templates/tiles/third/status.html diff --git a/ui/src/main/resources/templates/channel-details.html b/ui/src/main/resources/templates/channel-details.html index 7becc31f..2b617d31 100644 --- a/ui/src/main/resources/templates/channel-details.html +++ b/ui/src/main/resources/templates/channel-details.html @@ -8,15 +8,15 @@ - - - + + + - - - + + + - +
- - - -
- - Channel with - - opened by me. - - - Channel opened by - - - - Channel with - - -
+ + + +
+ + Channel with + + opened by me. + + + Channel opened by + + + + Channel with + + +