The website can now serve Javascript-free pages for users that have JS disabled or a browser that does not support it. The pages /stats and /servers cannot work without JS so the JS-free index page does not link to them;
stats.ejs: if Javascript is disabled, won't serve any data but will prompt the user to enable Javascript.
servers.ejs: if Javascript is disabled, won't serve any data but will prompt the user to enable Javascript.
Fixed:
stats.ejs: copyright in the footer has been updated from "2021" to "2019 - present";
Please double check my work even though I've tested it locally and didn't find major problems.
Fixes #15
Added:
/stats
and/servers
cannot work without JS so the JS-free index page does not link to them;stats.ejs
: if Javascript is disabled, won't serve any data but will prompt the user to enable Javascript.servers.ejs
: if Javascript is disabled, won't serve any data but will prompt the user to enable Javascript.Fixed:
stats.ejs
: copyright in the footer has been updated from "2021" to "2019 - present";Please double check my work even though I've tested it locally and didn't find major problems. Fixes #15