diff --git a/static/websiteFunctions/websiteFunctions.js b/static/websiteFunctions/websiteFunctions.js index b823f72ee..f001883ab 100644 --- a/static/websiteFunctions/websiteFunctions.js +++ b/static/websiteFunctions/websiteFunctions.js @@ -5836,6 +5836,8 @@ app.controller('manageGIT', function ($scope, $http, $timeout, $window) { $scope.autoCommitCurrent = response.data.autoCommitCurrent; $scope.autoPushCurrent = response.data.autoPushCurrent; $scope.emailLogsCurrent = response.data.emailLogsCurrent; + $scope.currentCommands = response.data.commands; + $scope.webhookCommandCurrent = response.data.webhookCommandCurrent; } else { $scope.gitTracking = false; $scope.gitEnable = true; @@ -6675,6 +6677,8 @@ app.controller('manageGIT', function ($scope, $http, $timeout, $window) { autoCommit: $scope.autoCommit, autoPush: $scope.autoPush, emailLogs: $scope.emailLogs, + commands: $scope.commands, + webhookCommand: $scope.webhookCommand }; var config = { @@ -6737,7 +6741,6 @@ app.controller('manageGIT', function ($scope, $http, $timeout, $window) { $http.post(dataurl, data, config).then(ListInitialDatas, cantLoadInitialDatas); - function ListInitialDatas(response) { $scope.cyberpanelLoading = true; if (response.data.status === 1) { diff --git a/websiteFunctions/static/websiteFunctions/websiteFunctions.js b/websiteFunctions/static/websiteFunctions/websiteFunctions.js index b823f72ee..f001883ab 100755 --- a/websiteFunctions/static/websiteFunctions/websiteFunctions.js +++ b/websiteFunctions/static/websiteFunctions/websiteFunctions.js @@ -5836,6 +5836,8 @@ app.controller('manageGIT', function ($scope, $http, $timeout, $window) { $scope.autoCommitCurrent = response.data.autoCommitCurrent; $scope.autoPushCurrent = response.data.autoPushCurrent; $scope.emailLogsCurrent = response.data.emailLogsCurrent; + $scope.currentCommands = response.data.commands; + $scope.webhookCommandCurrent = response.data.webhookCommandCurrent; } else { $scope.gitTracking = false; $scope.gitEnable = true; @@ -6675,6 +6677,8 @@ app.controller('manageGIT', function ($scope, $http, $timeout, $window) { autoCommit: $scope.autoCommit, autoPush: $scope.autoPush, emailLogs: $scope.emailLogs, + commands: $scope.commands, + webhookCommand: $scope.webhookCommand }; var config = { @@ -6737,7 +6741,6 @@ app.controller('manageGIT', function ($scope, $http, $timeout, $window) { $http.post(dataurl, data, config).then(ListInitialDatas, cantLoadInitialDatas); - function ListInitialDatas(response) { $scope.cyberpanelLoading = true; if (response.data.status === 1) { diff --git a/websiteFunctions/templates/websiteFunctions/manageGIT.html b/websiteFunctions/templates/websiteFunctions/manageGIT.html index c11d2b332..21fa0fb1f 100755 --- a/websiteFunctions/templates/websiteFunctions/manageGIT.html +++ b/websiteFunctions/templates/websiteFunctions/manageGIT.html @@ -227,6 +227,29 @@ +
+ +
+ +
+
+ +
+ +
+
+ +
+
+
Currently: {$ webhookCommandCurrent $} +
+
+ @@ -534,7 +557,8 @@ + ng-hide="cyberpanelLoading" src="{% static 'images/loading.gif' %}"> +