custom css

This commit is contained in:
Grizouille
2025-11-10 11:41:12 +01:00
parent 4b4eb94ff7
commit c6f237d1ba
4 changed files with 70 additions and 81 deletions

View File

@@ -2,6 +2,7 @@
display: flex;
height: 38px;
border: 1px solid #ced4da;
background-color: white;
border-radius: 7px;
padding: 0 8px;
}
@@ -13,12 +14,12 @@ input.search {
border: none;
outline: none;
background-color: transparent;
color: white !important;
color: black !important;
}
button.search {
height: 100%;
color: white;
color: #6c757d;
font-size: 14px;
border: none;
background-color: transparent;

View File

@@ -306,25 +306,6 @@ $(document).ready(function() {
});
// END DEEZER FAVORITE SONGS
$('#paramters').on('submit', function(e) {
e.preventDefault();
$.ajax({
url: deezer_downloader_api_root + '/save_config',
type: 'POST',
contentType: 'application/json', // essentiel pour Flask.get_json()
data: JSON.stringify({ dirPath: $('#param-directry-path').val(),
login: $('#param-login').val(),
password: $('#param-password').val()}),
success: function(response) {
$.jGrowl("Sauvegarder avec succès", { life: 4000 });
},
error: function(xhr) {
const err = xhr.responseJSON?.error || 'Erreur inconnue';
$('#result').css('color', 'red').text(err);
}
});
});
function show_tab(id_nav, id_content) {
// nav
@@ -338,6 +319,14 @@ $(document).ready(function() {
$("#" + id_content).addClass("active show")
}
$('#youtubedl-query-video').on('keypress', function(e) {
if (e.which === 13) {
e.preventDefault();
$('#yt_download_video').click();
}
});
var bbody = document.getElementById('body');
bbody.onkeydown = function (event) {