PlayersCommittee / gemp-swccg-public

Online Play system for SWCCG
https://gemp.starwarsccg.org/
MIT License
27 stars 29 forks source link

Add admin functionality to update the supplemental links that show up in the #latestNews box #732

Open DevoKun opened 6 months ago

DevoKun commented 6 months ago

Currently the links are hardcoded in gemp-swccg-async/src/main/web/hall.html:

$("#latestNews").append('<a href="https://forum.starwarsccg.org/viewtopic.php?f=964&t=75666">GEMP Operational Guide & FAQ</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="merchant.html">Merchant</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/PlayersCommittee/gemp-swccg-public/issues" target="_blank">Report Bugs</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://forum.starwarsccg.org/viewtopic.php?f=964&t=78855" target="_blank">Report Behavior</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://gemp.starwarsccg.org/gemp-swccg/newgui.html" target="_blank">Public Beta: New UI</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://forum.starwarsccg.org/viewtopic.php?f=964&t=64301">Missing Card List</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://forum.starwarsccg.org/viewtopic.php?f=964&t=64186">Card Requests</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://www.starwarsccg.org/rules/">SWCCG Game Rules</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://forum.starwarsccg.org/viewtopic.php?f=964&t=68091">Sealed Format Tutorial</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://forum.starwarsccg.org/viewforum.php?f=1461">2023 OCS</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://forum.starwarsccg.org/viewtopic.php?f=964&t=70203">Changelog</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://forum.starwarsccg.org/viewforum.php?f=964">Other GEMP Info</a><br/>');

The links in this list should be set in the admin.html page so that people who are not coders can maintain them.