sheercms
Version:
Sheer Cliff CMS is a simple and powerful content management system (CMS) for Node JS.
60 lines (39 loc) • 1.16 kB
JavaScript
/*
Angular Controller: System
*/
app.controller('SystemController', function($scope) {
$scope.view = "";
$scope.setView = function(view) {
$scope.view = view;
};
$scope.setView('themes');
});
app.controller('CacheController', function($scope) {
$scope.title = "Cache";
$scope.message = "";
$scope.messageType = ""; //alert-success, alert-warning, alert-info, alert-danger
$scope.clearCache = function() {
};
$scope.refresh = function() {
};
});
app.controller('SettingController', function($scope, $rootScope) {
$scope.title = "Settings";
$scope.message = "";
$scope.messageType = ""; //alert-success, alert-warning, alert-info, alert-danger
$scope.settings = [];
$scope.save = function() {
};
});
app.controller('WidgetController', function($scope, $rootScope) {
$scope.title = "Widgets";
$scope.message = "";
$scope.messageType = ""; //alert-success, alert-warning, alert-info, alert-danger
$scope.widgets = [];
$scope.pageSize = 20;
$scope.pageNumber = 1;
$scope.browse = function() {
};
$scope.upload = function() {
};
});