Merge branch 'v2.1.3-dev' of github.com:usmannasir/cyberpanel into v2.1.3-dev

This commit is contained in:
Usman Nasir
2022-04-24 14:36:46 +05:00
2 changed files with 5 additions and 4 deletions

View File

@@ -1076,9 +1076,7 @@ app.controller('backupLogsScheduled', function ($scope, $http, $timeout) {
///** Backup site ends **///
function changeRetention () {
alert("habbi");
};
@@ -1257,6 +1255,9 @@ app.controller('googleDrive', function ($scope, $http) {
};
dataurl = "/backup/changeFileRetention";
//console.log(data)
$http.post(dataurl, data, config).then(fileretention, cantLoadInitialData);
function fileretention(response) {

View File

@@ -113,7 +113,7 @@
</div>
<div style="display: none" id="checkret" class="form-group">
<div ng-hide="driveHidden" id="checkret" class="form-group">
<label class="col-sm-3 control-label">{% trans "Backup File Retention" %}</label>
<div class="col-sm-6">
<select id="fileretention" ng-model="Retentiontime" ng-change="changeRetention()" class="form-control">