summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics_reporting/templates/table-total.html
diff options
context:
space:
mode:
authorSimon Rettberg2017-02-02 16:06:40 +0100
committerSimon Rettberg2017-02-02 16:06:40 +0100
commit452a0a49d0e9bef75667e488b37580dd5688a923 (patch)
treeef0f040898be2e50dff38d73f487f537e6bab9d2 /modules-available/statistics_reporting/templates/table-total.html
parent[statistics_reporting] Show hand-cursor for sortable columns (diff)
downloadslx-admin-452a0a49d0e9bef75667e488b37580dd5688a923.tar.gz
slx-admin-452a0a49d0e9bef75667e488b37580dd5688a923.tar.xz
slx-admin-452a0a49d0e9bef75667e488b37580dd5688a923.zip
[statistics_reporting] Move logic js -> php (for export feature)
Diffstat (limited to 'modules-available/statistics_reporting/templates/table-total.html')
-rw-r--r--modules-available/statistics_reporting/templates/table-total.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/modules-available/statistics_reporting/templates/table-total.html b/modules-available/statistics_reporting/templates/table-total.html
new file mode 100644
index 00000000..8e24dc01
--- /dev/null
+++ b/modules-available/statistics_reporting/templates/table-total.html
@@ -0,0 +1,22 @@
+<table id="table-total" class="table table-condensed table-striped">
+ <thead>
+ <tr>
+ <th class="text-left col-md-2"></th>
+ <th class="text-left col_totaltime">{{lang_totalTime}}</th>
+ <th class="text-left col_mediantime">{{lang_medianSessionLength}}</th>
+ <th class="text-left col_longsessions">{{lang_longSessions}}</th>
+ <th class="text-left col_shortsessions">{{lang_shortSessions}}</th>
+ <th class="text-left col_timeoffline">{{lang_overallOfftime}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th class="text-left">{{lang_total}}</th>
+ <td class="text-left col_totaltime">{{data.time_s}}</td>
+ <td class="text-left col_mediantime">{{data.medianTime_s}}</td>
+ <td class="text-left col_longsessions">{{data.sessions}}</td>
+ <td class="text-left col_shortsessions">{{data.shortSessions}}</td>
+ <td class="text-left col_timeoffline">{{data.totalOfftime_s}}</td>
+ </tr>
+ </tbody>
+</table>