Skip to content

Commit ee244fe

Browse files
Rearranged user activity stats page to have the less useful/popular stats to the bottom
1 parent 075b331 commit ee244fe

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

cps/templates/cwa_user_activity.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -452,13 +452,7 @@ <h1>📊 User Activity Dashboard</h1>
452452
<div id="heatmap-chart" style="width: 100%; height: 350px;"></div>
453453
</div>
454454

455-
<!-- Reading Velocity Trend -->
456-
<div class="chart-container">
457-
<div class="chart-title">📚 Reading Velocity (Books per Week)</div>
458-
<div id="velocity-chart" style="width: 100%; height: 350px;"></div>
459-
</div>
460-
461-
<!-- Second Row: Event Breakdown & Format Distribution -->
455+
<!-- Event Breakdown & Format Distribution -->
462456
<div class="row cwa-stats-row">
463457
<div class="col-md-6">
464458
<div class="chart-container">
@@ -474,17 +468,7 @@ <h1>📊 User Activity Dashboard</h1>
474468
</div>
475469
</div>
476470

477-
<!-- Third Row: Download Formats Pie Chart -->
478-
<div class="row cwa-stats-row">
479-
<div class="col-md-12">
480-
<div class="chart-container">
481-
<div class="chart-title">📦 Download Formats Distribution</div>
482-
<div id="formats-chart" style="width: 100%; height: 350px;"></div>
483-
</div>
484-
</div>
485-
</div>
486-
487-
<!-- Fourth Row: Discovery Sources, Device Breakdown, Security -->
471+
<!-- Discovery Sources, Device Breakdown, Security -->
488472
<div class="row cwa-stats-row">
489473
<div class="col-md-4">
490474
<div class="chart-container">
@@ -511,7 +495,7 @@ <h1>📊 User Activity Dashboard</h1>
511495
</div>
512496
</div>
513497

514-
<!-- Fifth Row: Top Lists -->
498+
<!-- Top Lists -->
515499
<div class="row cwa-stats-row">
516500
<div class="col-md-4">
517501
<div class="chart-container">
@@ -581,6 +565,22 @@ <h3>No Activity Data Yet</h3>
581565
<p style="color: #bbb; font-size: 0.9em;">Downloads, reading sessions, and searches will be tracked here.</p>
582566
</div>
583567

568+
<!-- Download Formats Pie Chart -->
569+
<div class="row cwa-stats-row">
570+
<div class="col-md-12">
571+
<div class="chart-container">
572+
<div class="chart-title">📦 Download Formats Distribution</div>
573+
<div id="formats-chart" style="width: 100%; height: 350px;"></div>
574+
</div>
575+
</div>
576+
</div>
577+
578+
<!-- Reading Velocity Trend -->
579+
<div class="chart-container">
580+
<div class="chart-title">📚 Reading Velocity (Books per Week)</div>
581+
<div id="velocity-chart" style="width: 100%; height: 350px;"></div>
582+
</div>
583+
584584
<script>
585585
// Data from backend
586586
const realData = {

0 commit comments

Comments
 (0)