From 96abeff86e7c92cb8b74ececbee1603453127700 Mon Sep 17 00:00:00 2001 From: Nicolas Dorier Date: Thu, 17 Jul 2025 13:26:27 +0900 Subject: [PATCH] Fix: Improve the responsivity of the Reporting page (#6846) --- .../Views/UIReports/StoreReports.cshtml | 145 ++++++++++------ BTCPayServer/wwwroot/js/store-reports.js | 156 +++++++++++------- BTCPayServer/wwwroot/main/site.css | 25 ++- 3 files changed, 207 insertions(+), 119 deletions(-) diff --git a/BTCPayServer/Views/UIReports/StoreReports.cshtml b/BTCPayServer/Views/UIReports/StoreReports.cshtml index d53824a1e..218261f4a 100644 --- a/BTCPayServer/Views/UIReports/StoreReports.cshtml +++ b/BTCPayServer/Views/UIReports/StoreReports.cshtml @@ -4,21 +4,34 @@ @inject BTCPayServer.Security.ContentSecurityPolicies Csp @model StoreReportsViewModel @{ - ViewData.SetActivePage(StoreNavPages.Reporting, StringLocalizer["Reporting"]); - Csp.UnsafeEval(); + ViewData.SetActivePage(StoreNavPages.Reporting, StringLocalizer["Reporting"]); + Csp.UnsafeEval(); } + @section PageHeadContent { @* Set a height for the responsive table container to make it work with the fixed table headers. Details described here: thttps://uxdesign.cc/position-stuck-96c9f55d9526 *@ } + -
- -
- - -
-
- - +
+
+ + +
+
+ + +
+ +
+ + +
+
+ + {{ error }} +
+
-
-
+
+

{{ chart.name }}

@@ -74,8 +97,12 @@ - - + + @@ -83,8 +110,11 @@ Total - - + + @@ -127,7 +157,8 @@ target="_blank" v-if="srv.result.fields[columnIndex].type === 'invoice_id'">{{ displayValue(value) }} -