custom css
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user