Added script template for relative directions page
Renamed "board" div to "main" in designer, across all pages. Board resizing code moved from base script to only those pages that use it
Moved "direction indicator" into relative directions page's sidebar. Implemented much of the code for adding relative directions
Improved styling & indicator behaviour on relative directions page
Relative directions can now be selecteded on the corresponding designer page
Corrected a crash loading global directions diagram when board has lines in it.
Changed how definition stores cell colors & borders, and line colors, to be more consistent
Framework for saving & loading relative directions. Still needs server-side code for adding to & extracting from variant definition, and javascript for populating the page from that data.
Implemented code for saving & loading relative directions
Can now rename & delete relative directions
Directions on the relative directions page are now sorted by direction, so that they can be run through in an intuitive order