mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 21:35:55 +01:00
improved git file changes
This commit is contained in:
@@ -2,10 +2,8 @@
|
||||
* Created by usman on 7/24/17.
|
||||
*/
|
||||
|
||||
|
||||
/* Utilities */
|
||||
|
||||
|
||||
function getCookie(name) {
|
||||
var cookieValue = null;
|
||||
if (document.cookie && document.cookie !== '') {
|
||||
@@ -34,18 +32,15 @@ function randomPassword(length) {
|
||||
|
||||
/* Utilities ends here */
|
||||
|
||||
|
||||
/* Java script code to monitor system status */
|
||||
|
||||
var app = angular.module('CyberCP', []);
|
||||
|
||||
|
||||
app.config(['$interpolateProvider', function($interpolateProvider) {
|
||||
$interpolateProvider.startSymbol('{$');
|
||||
$interpolateProvider.endSymbol('$}');
|
||||
}]);
|
||||
|
||||
|
||||
app.filter('getwebsitename', function() {
|
||||
return function(domain, uppercase) {
|
||||
|
||||
@@ -93,13 +88,8 @@ app.controller('systemStatusInfo', function($scope,$http,$timeout) {
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
/* Admin status */
|
||||
|
||||
|
||||
|
||||
|
||||
app.controller('adminController', function($scope,$http,$timeout) {
|
||||
|
||||
url = "/base/getAdminStatus";
|
||||
@@ -315,11 +305,8 @@ app.controller('adminController', function($scope,$http,$timeout) {
|
||||
function cantLoadInitialData(response) {}
|
||||
});
|
||||
|
||||
|
||||
|
||||
/* Load average */
|
||||
|
||||
|
||||
app.controller('loadAvg', function($scope,$http,$timeout) {
|
||||
|
||||
//getStuff();
|
||||
@@ -350,13 +337,8 @@ app.controller('loadAvg', function($scope,$http,$timeout) {
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/// home page system status
|
||||
|
||||
|
||||
app.controller('homePageStatus', function($scope,$http,$timeout) {
|
||||
|
||||
getStuff();
|
||||
@@ -472,9 +454,6 @@ app.controller('homePageStatus', function($scope,$http,$timeout) {
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
////////////
|
||||
|
||||
function increment(){
|
||||
@@ -488,11 +467,8 @@ function increment(){
|
||||
|
||||
increment();
|
||||
|
||||
|
||||
|
||||
////////////
|
||||
|
||||
|
||||
app.controller('versionManagment', function($scope,$http,$timeout) {
|
||||
|
||||
$scope.upgradeLoading = true;
|
||||
|
||||
Reference in New Issue
Block a user