From afb6f788fa9c90817c9bd21e91993f4ddb462621 Mon Sep 17 00:00:00 2001 From: maTh <1645099+math-GH@users.noreply.github.com> Date: Tue, 21 Jan 2025 23:45:22 +0100 Subject: Improve stats page layout (#7243) * New stats box layout * repartition: table overview improved with links and icons * Show selected feed name in title * i18n string: overview * fix * fix * fix * delete unused stat in frss * Update app/i18n/fr/admin.php --------- Co-authored-by: Alexandre Alapetite --- app/views/stats/index.phtml | 146 +++++++++++++++++++------------------- app/views/stats/repartition.phtml | 132 +++++++++++++++++++--------------- 2 files changed, 149 insertions(+), 129 deletions(-) (limited to 'app/views') diff --git a/app/views/stats/index.phtml b/app/views/stats/index.phtml index f3fc3e986..88c4f0a3c 100644 --- a/app/views/stats/index.phtml +++ b/app/views/stats/index.phtml @@ -6,77 +6,77 @@

-
-
-

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
repartitions['main_stream']['total'] ?? -1) ?>repartitions['all_feeds']['total'] ?? -1) ?>
repartitions['main_stream']['count_reads'] ?? -1) ?>repartitions['all_feeds']['count_reads'] ?? -1) ?>
repartitions['main_stream']['count_unreads'] ?? -1) ?>repartitions['all_feeds']['count_unreads'] ?? -1) ?>
repartitions['main_stream']['count_favorites'] ?? -1) ?>repartitions['all_feeds']['count_favorites'] ?? -1) ?>
-
+
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
repartitions['main_stream']['total'] ?? -1) ?>repartitions['all_feeds']['total'] ?? -1) ?>
repartitions['main_stream']['count_reads'] ?? -1) ?>repartitions['all_feeds']['count_reads'] ?? -1) ?>
repartitions['main_stream']['count_unreads'] ?? -1) ?>repartitions['all_feeds']['count_unreads'] ?? -1) ?>
repartitions['main_stream']['count_favorites'] ?? -1) ?>repartitions['all_feeds']['count_favorites'] ?? -1) ?>
+
+ -
-

-
- - +
+

+
+
+ + + + + + + + + + topFeed as $feed): ?> - - - - + + + + - - - topFeed as $feed): ?> - - - - - - - - -
repartitions['all_feeds']['total'])) { + echo format_number($feed['count'] / $this->repartitions['all_feeds']['total'] * 100, 1); + } + ?>
repartitions['all_feeds']['total'])) { - echo format_number($feed['count'] / $this->repartitions['all_feeds']['total'] * 100, 1); - } - ?>
-
+ + +
- -
-

-
+
+
+
+

+
-
+
+

averageHour) ?>

+
+ +
+
-
-

averageDayOfWeek) ?>

-
- - -
+
+
+

averageDayOfWeek) ?>

+
+ +
+
-
-

averageMonth) ?>

-
- - -
+
+

averageMonth) ?>

+
+ +
-- cgit v1.2.3