Only caas currently allows dynamic domain change
This commit is contained in:
@@ -9,9 +9,9 @@
|
|||||||
<fieldset>
|
<fieldset>
|
||||||
<p class="has-error text-center" ng-show="dnsCredentials.error">{{ dnsCredentials.error }}</p>
|
<p class="has-error text-center" ng-show="dnsCredentials.error">{{ dnsCredentials.error }}</p>
|
||||||
|
|
||||||
<div class="form-group" ng-class="{ 'has-error': false }">
|
<div class="form-group" ng-class="{ 'has-error': false }" uib-tooltip="{{ dnsConfig.provider === 'caas' ? '' : 'Currently domain change is not supported' }}">
|
||||||
<label class="control-label" for="customDomainId">Domain Name</label>
|
<label class="control-label" for="customDomainId">Domain Name</label>
|
||||||
<input type="text" class="form-control" ng-model="dnsCredentials.customDomain" id="customDomainId" name="customDomainId" ng-disabled="dnsCredentials.busy" ng-minlength="4" ng-maxlength="128" placeholder="example.com" required autofocus>
|
<input type="text" class="form-control" ng-model="dnsCredentials.customDomain" id="customDomainId" name="customDomainId" ng-disabled="dnsCredentials.busy || dnsConfig.provider !== 'caas'" ng-minlength="4" ng-maxlength="128" placeholder="example.com" required autofocus>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group" ng-show="dnsConfig.provider !== 'caas'">
|
<div class="form-group" ng-show="dnsConfig.provider !== 'caas'">
|
||||||
|
|||||||
Reference in New Issue
Block a user