mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-29 04:24:25 +00:00
CSS Fix
This commit is contained in:
parent
1bce7e055f
commit
f133bac921
@ -23,8 +23,10 @@ class PermanencySchema(ModelSchema):
|
|||||||
|
|
||||||
|
|
||||||
class PermanencyFilterSchema(FilterSchema):
|
class PermanencyFilterSchema(FilterSchema):
|
||||||
start_date: datetime | None = Field(None, q="start__gte")
|
start_after: datetime | None = Field(None, q="start__gte")
|
||||||
end_date: datetime | None = Field(None, q="end__lte")
|
start_before: datetime | None = Field(None, q="start__lte")
|
||||||
|
end_after: datetime | None = Field(None, q="end__gte")
|
||||||
|
end_before: datetime | None = Field(None, q="end__lte")
|
||||||
counter: set[int] | None = Field(None, q="counter_id__in")
|
counter: set[int] | None = Field(None, q="counter_id__in")
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,3 +22,20 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#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;
|
||||||
|
}
|
||||||
|
}
|
@ -25,8 +25,8 @@ interface EventInput {
|
|||||||
backgroundColor: string;
|
backgroundColor: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Fix du look (bandes blanches dans la table, ...)
|
|
||||||
// TODO: Semaines passées
|
// TODO: Semaines passées
|
||||||
|
// TODO: Manage locales
|
||||||
|
|
||||||
exportToHtml("loadChart", loadChart);
|
exportToHtml("loadChart", loadChart);
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ async function loadChart(options: ActivityChartConfig) {
|
|||||||
query: {
|
query: {
|
||||||
counter: [options.counterId],
|
counter: [options.counterId],
|
||||||
// biome-ignore lint/style/useNamingConvention: backend API uses snake_case
|
// biome-ignore lint/style/useNamingConvention: backend API uses snake_case
|
||||||
start_date: options.startDate.toISOString(),
|
end_after: options.startDate.toISOString(),
|
||||||
},
|
},
|
||||||
} as PermanencyFetchPermananciesData);
|
} as PermanencyFetchPermananciesData);
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
<h4>{% trans %}Last Week Activity {% endtrans %}</h4>
|
<h4>{% trans %}Last Week Activity {% endtrans %}</h4>
|
||||||
<div id="activityGraph" width="400" height="200"></div>
|
<div id="activityGraph" width="400" height="200"></div>
|
||||||
<br/>
|
<br/>
|
||||||
|
<br/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<h5>{% trans %}Legend{% endtrans %}</h5>
|
<h5>{% trans %}Legend{% endtrans %}</h5>
|
||||||
|
Loading…
Reference in New Issue
Block a user