I made a few more changes to the Web site software. The NWS has a system of color codes for all of their watches, warnings, and alerts. So I decided to implement that system in my Web site. Now the banner at the top of the page will display any active alerts in the color chosen by the NWS. This isn’t critical, and sometimes the colors don’t even look that great. But I chose to conform, at least for now. I tested it during our most recent winter weather and the banner did display several different colors as the alerts changed from watch to advisory and warning.
I also made some modifications to the configuration file for the PHP code. I added more comments to explain what the different parameters are for. I also added parameters for several items that were hard coded in the application. I’m still thinking about having a similar configuration file for the JavaScript side of things. The best thing to do would be to have the PHP code generate the JavaScript code. I will probably work on that in the next week or so, depending on when I can get some free time. I also want to do some work on the mobile page as it is pretty bare bones and doesn’t really look all that great.
I posted the updated Web site code as it stands today. If anybody does download it let me know by email.