Archipelago/WebHostLib/templates
Remy Jette 3bff20a3cf
WebHost: Round percentage of checks, fix possible 500 error (#2270)
* WebHost: Round percentage of checks, fix possible 500 error

* Round using str.format in the template

How the percentage of checks done should be displayed is a display
concern, so it makes sense to just always do it in the template. That
way, along with using .format() instead of .round, means we always get
exactly the same presentation regardless of whether it ends in .00
(which would not round to two decimal places), is an int (which
`round(2)` wouldn't touch at all), etc.

* Round percent_total_checks_done in lttp multitracker

* Fix non-LttP games showing as 0% done in LttP MultiTracker
2023-10-31 17:20:07 -04:00
..
header
404.html
autotablepage.html
check.html WebHost: Support multi-select during check/generate file upload (#2138) 2023-09-11 16:57:14 -04:00
checkResult.html WebHost: offer combined yaml file on /check if successful (#2337) 2023-10-22 02:02:30 +02:00
checksfinderTracker.html
faq.html
gameInfo.html
generate.html WebHost: Support multi-select during check/generate file upload (#2138) 2023-09-11 16:57:14 -04:00
genericTracker.html
glossary.html
hintTable.html
hostGame.html
hostRoom.html
islandFooter.html
landing.html WebHost: link to stats from the use statistics directly on landing (#2242) 2023-10-02 20:52:58 -04:00
lttpMultiTracker.html WebHost: Round percentage of checks, fix possible 500 error (#2270) 2023-10-31 17:20:07 -04:00
lttpTracker.html
macros.html
minecraftTracker.html
multiFactorioTracker.html WebHost/Factorio: use "better" jinja practices in web tracker (#2257) 2023-10-08 11:30:34 +02:00
multiTracker.html WebHost: Round percentage of checks, fix possible 500 error (#2270) 2023-10-31 17:20:07 -04:00
multiTrackerNavigation.html
ootTracker.html
pageWrapper.html
player-options.html WebHost: consistent naming for player options (#2037) 2023-10-24 02:20:08 +02:00
sc2wolTracker.html SC2 WoL - Mod, Item and Location update (#2113) 2023-09-15 02:22:10 +02:00
seedError.html
siteMap.html WebHost: consistent naming for player options (#2037) 2023-10-24 02:20:08 +02:00
startPlaying.html
stats.html
supermetroidTracker.html
supportedGames.html WebHost: consistent naming for player options (#2037) 2023-10-24 02:20:08 +02:00
tablepage.html
templates.html
timespinnerTracker.html
tutorial.html
tutorialLanding.html
userContent.html
viewSeed.html WebHost: fix indentation (#2240) 2023-10-02 20:07:31 +02:00
waitSeed.html
weighted-options.html WebHost: consistent naming for player options (#2037) 2023-10-24 02:20:08 +02:00