add new branding view
This commit is contained in:
@@ -721,7 +721,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
};
|
||||
|
||||
Client.prototype.setFooter = function (footer, callback) {
|
||||
post('/api/v1/settings/footer', { footer: footer }, null, function (error, data, status) {
|
||||
post('/api/v1/branding/footer', { footer: footer }, null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 200) return callback(new ClientError(status, data));
|
||||
|
||||
@@ -730,7 +730,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
};
|
||||
|
||||
Client.prototype.getFooter = function (callback) {
|
||||
get('/api/v1/settings/footer', null, function (error, data, status) {
|
||||
get('/api/v1/branding/footer', null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 200) return callback(new ClientError(status, data));
|
||||
|
||||
|
||||
@@ -129,6 +129,9 @@ app.config(['$routeProvider', function ($routeProvider) {
|
||||
}).when('/backups', {
|
||||
controller: 'BackupsController',
|
||||
templateUrl: 'views/backups.html?<%= revision %>'
|
||||
}).when('/branding', {
|
||||
controller: 'BrandingController',
|
||||
templateUrl: 'views/branding.html?<%= revision %>'
|
||||
}).when('/graphs', {
|
||||
controller: 'GraphsController',
|
||||
templateUrl: 'views/graphs.html?<%= revision %>'
|
||||
|
||||
Reference in New Issue
Block a user