mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-09 16:38:32 +01:00
implement display of colum names
This commit is contained in:
@@ -88,7 +88,13 @@ def leaderboard():
|
||||
if len(players) > 100:
|
||||
raise ValueError("Bad reponse from rating server")
|
||||
|
||||
columContent = "LOL"
|
||||
columContent = flask.Markup(flask.render_template("playerLine.html", \
|
||||
playerRank="Rank", \
|
||||
playerName="Player", \
|
||||
playerRatin="Rating", \
|
||||
playerGames="Games", \
|
||||
playerWinratio="Winratio"))
|
||||
|
||||
|
||||
finalResponse = flask.render_template("base.html", playerList=players, \
|
||||
columNames=columContent, \
|
||||
|
||||
Reference in New Issue
Block a user