diff options
author | Christian Hofmaier | 2016-11-28 15:41:15 +0100 |
---|---|---|
committer | Christian Hofmaier | 2016-11-28 15:41:15 +0100 |
commit | e10ad1d38de5fa13781c3af17a4de8fe85644a0e (patch) | |
tree | d87a16b81b2fa732bfc0fbf9a326e8efb0103803 /modules-available/statistics_reporting/templates | |
parent | [statistics_reporting] new empty module (diff) | |
download | slx-admin-e10ad1d38de5fa13781c3af17a4de8fe85644a0e.tar.gz slx-admin-e10ad1d38de5fa13781c3af17a4de8fe85644a0e.tar.xz slx-admin-e10ad1d38de5fa13781c3af17a4de8fe85644a0e.zip |
login count and offline time database queries
Diffstat (limited to 'modules-available/statistics_reporting/templates')
-rw-r--r-- | modules-available/statistics_reporting/templates/_page.html | 142 |
1 files changed, 138 insertions, 4 deletions
diff --git a/modules-available/statistics_reporting/templates/_page.html b/modules-available/statistics_reporting/templates/_page.html index dfc941ae..101a124e 100644 --- a/modules-available/statistics_reporting/templates/_page.html +++ b/modules-available/statistics_reporting/templates/_page.html @@ -1,4 +1,138 @@ -<div style="border:5px solid red"> - <h1>{{lang_hello}}, {{foo}}</h1> - ** {{now}} ** -</div>
\ No newline at end of file +<div> + <table class="table table-condensed table-striped"> + <tr> + <th>{{lang_totalLogins}}</th> + </tr> + <tr> + <td>{{totalLogins}}</td> + </tr> + </table> +</div> + +<div> + <table class="table table-condensed table-striped"> + <tr> + <th>{{lang_overallOfftime}}</th> + </tr> + <tr> + <td>{{totalOfftime}}</td> + </tr> + </table> +</div> + + + +<div class="row"> + <div class="col-md-3"> + <table class="table table-condensed"> + <tr> + <th>{{lang_client}}</th> + <th>{{lang_totalOffTime}}</th> + </tr> + {{#totalOfflineTimeClient}} + <tr> + <td>{{client}}</td> + <td>{{offTime}}</td> + </tr> + {{/totalOfflineTimeClient }} + </table> + </div> + + <div class="col-md-3"> + <table class="table table-condensed"> + <tr> + <th>{{lang_client}}</th> + <th>{{lang_clientLogout}}</th> + <th>{{lang_offTime}}</th> + </tr> + {{#lastLogout}} + <tr> + <td>{{client}}</td> + <td>{{lastlogout}}</td> + <td>{{howLongOff}}</td> + </tr> + {{/lastLogout}} + </table> + </div> + + <div class="col-md-3"> + <table class="table table-condensed"> + <tr> + <th>{{lang_client}}</th> + <th>{{lang_clientStart}}</th> + </tr> + {{#lastLogin}} + <tr> + <td>{{client}}</td> + <td>{{lastlogin}}</td> + </tr> + {{/lastLogin}} + </table> + </div> + + <div class="col-md-3"> + <table class="table table-condensed"> + <tr> + <th>{{lang_room}}</th> + <th>{{lang_totalOffTime}}</th> + </tr> + {{#offTimeRoom}} + <tr> + <td>{{room}}</td> + <td>{{offTime}}</td> + </tr> + {{/offTimeRoom}} + </table> + </div> +</div> + + + + +<div class="row"> + <div class="col-md-4"> + <table class="table table-condensed"> + <tr> + <th>{{lang_vm}}</th> + <th>{{lang_countLogins}}</th> + </tr> + {{#vmLogins}} + <tr> + <td>{{vmname}}</td> + <td>{{numLogins}}</td> + </tr> + {{/vmLogins}} + </table> + </div> + + <div class="col-md-4"> + <table class="table table-condensed table-striped"> + <tr> + <th>{{lang_client}}</th> + <th>{{lang_countLogins}}</th> + </tr> + {{#machineLogins}} + <tr> + <td>{{client}}</td> + <td>{{numLogins}}</td> + </tr> + {{/machineLogins}} + </table> + </div> + + <div class="col-md-4"> + <table class="table table-condensed table-striped"> + <tr> + <th>{{lang_user}}</th> + <th>{{lang_countLogins}}</th> + </tr> + {{#userLogins}} + <tr> + <td>{{username}}</td> + <td>{{numLogins}}</td> + </tr> + {{/userLogins}} + </table> + </div> +</div> + |