mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-11 01:18:33 +01:00
implement display of colum names
This commit is contained in:
@@ -88,7 +88,13 @@ def leaderboard():
|
|||||||
if len(players) > 100:
|
if len(players) > 100:
|
||||||
raise ValueError("Bad reponse from rating server")
|
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, \
|
finalResponse = flask.render_template("base.html", playerList=players, \
|
||||||
columNames=columContent, \
|
columNames=columContent, \
|
||||||
|
|||||||
Reference in New Issue
Block a user