Commit Graph

160 Commits

Author SHA1 Message Date
0dc5e63e25 Lib: Use <a> for button component's href mode (fixes preloading) 2025-02-03 21:31:04 +01:00
6dd3f24d32 Lib: Move dropdown options creation into library 2025-02-03 19:39:33 +01:00
2efd12a28d Lib: Implement RaceResultCard 2025-02-03 09:32:34 +01:00
186e6430e0 Lib: Fix bug in form_data_remove (keys where deleted while iterating) 2025-02-03 09:25:53 +01:00
46124cd9ec Lib: Add comment 2025-02-03 09:06:46 +01:00
09054d2134 Lib: Implement helper to remove formData fields 2025-02-03 09:06:34 +01:00
4c8bfc1133 Lib: Fix typo in DriverCard 2025-01-31 23:18:57 +01:00
bc6d9e7612 Lib: Move pxx guess colorings into config.ts 2025-01-31 23:13:44 +01:00
25e41f7ae4 Lib: Fix disabled_inputs propagation to create team/driver/race/substitution buttons 2025-01-31 22:19:11 +01:00
5c75728163 Lib: Make RacePickCard labelwidth smaller 2025-01-31 00:56:47 +01:00
0985936c64 Lib: Hide seconds in countdown component 2025-01-31 00:40:53 +01:00
f4b89ec839 Lib: Implement countdown component 2025-01-30 22:33:52 +01:00
b4931611b3 Lib: Add stopwatch svg icon component 2025-01-30 22:33:44 +01:00
5bf47b9523 Lib: Correct schema (removed some "expand" fields) 2025-01-29 00:29:51 +01:00
9925a9b3c4 Lib: Add optional image zoom on mouse hover 2025-01-29 00:29:20 +01:00
30328ff4bd Lib: Add comment 2025-01-27 23:59:17 +01:00
9d38a03e57 Lib: Add CurrentPickedUser to schema 2025-01-27 23:47:43 +01:00
42c6390d6e Lib: Allow adding extra classes to LazyImage component 2025-01-27 23:47:20 +01:00
aee0da174d Lib: Add RacePickCard component 2025-01-27 23:47:10 +01:00
b95a5109e0 Lib: Disable draggable images 2025-01-27 20:30:27 +01:00
2aa176ed5f Lib: Add ChequeredFlagIcon component 2025-01-27 20:16:17 +01:00
986a49377b Lib: Hide table header if no data is passed 2025-01-27 19:43:45 +01:00
5a506768ab Lib: Add extraclass field to Button component 2025-01-27 19:38:17 +01:00
36c2789304 All: Replace <b> with <span class="font-bold"> 2025-01-27 19:38:08 +01:00
1158efd5f1 Lib: Add shadow option to Button component 2025-01-26 15:18:47 +01:00
9ef669c11a Lib: Add RaceResult to schema 2025-01-26 13:53:34 +01:00
73df15a188 Lib: Add possible "expand" fields to schema 2025-01-26 13:02:26 +01:00
d2b6bd88ca Lib: Update RacePick schema (expanded values) 2025-01-25 19:11:55 +01:00
8fec70384d Lib: Make table non-interactive (use pointer cursor instead) 2025-01-25 18:35:27 +01:00
c39a10abe5 Lib: Add RacePick schema 2025-01-25 18:29:56 +01:00
d007cac4c0 Lib: Make table rows colors alternating 2025-01-25 18:27:01 +01:00
b207aa5e29 Profile: Add firstname field to users 2025-01-25 16:43:36 +01:00
a552865b2f Lib: Add svg NameIcon 2025-01-25 16:28:09 +01:00
999cf5bf16 Lib: Remove LazyCard component 2025-01-25 16:27:56 +01:00
ea54ea58f1 Lib: Make button pathname matching more relaxed 2024-12-27 21:51:03 +01:00
65f60ec6b1 Lib: Remove LazyDropdown
It was identical to "Dropdown" after removing the non-lazy "Image"
component
2024-12-27 19:44:05 +01:00
bcd8f3dfb5 Lib: Close Team/Driver/Race/Substitution cards when clicking on the image 2024-12-27 19:43:36 +01:00
00a577520c Lib: Allow to pass an onclick handler for the card image 2024-12-27 19:43:16 +01:00
80d2fe2297 Lib: Load modal meta data required for "create" driver/race/team/substitution cards 2024-12-27 19:35:47 +01:00
2d2fd9f622 Lib: Remove non-lazy image
We need the width/height anyways to determine the max size, so don't
bother with non-lazy stuff
2024-12-27 19:16:02 +01:00
e4a4a15367 Data/Season: Add create team button 2024-12-23 17:32:45 +01:00
29eb59a983 Lib: Read disable_inputs from modalStore meta for driver-/race-/substitution-/team-card 2024-12-23 16:47:46 +01:00
3e0f17faf0 Lib: Allow table value formatting function to return promise 2024-12-23 16:15:27 +01:00
a4c2461471 Lib: Make race-/substitution-card buttons fill the card width 2024-12-23 16:15:27 +01:00
bb108bf6f3 Lib: Remove card aspect ratios
Lazy cards weren't implemented robustly, so use non-lazy cards for now
(maybe find a better solution sometimes)
2024-12-23 16:15:27 +01:00
392e61ca49 Lib: Make driver-/race-/team- and substitution-card non-lazy 2024-12-23 16:15:27 +01:00
04650f624e Lib: Add on-click handler prop to table component 2024-12-23 16:15:27 +01:00
b6a645da6c Lib: Update lazydropdown props name to differentiate from non-lazy dropdown 2024-12-23 16:15:27 +01:00
471163de2f Lib: Update lazycard props name to differentiate from non-lazy card 2024-12-23 16:15:27 +01:00
a23f12b69f Lib: Add non-lazy variants for card, image and dropdown 2024-12-23 16:15:27 +01:00