Commit Graph

172 Commits

Author SHA1 Message Date
imperosol f17f17d8de use dynamic formset for product action formset 2026-03-10 19:26:30 +01:00
imperosol a27d8d0755 Revert "Custom style for Gala 2025"
This reverts commit 8cbf42d714.
2025-11-11 15:16:45 +01:00
imperosol 530e851bd1 add missing open graph tags 2025-11-09 21:28:16 +01:00
imperosol 8cbf42d714 Custom style for Gala 2025 2025-11-09 15:33:29 +01:00
klmp200 210278440a Change notification zone position 2025-09-26 13:36:36 +02:00
klmp200 c6e86841b3 Remove jquery remeanants 2025-09-25 16:02:56 +02:00
klmp200 cbe9887efb Create unified notification system 2025-09-25 16:02:55 +02:00
klmp200 ad8b003336 Remove s shortcut for search bar 2025-09-24 16:36:55 +02:00
imperosol 83c96884d8 add missing meta description tags 2025-09-01 18:20:27 +02:00
Julien Constant f5a8228358 Rework footer's UX on small devices 2025-06-22 20:01:22 +02:00
klmp200 30809a69c9 Move navbar script to dedicated file 2025-06-17 15:39:35 +02:00
klmp200 b5ebf09fcb Fix click on navbar 2025-06-17 15:31:51 +02:00
Bartuccio Antoine 1c14bb22a0 Merge pull request #1125 from ae-utbm/navbar-keyboard-navigation
Disable mouse click on navbar for desktop
2025-06-16 12:25:33 +02:00
klmp200 0f55bcc513 Disable mouse click on navbar for desktop 2025-06-16 09:17:40 +02:00
klmp200 17129af1bb Remove unused popup system and jquery-ui 2025-06-16 09:05:19 +02:00
klmp200 36d4a02a45 Remove js size animation and only use the opacity one 2025-06-10 15:06:59 +02:00
Bartuccio Antoine be32486115 Merge pull request #1106 from ae-utbm/navbar-keyboard-navigation
Refactor navbar css and use details instead of div for better semantics
2025-06-05 18:17:58 +02:00
klmp200 64fd123a85 Remove shadow and disable hovering on mobile view 2025-06-05 17:49:47 +02:00
klmp200 7090254658 Refactor navbar css and use details instead of div for better semantics 2025-06-05 17:49:47 +02:00
klmp200 0980fccf93 Add accordion animation with js 2025-06-03 20:48:45 +02:00
klmp200 c10b488080 Remove jquery-ui accordions 2025-06-03 20:48:45 +02:00
klmp200 1872e4abe5 Adapt calendar to new tooltip library 2025-05-14 15:00:51 +02:00
klmp200 35e96fb875 Create basic tooltip library 2025-05-14 14:58:59 +02:00
imperosol d16237d015 make PageCreateView a PermissionRequiredMixin 2025-03-13 18:49:42 +01:00
Kenneth SOARES bff6513192 renamed polyfill-index.ts to country-flags-index.ts 2025-03-05 20:13:20 +01:00
Kenneth SOARES 9991507297 made country flags apply to windows in chrome browsers 2025-03-05 19:59:28 +01:00
klmp200 2db3290bed Remove some jquery 2025-01-05 20:17:30 +01:00
klmp200 a8702d4f5e Improve welcome page
* Improve code readability of calendar details
* Add link to AE Dev discord in useful links
* Add link to github at the bottom
2025-01-05 16:42:26 +01:00
klmp200 8a8851847c Passage de webpack à vite.dev 2024-11-19 21:22:14 +01:00
klmp200 7b41051d0d Go for a more generic js bundling architecture
* Don't tie the output name to webpack itself
* Don't call js bundling webpack in python code
* Make the doc more generic about js bundling
2024-11-19 21:22:14 +01:00
klmp200 aebf909dc6 Apply review comments 2024-11-11 13:49:38 +01:00
klmp200 3af5d96bf5 Introduce htmx in sith files
* Convert FileModerationView into ListView and add pagination with htmx
* Don't allow sas moderation in file moderation view
* Split up base.jinja and introduce base_fragment.jinja
* Improve FileModerationView performances and make it root only
* Add permissions tests for file modération
2024-11-11 13:49:38 +01:00
klmp200 935914428b Remove ajax_select completely 2024-10-21 13:30:12 +02:00
klmp200 125157fdf4 Move gettext to the top 2024-10-20 18:35:55 +02:00
klmp200 0a0092e189 Add link-once and script-once web components 2024-10-19 18:55:32 +02:00
klmp200 deda2b4055 Replace selec2 with tom-select 2024-10-17 18:15:55 +02:00
klmp200 a5d8c96bab Remove select2 from vendored
* Make core/utils/select2.ts
* Convert viewer-index.js to typescript
2024-10-13 10:55:15 +02:00
thomas girod 81a64eed08 Merge pull request #867 from ae-utbm/barmen-link
Better UX and performance for counter state display
2024-10-11 09:31:12 +02:00
imperosol ca25a12be0 Increase the barmen timeout limit
La limite actuelle est trop faible. En soirée, on s'en fout. Mais en journée, c'est terriblement chiant. Certains barmens passent leur temps à rafraichir la la page, certains mettent un rechargement auto à intervalles réguliers (ce qui tue le concept du timeout), et d'autres encore ont juste arrêté d'y prêter attention (mais le comptoir apparait alors comme fermé, et des étudiants qui auraient pu venir au Foyer ne viennent finalement pas)
2024-10-10 19:38:49 +02:00
imperosol c0a6f5eb30 Optimize barmen timeout and counter state fetch
Le timeout se fait en une seule requête et la récupération de l'état des comptoirs en une seule requête aussi. Grâce à ça, on peut en grande partie retirer le cache pour l'affichage de l'état des comptoirs, ce qui a des implications excellentes en termes d'UX (comme le fait que la redirection vers la page de comptoir ou d'activité aura plus une apparence de truc aléatoire)
2024-10-10 19:38:49 +02:00
imperosol 4bc4d266c2 Remove the question mark from the counter state
En raison de la manière dont le timeout marche et de l'activité des comptoirs, la notion de "comptoir inactif" n'est pas intuitive. Un comptoir est ouvert ou fermé. Point.
2024-10-10 19:37:00 +02:00
klmp200 a71ca60270 Add typescript support and automatic openapi client generation from ninja 2024-10-09 16:28:54 +02:00
klmp200 7405241b82 Apply all biomejs fixes 2024-10-08 17:14:22 +02:00
klmp200 271d57051e Upgrade to fontawesome 6
* Adapt fontawesome usage when needed
* Fix uv guide not importing css
* Remove utf8 usage for fontawesome
2024-10-03 00:06:03 +02:00
klmp200 655d72a2b1 Completely integrate wepack in django
* Migrate alpine
* Migrate jquery and jquery-ui
* Migrate shorten
* Add babel for javascript
* Introduce staticfiles django app
* Only bundle -index.js files in static/webpack
* Unify scss and webpack generated files
* Convert scss calls to static
* Add --clear-generated option to collectstatic
* Fix docs warnings
2024-10-02 16:11:02 +02:00
thomas girod 1800785b80 generalize usage of the paginate_jinja macro 2024-09-27 11:21:33 +02:00
thomas girod a2a858262a apply review comments 2024-09-17 12:23:13 +02:00
thomas girod 48f605dbe0 Use select2 for user picture identification 2024-09-17 12:17:17 +02:00
thomas girod cf46c3800f remove sith version from the footer 2024-09-01 23:47:25 +02:00
thomas girod b7261ec629 custom manifest static files storage that also minify scss and js files 2024-08-26 22:34:32 +02:00