mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-12-23 22:46:44 +01:00
✏️ Little visual change on backup config modal
This commit is contained in:
parent
fce90f0b6a
commit
5bcd0b4dde
@ -10670,6 +10670,13 @@ textarea.form-control-lg {
|
||||
|
||||
input[type=time]::-webkit-calendar-picker-indicator {
|
||||
filter: invert(63%) sepia(23%) saturate(819%) hue-rotate(358deg) brightness(88%) contrast(91%);
|
||||
height: 30px;
|
||||
margin: -12px;
|
||||
width: 32px;
|
||||
}
|
||||
|
||||
input[type=time]::-webkit-calendar-picker-indicator:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=custom_bootstrap.css.map */
|
||||
|
File diff suppressed because one or more lines are too long
@ -346,9 +346,8 @@ function getBackupSettings() {
|
||||
$('#cron-drop-day').val(data.settings.cron_weekday);
|
||||
let folder_html = ""
|
||||
for (let thisFolder of data.folders) {
|
||||
//TODO Bug ici ?
|
||||
let exclude = data.settings.exclude_folder.includes(thisFolder.slug);
|
||||
folder_html += `<li class="list-group-item"><div class="form-check"><input class="form-check-input addons-box" type="checkbox" id="${thisFolder.slug}" ${exclude ? "" : "checked"}><label class="form-label mb-0" for="${thisFolder.slug}">${thisFolder.name}</label></div></li>`
|
||||
folder_html += `<li class="list-group-item"><div class="form-check"><input class="form-check-input folders-box" type="checkbox" id="${thisFolder.slug}" ${exclude ? "" : "checked"}><label class="form-label mb-0" for="${thisFolder.slug}">${thisFolder.name}</label></div></li>`
|
||||
}
|
||||
$("#folders-div").html(folder_html);
|
||||
|
||||
@ -407,7 +406,6 @@ function sendBackupSettings() {
|
||||
let auto_clean_local_keep = $("#local-snap-keep").val();
|
||||
let auto_clean_backup_keep = $("#backup-snap-keep").val();
|
||||
let name_template = $('#name-template').val();
|
||||
//TODO Bug ici ?
|
||||
let excluded_folders_nodes = document.querySelectorAll('.folders-box:not(:checked)');
|
||||
let exclude_folder = [""];
|
||||
for (let i of excluded_folders_nodes) {
|
||||
|
@ -41,5 +41,12 @@ $alert-color-scale: -100%;
|
||||
|
||||
input[type="time"]::-webkit-calendar-picker-indicator {
|
||||
filter: invert(63%) sepia(23%) saturate(819%) hue-rotate(358deg) brightness(88%) contrast(91%);
|
||||
height: 30px;
|
||||
margin: -12px;
|
||||
width: 32px;
|
||||
}
|
||||
input[type="time"]::-webkit-calendar-picker-indicator:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
|
@ -136,7 +136,7 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="modal-footer blue-grey darken-4">
|
||||
<div class="modal-footer border-secondary">
|
||||
<button data-bs-dismiss="modal" class="btn btn-danger"><b>Cancel</b></button>
|
||||
<button class="btn btn-success" id="save-backup-settings"><b>Save</b></button>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user