mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-06 07:01:36 +01:00
visual improvements, migrate main view to dataTable
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user