57 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
matt 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
matt 0867d7916d Update second paragraph on lga pages 2024-09-17 17:59:01 +10:00
matt 80ad01a1b1 Tweak intro paragraph text on lga pages 2024-09-16 22:51:05 +10:00
matt 61833aacb4 Use CSS class to control candidate tick colour 2024-09-04 23:10:07 +10:00
matt 8043e8c45d Allow each lga to link to their own survey 2024-09-04 21:08:00 +10:00
matt 1cadbcffb4 Tweak template to allow custom groups based on groupNames field in config.json 2024-09-03 23:05:03 +10:00
matt 40dc385d7b Fix candidate sorting in template 2024-09-03 20:11:29 +10:00
matt 1b5f41319b Add space after map when the list of wards is hidden 2024-08-25 12:05:44 +10:00
matt 6d4a49208a Use a CSS class to force columns gap to 0 2024-08-21 23:15:40 +10:00
matt b21d9d8534 Fix dimensions of ward list so it looks normal on mobile 2024-08-21 23:06:11 +10:00
matt 77dc711f12 Add example-media.json file for testing php-template 2024-08-21 22:59:21 +10:00
matt eef70107e4 Add list of wards to page if there is more than 1 ward 2024-08-21 22:59:04 +10:00
matt 460b54cdd8 Add map to page if it is present 2024-08-21 22:58:38 +10:00
matt 530554e118 Add description on number of wards 2024-08-21 22:58:12 +10:00
matt 517bc1caf5 Extract sluggify logic to a function 2024-08-21 22:57:38 +10:00
matt b4ddd94c93 Improve wrapping of 4 ticks 2024-08-19 14:21:09 +10:00
matt 019090089b Only use ticks under candidates 2024-08-19 14:20:52 +10:00
matt 86e0e07f0e Tweak paragraph when we don't have any candidates 2024-08-19 10:52:29 +10:00
matt 42ff10d02f Tweak spacing between candidate name and rating 2024-08-19 00:10:14 +10:00
matt 26a9ed4ad4 Show a single red cross for candidates rated 1 or below 2024-08-19 00:09:58 +10:00
matt 6a7291e677 Improve wrapping of candidate rating ticks 2024-08-19 00:09:10 +10:00
matt 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
matt 7950bab0c9 Left align opening paragraphs of lga pages 2024-08-18 23:42:11 +10:00
matt 1d012f5ff1 Allow generating page when a candidates.csv file doesn't exist 2024-08-18 23:41:50 +10:00
matt 1ce4e9b3b8 Remove filtering based on Council column in csv 2024-08-15 23:16:05 +10:00
matt f9cd3d1427 Fix warning if candidates object doesn't have a Picture field 2024-08-12 20:53:04 +10:00
matt 25d0eecb3f Add support for showing different footer per council 2024-08-12 20:48:03 +10:00
matt a293178250 Add paragraphs to top of page 2024-08-12 20:46:10 +10:00
matt ec103e8ef5 Set image size again 2024-08-12 20:31:17 +10:00
matt 6ec1ca8866 Revert "Fix image size not being applied"
This reverts commit 54023b372e.
2024-08-12 12:48:57 +10:00
matt 54023b372e Fix image size not being applied 2024-08-12 12:45:52 +10:00
matt 1ef647ae94 Fix spacing not being applied 2024-08-12 12:43:40 +10:00
matt 436cda0c72 Increase spacing after each ward 2024-08-12 12:42:27 +10:00
matt 25224bbae8 Increase size of ticks and change them to green 2024-08-12 12:39:30 +10:00
matt 2cab09f734 Increase column count to 4 2024-08-12 11:59:52 +10:00
matt fd7f698c06 Limit height of candidate photos to 200px 2024-08-12 11:59:30 +10:00
matt acb1c47d68 Show a number of ticks per candidate 2024-08-12 09:21:24 +10:00
matt db1a86c0b9 Sort candidates by rating descending 2024-08-12 09:21:08 +10:00
matt f8fabe6dc1 Add anchor link for each ward 2024-08-12 09:20:55 +10:00
matt 7d613f7f0d Update template to include candidate pictures 2024-08-12 09:20:41 +10:00
matt 8a1983a0f3 Add a test image to top of council page 2024-08-11 21:57:52 +10:00
matt 5257ca24dc Add support for passing media data to template 2024-08-11 21:57:23 +10:00
matt e9a7de83cd Improve error handling in page_renderer.php 2024-08-11 21:51:43 +10:00