davidrg/zxweather

WebUI: Support templated pages for about page and others

Opened this issue · 1 comments

Currently the about page is a static HTML file with a bit of JS to hook up the menus. Its a bit gross as these static HTML files need updating as things change in the rest of the app.

It would be better if these files contained only content and were loaded and inserted into a template which provided the header and footer. This would allow a bunch of things to be simplified somewhat.

An initial attempt at this has been made for archived station pages. Shouldn't be hard to extend that implementation slightly to support about pages too.