visual improvements, migrate main view to dataTable

This commit is contained in:
2020-12-18 11:57:04 +01:00
parent c9ea8913ec
commit 6a2a4b6fa0
10 changed files with 96 additions and 59 deletions

View File

@@ -66,6 +66,11 @@ def maps():
roundsWithMap = list(filter(lambda r: r.mapName == mapName , rounds))
maps += [MapSummary.MapSummary(roundsWithMap)]
allMaps = MapSummary.MapSummary(rounds)
allMaps.mapName = "All Maps*"
maps += [allMaps]
mapsFiltered = filter(lambda x: x.mapName, maps)
return flask.render_template("maps.html", maps=mapsFiltered)