From 6c396997f2f2d5304b2413f590645dc62107dd7e Mon Sep 17 00:00:00 2001 From: maTh Date: Wed, 25 Aug 2021 11:52:40 +0200 Subject: Statistics: improved layout (#3797) * css grid layout * Update repartition.phtml * scrolling the canvas if it does not fit --- app/views/stats/index.phtml | 138 +++++++++++++++++++------------------- app/views/stats/repartition.phtml | 56 ++++++++-------- 2 files changed, 99 insertions(+), 95 deletions(-) (limited to 'app/views') diff --git a/app/views/stats/index.phtml b/app/views/stats/index.phtml index dd7faa72c..ced0544c7 100644 --- a/app/views/stats/index.phtml +++ b/app/views/stats/index.phtml @@ -7,80 +7,82 @@

-
-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
repartition['main_stream']['total']) ?>repartition['all_feeds']['total']) ?>
repartition['main_stream']['count_reads']) ?>repartition['all_feeds']['count_reads']) ?>
repartition['main_stream']['count_unreads']) ?>repartition['all_feeds']['count_unreads']) ?>
repartition['main_stream']['count_favorites']) ?>repartition['all_feeds']['count_favorites']) ?>
-
-

- - - - - - - - - - - topFeed as $feed) { ?> + -->
+

+
+ - - - - + + + + - - -
repartition['all_feeds']['total'] * 100, 1) ?>
-
+ + + topFeed as $feed) { ?> + + + + + repartition['all_feeds']['total'] * 100, 1) ?> + + + + + -
-

-
-
+
+

+
+
-
-

-
-
-
+
+

+
+
+
-
-

-
-
+
+

+
+
+
diff --git a/app/views/stats/repartition.phtml b/app/views/stats/repartition.phtml index e04418614..e30a02edc 100644 --- a/app/views/stats/repartition.phtml +++ b/app/views/stats/repartition.phtml @@ -33,36 +33,38 @@ -
- - - - - - - - - - - - - -
repartition['total'] ?>repartition['count_reads'] ?>repartition['count_unreads'] ?>repartition['count_favorites'] ?>
-
+
+
+ + + + + + + + + + + + + +
repartition['total'] ?>repartition['count_reads'] ?>repartition['count_unreads'] ?>repartition['count_favorites'] ?>
+
-
-

averageHour) ?>

-
-
+
+

averageHour) ?>

+
+
-
-

averageDayOfWeek) ?>

-
-
+
+

averageDayOfWeek) ?>

+
+
-
-

averageMonth) ?>

-
+
+

averageMonth) ?>

+
+
-- cgit v1.2.3