webadmin: Refactor the domains view

This commit is contained in:
Johannes Zellner
2017-11-07 00:51:13 +01:00
parent d75959772c
commit 7c51c380ae
7 changed files with 418 additions and 523 deletions

View File

@@ -55,9 +55,9 @@ app.config(['$routeProvider', function ($routeProvider) {
}).when('/debug', {
controller: 'DebugController',
templateUrl: 'views/debug.html'
}).when('/certs', {
controller: 'CertsController',
templateUrl: 'views/certs.html'
}).when('/domains', {
controller: 'DomainsController',
templateUrl: 'views/domains.html'
}).when('/email', {
controller: 'EmailController',
templateUrl: 'views/email.html'

View File

@@ -38,7 +38,7 @@ app.controller('SetupDNSController', ['$scope', '$http', 'Client', function ($sc
}
});
// keep in sync with certs.js
// keep in sync with domains.js
$scope.dnsProvider = [
{ name: 'AWS Route53', value: 'route53' },
{ name: 'Cloudflare (DNS only)', value: 'cloudflare' },