session-realm.html 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. <div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
  2. <h1>{{:: 'sessions' | translate}}</h1>
  3. <ul class="nav nav-tabs">
  4. <li class="active"><a href="#/realms/{{realm.realm}}/sessions/realm">{{:: 'realm-sessions' | translate}}</a></li>
  5. <li><a href="#/realms/{{realm.realm}}/sessions/revocation">{{:: 'revocation' | translate}}</a></li>
  6. </ul>
  7. <table class="table table-striped table-bordered">
  8. <thead>
  9. <tr>
  10. <th class="kc-table-actions" colspan="3">
  11. <div class="pull-right">
  12. <a id="logoutAllSessions" class="btn btn-default" ng-click="logoutAll()">{{:: 'logout-all' | translate}}</a>
  13. </div>
  14. </th>
  15. </tr>
  16. <tr>
  17. <th>{{:: 'client' | translate}}</th>
  18. <th>{{:: 'active-sessions' | translate}}</th>
  19. <th>{{:: 'offline-sessions' | translate}}</th>
  20. </tr>
  21. </thead>
  22. <tbody>
  23. <tr data-ng-repeat="data in stats | orderBy:'clientId'">
  24. <td><a href="#/realms/{{realm.realm}}/clients/{{data.id}}/sessions">{{data.clientId}}</a></td>
  25. <td>{{data.active}}</td>
  26. <td>{{data.offline}}</td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <kc-menu></kc-menu>