mirror of
https://git.victorphan.net/basketballcantho/Teedy_custom.git
synced 2026-08-06 06:13:10 +07:00
20 lines
744 B
HTML
20 lines
744 B
HTML
<h1>Opened <small>sessions</small></h1>
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Created date</th>
|
|
<th>Last connection date</th>
|
|
<th>Current</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="session in sessions | orderBy: '-current'" ng-class="{ 'info': session.current, 'warning': !session.current }">
|
|
<td>{{ session.create_date | date: 'yyyy-MM-dd HH:mm' }}</td>
|
|
<td>{{ session.last_connection_date | date: 'yyyy-MM-dd HH:mm' }}</td>
|
|
<td><span ng-show="session.current" class="icon-ok"></span></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<div class="form-actions">
|
|
<button type="submit" class="btn btn-warning" ng-click="deleteSession()">Clear all other sessions</button>
|
|
</div> |