aboutsummaryrefslogtreecommitdiff
path: root/src/pages.mli
AgeCommit message (Collapse)Author
2022-02-05Introduce a new feature to list events without locationAlban Gruin
This adds a new page listing events without location. Signed-off-by: Alban Gruin <alban@pa1ch.fr>
2022-02-05server: extract the function reading the module id and groupsAlban Gruin
A new function, listing events with no location, will also need to read the module id and groups from request parameters. Extract the function taking care of that to avoid code duplication. This also adds a button on the link page, to access to the page listing events without location. This feature is not yet implemented. Signed-off-by: Alban Gruin <alban@pa1ch.fr>
2021-09-19server, ics, pages: allow to generate ICS from modulesAlban Gruin
This adds the ability to generate an ICS file from a module ID, and to filter it based on its groups. To do this, you can enter a module ID on the frontpage. Then, µCS will fetch the timetable, then return a page where one can select the group(s) they want to filter (this is enabled by the new Ics.get_all_groups function). Then, µCS is able to generate a link to that calendar, not unlike with a single group ID. Signed-off-by: Alban Gruin <alban@pa1ch.fr>
2020-09-13Add webpages and styleAlban Gruin
Signed-off-by: Alban Gruin <alban@pa1ch.fr>