This commit is contained in:
2024-12-06 08:09:07 +01:00
parent c1aa1026a7
commit e0aa499940
49 changed files with 803 additions and 638 deletions

80
public/lib/app/app.css Normal file
View File

@ -0,0 +1,80 @@
html,
body {
height: 100%
}
body {
display: flex;
flex-direction: column;
align-items: stretch;
}
.avatar{
border-radius: 100%;
width:40px;
height:40px;
}
.navbar-brand img {
width: 40px;
margin-right: 10px;
}
.navbar-toggler {
border: none;
box-shadow: none !important;
}
main {
display: flex;
flex-grow: 1;
align-items: stretch;
}
sidebar {
width: 300px;
padding: 15px;
background-color: rgba(var(--bs-dark-rgb));
display: flex;
flex-direction: column;
}
sidebar div {
display: flex;
flex-direction: column;
border-bottom: 1px solid var(--bs-body-color);
padding-bottom: 10px;
}
sidebar a {
text-decoration: none;
color: var(--bs-body-color);
;
opacity: 0.6;
margin: 5px 0px;
}
sidebar a:hover {
text-decoration: none;
opacity: 1;
}
content {
flex-grow: 1;
align-items: stretch;
padding: 15px;
}
@media (max-width: 991px) {
sidebar {
width: 70px;
}
sidebar i {
font-size: 200%;
}
sidebar span {
display: none;
}
}

4
public/lib/app/app.js Normal file
View File

@ -0,0 +1,4 @@
function ModalLoad(idmodal,title,path) {
$("#"+idmodal+" .modal-header h4").text(title);
$("#"+idmodal+" #framemodal").attr("src",path);
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,30 @@
$(document).ready(function() {
$.extend( $.fn.dataTable.defaults, {
responsive: true,
"iDisplayLength": 1000,
"oLanguage": {
"sThousands": " ",
"sProcessing": "Traitement en cours...",
"sSearch": "Rechercher :",
"sLengthMenu": "Afficher _MENU_ éléments",
"sInfo": "Affichage de l'élement _START_ à _END_ sur _TOTAL_ éléments",
"sInfoEmpty": "Affichage de l'élement 0 à 0 sur 0 éléments",
"sInfoFiltered": "(filtré de _MAX_ éléments au total)",
"sInfoPostFix": "",
"sLoadingRecords": "Chargement en cours...",
"sZeroRecords": "Aucun élément à afficher",
"sEmptyTable": "Aucune donnée disponible dans le tableau",
"oPaginate": {
"sFirst": "Premier",
"sPrevious": "Précédent",
"sNext": "Suivant",
"sLast": "Dernier"
},
"oAria": {
"sSortAscending": ": activer pour trier la colonne par ordre croissant",
"sSortDescending": ": activer pour trier la colonne par ordre décroissant"
}
},
//"stateSave": true
});
});

File diff suppressed because one or more lines are too long

22
public/lib/datatables/datatables.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,44 @@
/* Dropzone avec style Bootstrap */
.dropzone {
min-height: 200px; /* Taille minimale */
border-radius: 0.375rem; /* Coin arrondi */
background: #f8f9fa; /* Couleur de fond (bg-light) */
display: flex;
align-items: center;
justify-content: center;
}
/* Message de Dropzone */
.dropzone .dz-message {
font-size: 1rem;
font-weight: 500;
color: #6c757d; /* Texte gris (text-muted) */
}
/* Fichiers téléchargés */
.dropzone .dz-preview {
margin: 10px;
border: 1px solid #dee2e6; /* Bordure des fichiers */
border-radius: 0.375rem;
background: white;
padding: 10px;
display: flex;
align-items: center;
}
.dropzone .dz-preview .dz-filename {
font-size: 0.9rem;
color: #495057; /* Texte plus foncé */
}
.dropzone .dz-preview .dz-size {
font-size: 0.8rem;
color: #adb5bd;
}
.dropzone .dz-preview .dz-remove {
font-size: 0.8rem;
color: #dc3545; /* Bouton rouge */
text-decoration: underline;
cursor: pointer;
}

1
public/lib/dropzone/dropzone.min.css vendored Normal file

File diff suppressed because one or more lines are too long

1
public/lib/dropzone/dropzone.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

2
public/lib/jquery/jquery.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

9
public/lib/select2/select2.init.js vendored Normal file
View File

@ -0,0 +1,9 @@
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/fr",[],function(){return{errorLoading:function(){return"Les résultats ne peuvent pas être chargés."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Supprimez "+t+" caractère"+(t>1)?"s":""},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Saisissez au moins "+t+" caractère"+(t>1)?"s":""},loadingMore:function(){return"Chargement de résultats supplémentaires…"},maximumSelected:function(e){return"Vous pouvez seulement sélectionner "+e.maximum+" élément"+(e.maximum>1)?"s":""},noResults:function(){return"Aucun résultat trouvé"},searching:function(){return"Recherche en cours…"}}}),{define:e.define,require:e.require}})();
$(() => {
$('.select2').select2(
{
language: "fr",
theme: 'bootstrap-5'
}
);
});

1
public/lib/select2/select2.min.css vendored Normal file

File diff suppressed because one or more lines are too long

2
public/lib/select2/select2.min.js vendored Normal file

File diff suppressed because one or more lines are too long