Add ui for frame-ancestors

This commit is contained in:
Girish Ramakrishnan
2019-10-14 15:20:48 -07:00
parent 16728ab51c
commit 13c3624025
3 changed files with 24 additions and 17 deletions

View File

@@ -170,12 +170,8 @@ angular.module('Application').controller('ActivityController', ['$scope', '$loca
return 'Automatic backups of ' + name + ' was ' + (data.enableBackup ? 'enabled' : 'disabled');
} else if ('enableAutomaticUpdate' in data) {
return 'Automatic updates of ' + name + ' was ' + (data.enableAutomaticUpdate ? 'enabled' : 'disabled');
} else if ('robotsTxt' in data) {
if (data.robotsTxt) {
return 'robots.txt of ' + name + ' was set';
} else {
return 'robots.txt of ' + name + ' was reset';
}
} else if ('reverseProxyConfig' in data) {
return 'Reverse proxy configuration of ' + name + ' was updated';
} else if ('cert' in data) {
if (data.cert) {
return 'Custom certificate was set for ' + name;