Skip to content

wrote script to generate HTML for tiles based on JSON, readded pages to fix pipeline

Lucy Wu requested to merge drylab-info into main

New feature: Can generate tiles using generate_tiles.py using info from tiles.json, will repopulate tiles.html in templates. This can be manually copied and pasted into the modelling page. No additional CSS styling needed since we already defined it in the original CSS.

Bug fixes: Readded the inclusivity and plant page to hopefully fix the issue of pipeline failing since they are not detected. Still commented out in the menu because they are not relevant to us.

TODO:

  • Next goal is to add in an automatic conversion from a CSV to tiles.json so all the user has to do is download the table.
  • See if we can automatically insert this HTML within the model page (should be pretty straightforward?)
  • Still need to separate out the CSS styling so this can be more standalone (potentially tiles.css)

Merge request reports

Loading