Add gcdns for edit/add domains
This commit is contained in:
@@ -51,16 +51,17 @@
|
||||
</div>
|
||||
|
||||
<!-- Google Cloud DNS -->
|
||||
<div class="form-group" ng-class="{ 'has-error': false }" ng-show="domainConfigure.provider === 'gcdns'">
|
||||
<label class="control-label">{{ 'domains.domainDialog.gcdnsServiceAccountKey' | tr }}</label>
|
||||
<FormGroup v-if="domainConfigure.provider === 'gcdns'">
|
||||
<label for="gcdnsKeyFileInput">{{ 'domains.domainDialog.gcdnsServiceAccountKey' | tr }}</label>
|
||||
<!-- TODO replace with a pankow input group -->
|
||||
<div class="input-group">
|
||||
<input type="file" id="gcdnsKeyFileInput" style="display:none"/>
|
||||
<input type="text" class="form-control" placeholder="Service Account Key" ng-model="domainConfigure.gcdnsKey.keyFileName" id="gcdnsKeyInput" name="cert" onclick="getElementById('gcdnsKeyFileInput').click();" style="cursor: pointer;" ng-disabled="domainConfigure.busy" ng-required="domainConfigure.provider === 'gcdns'">
|
||||
<input type="text" class="form-control" placeholder="Service Account Key" v-model="gcdnsKeyFileName" id="gcdnsKeyInput" onclick="getElementById('gcdnsKeyFileInput').click();" style="cursor: pointer;" required>
|
||||
<span class="input-group-addon">
|
||||
<i class="fa fa-upload" onclick="getElementById('gcdnsKeyFileInput').click();"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</FormGroup>
|
||||
|
||||
<!-- DigitalOcean -->
|
||||
<div class="form-group" ng-class="{ 'has-error': false }" ng-show="domainConfigure.provider === 'digitalocean'">
|
||||
|
||||
Reference in New Issue
Block a user