add manual dns provider to the ui

This commit is contained in:
Girish Ramakrishnan
2016-12-14 13:50:16 -08:00
parent 855de8565e
commit b77b2ab82d
2 changed files with 12 additions and 4 deletions

View File

@@ -80,16 +80,23 @@
<td class="text-right" style="vertical-align: top; white-space: nowrap;">{{ config.fqdn }}</td>
</tr>
<tr ng-hide="dnsConfig.provider === 'noop'">
<tr ng-hide="dnsConfig.provider === 'noop' || dnsConfig.provider === 'manual'">
<td class="text-muted" style="vertical-align: top;">DNS Provider</td>
<td class="text-right" style="vertical-align: top; white-space: nowrap;">{{ dnsConfig.provider }}</td>
</tr>
<tr ng-show="dnsConfig.provider === 'manual'">
<td colspan="2">
<br/>
No DNS provider configured. All DNS records need to be setup manually.
To avoid manual setup for each installed app, setup a wildcard DNS record or configure an external DNS provider.
</td>
</tr>
<tr ng-show="dnsConfig.provider === 'noop'">
<td colspan="2">
<br/>
No DNS provider configured. All DNS records need to be setup manually.
To avoid manual setup for each installed app, setup a wildcard DNS record or configure an external DNS provider.
No DNS provider configured. All DNS records need to be setup manually and all DNS checks are skipped.
</td>
</tr>

View File

@@ -7,7 +7,8 @@ angular.module('Application').controller('CertsController', ['$scope', '$locatio
$scope.dnsConfig = null;
$scope.dnsProvider = [
{ name: 'Manual/Wildcard', value: 'noop' },
{ name: 'Manual/Wildcard', value: 'manual' },
{ name: 'No-op', value: 'noop' },
{ name: 'AWS Route53', value: 'route53' },
{ name: 'Digital Ocean', value: 'digitalocean' }
];