Ajout de la description du projet dans le carousel avec un style de texte amélioré.
All checks were successful
SSH Frontend Deploy / ssh-deploy (push) Successful in 3s
All checks were successful
SSH Frontend Deploy / ssh-deploy (push) Successful in 3s
This commit is contained in:
@@ -130,6 +130,7 @@ function setupCarousel(global_project_list) {
|
|||||||
projectDiv.classList.add(letter[index]);
|
projectDiv.classList.add(letter[index]);
|
||||||
projectDiv.innerHTML = `
|
projectDiv.innerHTML = `
|
||||||
<h2>${project.name}</h2>
|
<h2>${project.name}</h2>
|
||||||
|
<p class="project-description" style="font-size: 0.8em; font-style: italic; margin-top: -5px; margin-bottom: 10px;">${project.description || 'Pas de description'}</p>
|
||||||
<p><strong>Date de début :</strong> ${formatDateToFrench(project.start_date)}</p>
|
<p><strong>Date de début :</strong> ${formatDateToFrench(project.start_date)}</p>
|
||||||
<p><strong>Statut :</strong> ${formatStatusWithColor(parseInt(project.status))}</p>
|
<p><strong>Statut :</strong> ${formatStatusWithColor(parseInt(project.status))}</p>
|
||||||
<div class="project_buttons">
|
<div class="project_buttons">
|
||||||
|
|||||||
Reference in New Issue
Block a user