Skip to content

Commit

Permalink
Moved ngAdmin api-secret field to general settings
Browse files Browse the repository at this point in the history
  • Loading branch information
disc5 committed Apr 27, 2016
1 parent 5ac2d78 commit f8ed82e
Showing 1 changed file with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ <h3 class="panel-title">{{'EDIT_BASIC_INFORMATION' | translate}}</h3>
</div>
</div>

<div class="form-group">
<label for="inputClientSecret">{{'EDIT_API_SECRET' | translate}}</label>
<div class="input-group">
<input id="inputClientSecret" name="inputClientSecret" data-ng-model="current.api_secret" class="form-control" type="text">
<span class="input-group-btn">
<button type="button" class="btn btn-default" data-ng-click="createRandomApiSecret()">{{'EDIT_GENERATE' | translate}}</button>
</span>
</div>
</div>

<div class="form-group">
<label for="inputIpCSV">{{'EDIT_ALLOWED_IPS' | translate}}</label>
{{'EDIT_IP_ACCESS_TEXT' | translate}}
Expand Down Expand Up @@ -134,17 +144,6 @@ <h3 class="panel-title">{{'EDIT_GRANT_TYPE' | translate}}</h3>
{{'EDIT_GRANT_CC_USER_TEXT' | translate}}
</div>

<div class="form-group">
<label for="inputClientSecret">{{'EDIT_API_SECRET' | translate}}</label>
<div class="input-group">
<input id="inputClientSecret" name="inputClientSecret" data-ng-model="current.api_secret" class="form-control" type="text">
<span class="input-group-btn">
<button type="button" class="btn btn-default" data-ng-click="createRandomApiSecret()">{{'EDIT_GENERATE' | translate}}</button>
</span>
</div>
</div>


<div class="form-group">
<label for="inputGtAuth">{{'EDIT_GRANT_AC' | translate}}</label>
<div class="checkbox">
Expand Down

0 comments on commit f8ed82e

Please sign in to comment.