Make add redirect-uri and web-origin use same l&f
This commit is contained in:
parent
86ad7292af
commit
fad0a7728c
2 changed files with 33 additions and 41 deletions
|
@ -92,30 +92,24 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group" data-ng-show="!application.bearerOnly">
|
<div class="form-group" data-ng-show="!application.bearerOnly">
|
||||||
<label class="col-sm-2 control-label" for="newWebOrigin">Web Origin</label>
|
<label class="col-sm-2 control-label" for="newWebOrigin">Web Origin</label>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-4 multiple" ng-repeat="webOrigin in application.webOrigins">
|
||||||
<div ng-repeat="webOrigin in application.webOrigins" class="row kc-item-deletable">
|
<div class="input-group kc-item-deletable">
|
||||||
<div class="col-sm-8">
|
<input class="form-control" type="text" data-ng-class="{'input-below':!$first}"
|
||||||
<input class="form-control kc-button-control"
|
name="webOrigin" id="webOrigin" data-ng-model="webOrigin" readonly />
|
||||||
type="text" data-ng-class="{'input-below':!$first}"
|
<span class="input-group-btn">
|
||||||
name="webOrigin" id="webOrigin"
|
<button class="btn btn-default" type="button" data-ng-click="deleteWebOrigin($index)">
|
||||||
data-ng-model="webOrigin" readonly/>
|
Delete</button>
|
||||||
</div>
|
</span>
|
||||||
<div class="col-sm-2">
|
|
||||||
<button class="btn btn-danger"
|
|
||||||
type="button" data-ng-click="deleteWebOrigin($index)">Delete</button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="col-sm-4 multiple">
|
||||||
<div class="col-sm-8">
|
<div class="input-group">
|
||||||
<input class="form-control kc-button-control"
|
<input class="form-control" type="text" name="newWebOrigin" id="newWebOrigin"
|
||||||
type="text" name="newWebOrigin" id="newWebOrigin"
|
|
||||||
placeholder="New Web Origin..." data-ng-model="newWebOrigin"
|
placeholder="New Web Origin..." data-ng-model="newWebOrigin"
|
||||||
data-ng-class="{'input-below':application.webOrigins.length}" />
|
data-ng-class="{'input-below':application.webOrigins.length}" />
|
||||||
</div>
|
<span class="input-group-btn">
|
||||||
<div class="col-sm-2">
|
<button class="btn btn-default" data-ng-click="addWebOrigin()" ng-show="newWebOrigin.length > 0">Add</button>
|
||||||
<button class="btn btn-primary"
|
</span>
|
||||||
data-ng-click="addWebOrigin()" ng-show="newWebOrigin.length > 0">Add</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -77,26 +77,24 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-2 control-label" for="newWebOrigin">Web Origin</label>
|
<label class="col-sm-2 control-label" for="newWebOrigin">Web Origin</label>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-4 multiple" ng-repeat="webOrigin in oauth.webOrigins">
|
||||||
<div ng-repeat="webOrigin in oauth.webOrigins" class="kc-item-deletable row">
|
<div class="input-group kc-item-deletable">
|
||||||
<div class="col-sm-8">
|
|
||||||
<input class="form-control" type="text" data-ng-class="{'input-below':!$first}"
|
<input class="form-control" type="text" data-ng-class="{'input-below':!$first}"
|
||||||
name="webOrigin" id="webOrigin" data-ng-model="webOrigin" readonly />
|
name="webOrigin" id="webOrigin" data-ng-model="webOrigin" readonly />
|
||||||
</div>
|
<span class="input-group-btn">
|
||||||
<div class="col-sm-2">
|
<button class="btn btn-default" type="button" data-ng-click="deleteWebOrigin($index)">
|
||||||
<button class="btn btn-danger" type="button" data-ng-click="deleteWebOrigin($index)">
|
|
||||||
Delete</button>
|
Delete</button>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="col-sm-4 multiple">
|
||||||
<div class="col-sm-8">
|
<div class="input-group">
|
||||||
<input class="form-control" type="text" name="newWebOrigin" id="newWebOrigin"
|
<input class="form-control" type="text" name="newWebOrigin" id="newWebOrigin"
|
||||||
placeholder="New Web Origin..." data-ng-model="newWebOrigin"
|
placeholder="New Web Origin..." data-ng-model="newWebOrigin"
|
||||||
data-ng-class="{'input-below':oauth.webOrigins.length}" />
|
data-ng-class="{'input-below':oauth.webOrigins.length}" />
|
||||||
</div>
|
<span class="input-group-btn">
|
||||||
<div class="col-sm-2">
|
<button class="btn btn-default" data-ng-click="addWebOrigin()" ng-show="newWebOrigin.length > 0">Add</button>
|
||||||
<button class="btn btn-primary" data-ng-click="addWebOrigin()" ng-show="newWebOrigin.length > 0">Add</button>
|
</span>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue