This commit is contained in:
NaNoMelo
2024-10-20 15:53:02 +02:00
committed by imperosol
parent 1bce7e055f
commit f133bac921
4 changed files with 24 additions and 4 deletions

View File

@@ -21,4 +21,21 @@
align-items: center;
}
}
}
#activityGraph {
th {
border: none;
}
.fc-col-header-cell-cushion {
color: white;
}
table table {
// the JS library puts tables inside the table
// Those additional tables must be hidden
border: none;
box-shadow: none;
}
}

View File

@@ -25,8 +25,8 @@ interface EventInput {
backgroundColor: string;
}
// TODO: Fix du look (bandes blanches dans la table, ...)
// TODO: Semaines passées
// TODO: Manage locales
exportToHtml("loadChart", loadChart);
@@ -35,7 +35,7 @@ async function loadChart(options: ActivityChartConfig) {
query: {
counter: [options.counterId],
// biome-ignore lint/style/useNamingConvention: backend API uses snake_case
start_date: options.startDate.toISOString(),
end_after: options.startDate.toISOString(),
},
} as PermanencyFetchPermananciesData);