Select tokens and secrets with single click

This commit is contained in:
Johannes Zellner
2016-06-07 14:10:20 +02:00
parent 89cef4f050
commit d62d2b17fe
2 changed files with 3 additions and 8 deletions

View File

@@ -141,11 +141,6 @@ html {
padding: 15px 0;
}
token {
font-weight: bold;
}
// ----------------------------
// Apps view
// ----------------------------

View File

@@ -237,14 +237,14 @@
<hr/>
<h4 class="text-muted">Credentials <button class="btn btn-xs btn-danger pull-right" ng-click="clientRemove.show(client)" title="Remove API Client" ng-show="client.location === 'external'">Remove API Client</button></h4>
<p>Scope: <b>{{ client.scope }}</b></p>
<p>Client ID: <b>{{ client.id }}</b></p>
<p ng-show="client.clientSecret">Client Secret: <b>{{ client.clientSecret }}</b></p>
<p>Client ID: <b ng-click-select>{{ client.id }}</b></p>
<p ng-show="client.clientSecret">Client Secret: <b ng-click-select>{{ client.clientSecret }}</b></p>
<hr/>
<h4 class="text-muted">Your Tokens</h4>
<p ng-repeat="token in client.activeTokens">
<token>{{ token.accessToken }}</token> <button class="btn btn-xs btn-danger pull-right" ng-click="" title="Revoke Token"><i class="fa fa-trash-o"></i></button>
<b ng-click-select>{{ token.accessToken }}</b> <button class="btn btn-xs btn-danger pull-right" ng-click="" title="Revoke Token"><i class="fa fa-trash-o"></i></button>
</p>
</div>
</div>