49 Commits

Author SHA1 Message Date
Kim Taylor
1e3e4a99e6 Update form link on division pages. 2025-04-14 21:22:23 +10:00
Kim Taylor
1735d52781 Update division page generation. 2025-04-11 21:21:42 +10:00
Kim Taylor
05b0898979 Only one election. 2025-03-04 23:53:49 +11:00
Kim Taylor
c172222e15 Update wording on division pages. 2025-03-04 23:51:10 +11:00
Kim Taylor
0bddcb7520 Generate division pages. Need to update text. 2025-03-04 21:44:12 +11:00
5791273f56 Update template to support elected candidate data 2024-11-18 00:20:50 +11:00
Kim Taylor
bac9be7003 Allow LGA to put custom text as header. 2024-09-30 22:17:36 +10:00
Kim Taylor
af53825c05 Allow case insensitive ward-name match. 2024-09-18 21:47:57 +10:00
0867d7916d Update second paragraph on lga pages 2024-09-17 17:59:01 +10:00
80ad01a1b1 Tweak intro paragraph text on lga pages 2024-09-16 22:51:05 +10:00
61833aacb4 Use CSS class to control candidate tick colour 2024-09-04 23:10:07 +10:00
8043e8c45d Allow each lga to link to their own survey 2024-09-04 21:08:00 +10:00
1cadbcffb4 Tweak template to allow custom groups based on groupNames field in config.json 2024-09-03 23:05:03 +10:00
40dc385d7b Fix candidate sorting in template 2024-09-03 20:11:29 +10:00
1b5f41319b Add space after map when the list of wards is hidden 2024-08-25 12:05:44 +10:00
6d4a49208a Use a CSS class to force columns gap to 0 2024-08-21 23:15:40 +10:00
b21d9d8534 Fix dimensions of ward list so it looks normal on mobile 2024-08-21 23:06:11 +10:00
eef70107e4 Add list of wards to page if there is more than 1 ward 2024-08-21 22:59:04 +10:00
460b54cdd8 Add map to page if it is present 2024-08-21 22:58:38 +10:00
530554e118 Add description on number of wards 2024-08-21 22:58:12 +10:00
517bc1caf5 Extract sluggify logic to a function 2024-08-21 22:57:38 +10:00
b4ddd94c93 Improve wrapping of 4 ticks 2024-08-19 14:21:09 +10:00
019090089b Only use ticks under candidates 2024-08-19 14:20:52 +10:00
86e0e07f0e Tweak paragraph when we don't have any candidates 2024-08-19 10:52:29 +10:00
42ff10d02f Tweak spacing between candidate name and rating 2024-08-19 00:10:14 +10:00
26a9ed4ad4 Show a single red cross for candidates rated 1 or below 2024-08-19 00:09:58 +10:00
6a7291e677 Improve wrapping of candidate rating ticks 2024-08-19 00:09:10 +10:00
8b3ddec283 Improve LGA template
- Use columns instead of grid so it looks better on mobile
- Add message if there are no candidates for a particular ward
- Tweak spacing of candidate name and ticks
2024-08-18 23:43:58 +10:00
7950bab0c9 Left align opening paragraphs of lga pages 2024-08-18 23:42:11 +10:00
f9cd3d1427 Fix warning if candidates object doesn't have a Picture field 2024-08-12 20:53:04 +10:00
25d0eecb3f Add support for showing different footer per council 2024-08-12 20:48:03 +10:00
a293178250 Add paragraphs to top of page 2024-08-12 20:46:10 +10:00
ec103e8ef5 Set image size again 2024-08-12 20:31:17 +10:00
6ec1ca8866 Revert "Fix image size not being applied"
This reverts commit 54023b372e.
2024-08-12 12:48:57 +10:00
54023b372e Fix image size not being applied 2024-08-12 12:45:52 +10:00
1ef647ae94 Fix spacing not being applied 2024-08-12 12:43:40 +10:00
436cda0c72 Increase spacing after each ward 2024-08-12 12:42:27 +10:00
25224bbae8 Increase size of ticks and change them to green 2024-08-12 12:39:30 +10:00
2cab09f734 Increase column count to 4 2024-08-12 11:59:52 +10:00
fd7f698c06 Limit height of candidate photos to 200px 2024-08-12 11:59:30 +10:00
acb1c47d68 Show a number of ticks per candidate 2024-08-12 09:21:24 +10:00
db1a86c0b9 Sort candidates by rating descending 2024-08-12 09:21:08 +10:00
f8fabe6dc1 Add anchor link for each ward 2024-08-12 09:20:55 +10:00
7d613f7f0d Update template to include candidate pictures 2024-08-12 09:20:41 +10:00
8a1983a0f3 Add a test image to top of council page 2024-08-11 21:57:52 +10:00
5a4f420b88 Fix not setting columnCount on grid group 2024-08-04 21:47:50 +10:00
4ed59223cf Add initial support for reading candidate data from a CSV file 2024-07-30 23:50:09 +10:00
3f5dafa35c Fix too many ward names appearing on page 2024-07-30 23:46:34 +10:00
cd9135e3bd Create a php version of page template 2024-07-30 23:00:02 +10:00