summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics_reporting/templates/table-location.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-location.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-location.html')
-rw-r--r--modules-available/statistics_reporting/templates/table-location.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/modules-available/statistics_reporting/templates/table-location.html b/modules-available/statistics_reporting/templates/table-location.html
new file mode 100644
index 00000000..55fa8e6f
--- /dev/null
+++ b/modules-available/statistics_reporting/templates/table-location.html
@@ -0,0 +1,24 @@
+<table id="table-perlocation" class="table table-condensed table-striped">
+ <thead>
+ <tr>
+ <th data-sort="string" class="text-left col-md-2">{{lang_location}}</th>
+ <th data-sort="int" data-sort-default="desc" class="text-left col_totaltime">{{lang_totalTime}}</th>
+ <th data-sort="int" data-sort-default="desc" class="text-left col_mediantime">{{lang_medianSessionLength}}</th>
+ <th data-sort="int" data-sort-default="desc" class="text-left col_longsessions">{{lang_longSessions}}</th>
+ <th data-sort="int" data-sort-default="desc" class="text-left col_shortsessions">{{lang_shortSessions}}</th>
+ <th data-sort="int" data-sort-default="desc" class="text-left col_timeoffline">{{lang_totalOffTime}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {{#data}}
+ <tr>
+ <td class="locationName text-left">{{location}}</td>
+ <td data-sort-value="{{time}}" class="text-left col_totaltime">{{time_s}}</td>
+ <td data-sort-value="{{medianTime}}" class="text-left col_mediantime">{{medianTime_s}}</td>
+ <td class="text-left col_longsessions">{{sessions}}</td>
+ <td class="text-left col_shortsessions">{{shortSessions}}</td>
+ <td data-sort-value="{{offTime}}" class="text-left col_timeoffline">{{offTime_s}}</td>
+ </tr>
+ {{/data}}
+ </tbody>
+</table>