From f2842a27e26dfc1d17b8a688f85d924d083eabd7 Mon Sep 17 00:00:00 2001 From: NickolaiYurchenko Date: Thu, 13 May 2021 22:28:33 +0300 Subject: [PATCH] web/multinode: by node payouts page markup Change-Id: I4d760a9965d28afc37f4cfa971d95254bfcb1d7e --- .../src/app/components/common/BaseTable.vue | 93 +++++ .../src/app/components/common/VLink.vue | 40 ++ .../components/myNodes/tables/NodeItem.vue | 49 +-- .../components/myNodes/tables/NodesTable.vue | 44 +-- .../components/navigation/NavigationArea.vue | 7 +- .../payouts/PayoutPeriodCalendarButton.vue | 8 +- .../payouts/tables/PayoutsSummaryTable.vue | 77 ---- .../tables/heldHistory/HeldHistory.vue | 59 +++ .../PayoutsSummaryItem.vue | 51 +-- .../payoutSummary/PayoutsSummaryTable.vue | 38 ++ .../payoutsByNode/PayoutsByNodeTable.vue | 73 ++++ web/multinode/src/app/router/index.ts | 23 +- web/multinode/src/app/views/PayoutsByNode.vue | 353 ++++++++++++++++++ web/multinode/src/app/views/PayoutsPage.vue | 4 +- web/multinode/src/app/views/PayoutsRoot.vue | 15 + web/multinode/src/payouts/index.ts | 8 + .../payouts/PayoutsSummaryItem.spec.ts | 2 +- .../payouts/PayoutsSummaryTable.spec.ts | 2 +- .../PayoutsSummaryItem.spec.ts.snap | 2 +- .../PayoutsSummaryTable.spec.ts.snap | 4 +- 20 files changed, 738 insertions(+), 214 deletions(-) create mode 100644 web/multinode/src/app/components/common/BaseTable.vue create mode 100644 web/multinode/src/app/components/common/VLink.vue delete mode 100644 web/multinode/src/app/components/payouts/tables/PayoutsSummaryTable.vue create mode 100644 web/multinode/src/app/components/payouts/tables/heldHistory/HeldHistory.vue rename web/multinode/src/app/components/payouts/tables/{ => payoutSummary}/PayoutsSummaryItem.vue (53%) create mode 100644 web/multinode/src/app/components/payouts/tables/payoutSummary/PayoutsSummaryTable.vue create mode 100644 web/multinode/src/app/components/payouts/tables/payoutsByNode/PayoutsByNodeTable.vue create mode 100644 web/multinode/src/app/views/PayoutsByNode.vue create mode 100644 web/multinode/src/app/views/PayoutsRoot.vue diff --git a/web/multinode/src/app/components/common/BaseTable.vue b/web/multinode/src/app/components/common/BaseTable.vue new file mode 100644 index 000000000..290d4a0e4 --- /dev/null +++ b/web/multinode/src/app/components/common/BaseTable.vue @@ -0,0 +1,93 @@ +// Copyright (C) 2021 Storj Labs, Inc. +// See LICENSE for copying information. + + + + + + diff --git a/web/multinode/src/app/components/common/VLink.vue b/web/multinode/src/app/components/common/VLink.vue new file mode 100644 index 000000000..afd92f4c7 --- /dev/null +++ b/web/multinode/src/app/components/common/VLink.vue @@ -0,0 +1,40 @@ +// Copyright (C) 2021 Storj Labs, Inc. +// See LICENSE for copying information. + + + + + + diff --git a/web/multinode/src/app/components/myNodes/tables/NodeItem.vue b/web/multinode/src/app/components/myNodes/tables/NodeItem.vue index 01cf310af..c9c8332d7 100644 --- a/web/multinode/src/app/components/myNodes/tables/NodeItem.vue +++ b/web/multinode/src/app/components/myNodes/tables/NodeItem.vue @@ -2,7 +2,7 @@ // See LICENSE for copying information.