simplify the sessions UI

This commit is contained in:
Girish Ramakrishnan
2019-11-07 14:28:52 -08:00
parent 836a3659b6
commit 0c5930d5cf
2 changed files with 5 additions and 14 deletions

View File

@@ -295,13 +295,8 @@
<div class="grid-item-top">
<div class="row">
<div class="col-xs-12">
<p>You have {{ activeClients.length + 1 }} active session(s), including this one.</p>
<span ng-show="activeTokenCount > 1">
<br/>
<h4>Active Sessions:</h4>
<p ng-repeat="client in activeClients"><b>{{ client.name }} - {{client.activeTokens.length}} time(s)</b></p>
<br/>
</span>
<p>You have {{ webadminClient.activeTokens.length }} active web session(s) and {{ cliClient.activeTokens.length }} CLI token(s).</p>
<button class="btn btn-outline btn-danger pull-right" ng-click="revokeTokens()">Logout From All</button>
</div>
</div>