Move email related things into separate view

This commit is contained in:
Johannes Zellner
2017-06-02 10:24:46 +02:00
parent fa3f173e8a
commit 8d45ce6971
7 changed files with 255 additions and 165 deletions

View File

@@ -46,6 +46,9 @@ app.config(['$routeProvider', function ($routeProvider) {
}).when('/certs', {
controller: 'CertsController',
templateUrl: 'views/certs.html'
}).when('/email', {
controller: 'EmailController',
templateUrl: 'views/email.html'
}).when('/settings', {
controller: 'SettingsController',
templateUrl: 'views/settings.html'

View File

@@ -91,7 +91,7 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
if (!result.dns.spf.status || !result.dns.dkim.status || !result.dns.ptr.status || !result.outboundPort25.status) {
var actionScope = $scope.$new(true);
actionScope.action = '/#/settings';
actionScope.action = '/#/email';
Client.notify('DNS Configuration', 'Please setup all required DNS records to guarantee correct mail delivery', false, 'info', actionScope);
}