Replace big plus button with text link

This commit is contained in:
Girish Ramakrishnan
2019-05-31 14:39:35 -07:00
parent 2abca93333
commit f6ad697755

View File

@@ -53,7 +53,7 @@
</div>
<div class="form-group alternate-domains" ng-class="{ 'has-error': appConfigure.error.alternateDomains }">
<label class="control-label">Redirect the following domains to this app</label>
<label class="control-label">Redirections</label>
<div class="has-error" ng-show="appConfigure.error.alternateDomains">{{ appConfigure.error.alternateDomains }}</div>
<div class="row" ng-repeat="alternateDomain in appConfigure.alternateDomains">
@@ -78,13 +78,11 @@
<button class="btn btn-danger btn-sm" ng-click="appConfigure.delAlternateDomain($event, $index)"><i class="far fa-trash-alt"></i></button>
</div>
</div>
<div class="row">
<div class="col col-lg-11">
<p ng-show="appConfigure.alternateDomains.length === 0">No alternate domains are configured</p>
</div>
<div class="col col-lg-1">
<button class="btn btn-primary btn-sm" ng-click="appConfigure.addAlternateDomain($event)"><i class="fas fa-plus"></i></button>
</div>
<div ng-show="appConfigure.alternateDomains.length === 0">
No alternate domains are configured. <a href="" ng-click="appConfigure.addAlternateDomain($event)">Add a domain</a>
</div>
<div ng-show="appConfigure.alternateDomains.length > 0" style="margin-top: 5px;">
<a href="" ng-click="appConfigure.addAlternateDomain($event)">Add another domain</a>
</div>
</div>
</uib-tab>