mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-23 03:01:40 +02:00
reten
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user