summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics_reporting/templates/table-client.html
diff options
context:
space:
mode:
authorSimon Rettberg2017-03-02 14:27:00 +0100
committerSimon Rettberg2017-03-02 14:27:00 +0100
commit7b198f93c1848589501ff8e41809412aa7ff72f9 (patch)
tree8e53c4a42d02b629835b2c597921bdbcf45d66ce /modules-available/statistics_reporting/templates/table-client.html
parent[systemstatus] Add lighttpd error log (diff)
parent[statistics_reporting] fixed column selector order (diff)
downloadslx-admin-7b198f93c1848589501ff8e41809412aa7ff72f9.tar.gz
slx-admin-7b198f93c1848589501ff8e41809412aa7ff72f9.tar.xz
slx-admin-7b198f93c1848589501ff8e41809412aa7ff72f9.zip
Merge branch 'statistics_reporting'
Diffstat (limited to 'modules-available/statistics_reporting/templates/table-client.html')
-rw-r--r--modules-available/statistics_reporting/templates/table-client.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/modules-available/statistics_reporting/templates/table-client.html b/modules-available/statistics_reporting/templates/table-client.html
new file mode 100644
index 00000000..be504cef
--- /dev/null
+++ b/modules-available/statistics_reporting/templates/table-client.html
@@ -0,0 +1,30 @@
+<table id="table-perclient" class="table table-condensed table-striped">
+ <thead>
+ <tr>
+ <th data-sort="string" class="text-left col-md-4">{{lang_hostname}}</th>
+ <th data-sort="string" class="text-left col_location">{{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_medianSessionLength">{{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_totalOffTime">{{lang_totalOffTime}}</th>
+ <th data-sort="int" data-sort-default="desc" class="text-left col_lastLogout">{{lang_lastLogout}}</th>
+ <th data-sort="int" data-sort-default="desc" class="text-left col_lastStart">{{lang_lastStart}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {{#data}}
+ <tr>
+ <td class="text-left">{{hostname}}</td>
+ <td class="text-left col_location"><a class="locationLink" href="#" data-lid="{{locationId}}">{{location}}</a></td>
+ <td data-sort-value="{{totalTime}}" class="text-left col_totalTime">{{totalTime_s}}</td>
+ <td data-sort-value="{{medianSessionLength}}" class="text-left col_medianSessionLength">{{medianSessionLength_s}}</td>
+ <td class="text-left col_longSessions">{{longSessions}}</td>
+ <td class="text-left col_shortSessions">{{shortSessions}}</td>
+ <td data-sort-value="{{totalOffTime}}" class="text-left col_totalOffTime">{{totalOffTime_s}}</td>
+ <td data-sort-value="{{lastLogout}}" class="text-left col_lastLogout">{{lastLogout_s}}</td>
+ <td data-sort-value="{{lastStart}}" class="text-left col_lastStart">{{lastStart_s}}</td>
+ </tr>
+ {{/data}}
+ </tbody>
+</table>