ajout style

This commit is contained in:
anto
2025-01-08 14:20:22 +01:00
parent 5445064086
commit faf5264015
5 changed files with 63 additions and 63 deletions

View File

@@ -18,13 +18,13 @@ function display_metrics(metrics_datas) {
document.addEventListener("DOMContentLoaded", () => {
const urlParams = new URLSearchParams(window.location.search);
const projectId = urlParams.get("id");
getDataProjectMetricsFromApi(projectId)
.then((project_metrics) => {
display_metrics(project_metrics);
})
.catch((error) => {
console.error(error);
});
// getDataProjectMetricsFromApi(projectId)
// .then((project_metrics) => {
// display_metrics(project_metrics);
// })
// .catch((error) => {
// console.error(error);
// });
document.getElementById("projets").addEventListener("click", () => {
window.location.href = "../index.html";
current_project = "";