Commit Graph

193 Commits

Author SHA1 Message Date
1b5f41319b Add space after map when the list of wards is hidden 2024-08-25 12:05:44 +10:00
239f2781b4 Remove the command to install the wp-cli/restful package from script 2024-08-25 11:53:13 +10:00
5d0cfb3c1b Tweak bulk-upload-media.sh to use spl-data folder instead of each lga folder 2024-08-25 11:52:55 +10:00
c7d9465ba0 Improve label rendering on maps 2024-08-25 11:31:03 +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
77dc711f12 Add example-media.json file for testing php-template 2024-08-21 22:59:21 +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
1e45dc212b Fix message when a picture cannot be found not containing a newline 2024-08-21 22:23:18 +10:00
df513aca8e Mount spl-data folder inside csv-normaliser dev container 2024-08-21 22:22:45 +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
8cd1463fef Add jq filter for generating LGA page links 2024-08-19 10:52:44 +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
2af0779e65 Mark shell scripts as executable 2024-08-18 23:48:59 +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
1d012f5ff1 Allow generating page when a candidates.csv file doesn't exist 2024-08-18 23:41:50 +10:00
95b7228778 Created script to capture a map for each council 2024-08-17 23:59:25 +10:00
7436c808e3 Fix handling of MultiPolygon objects 2024-08-17 23:57:25 +10:00
3718378545 Add a script to capture an image of a map 2024-08-17 23:03:47 +10:00
0d2c42da82 Hide the "improve map" link 2024-08-17 22:54:40 +10:00
18257be406 Remove navigation control from map 2024-08-17 22:54:22 +10:00
2028cbbe61 Update map-generator readme 2024-08-17 22:19:35 +10:00
e1a1ff4af3 Show labels in a single layer 2024-08-17 22:15:32 +10:00
f60b1802d5 Auto fit map to boundaries 2024-08-17 22:14:39 +10:00
0a7af5c65b Use a style to control look and feel 2024-08-17 22:12:29 +10:00
56f0f73278 Initial council ward map renderer 2024-08-17 19:25:36 +10:00
2ab9306fff Fix typo in csv normaliser log message 2024-08-15 23:18:28 +10:00
1ce4e9b3b8 Remove filtering based on Council column in csv 2024-08-15 23:16:05 +10:00
b8ea6e8436 Add test files for csv-normaliser script 2024-08-15 22:44:37 +10:00
d9cb183b2a Implement CSV normaliser logic 2024-08-15 22:10:03 +10:00
fea2f69686 Include media files in the root of the spl-data repo 2024-08-15 16:53:52 +10:00
8ec704df11 Fix config.json being included in media.json 2024-08-15 16:53:31 +10:00
e08308377c Create script to split council_names.json into multiple config.json files in spl-data repo 2024-08-15 16:48:17 +10:00
3eb22d1068 Loop over folders in spl-data instead of reading from council_names.json 2024-08-15 16:47:32 +10:00
c6ff0e24b1 WIP create csv-normaliser 2024-08-15 15:01:00 +10:00
2980678e65 Remove data folder since we have a spl-data repo 2024-08-15 15:01:00 +10:00
543531c57d Change default data path to spl-data folder 2024-08-15 15:01:00 +10:00
d2373369f3 Move MacKillop ward to top of page 2024-08-12 20:56:05 +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