forked from filipg/gonito
draw the graph also with the leaderboard
This commit is contained in:
parent
acf3442ce8
commit
f83cbb7fb4
@ -6,3 +6,8 @@ $nothing
|
|||||||
<h2>Leaderboard
|
<h2>Leaderboard
|
||||||
|
|
||||||
^{Table.buildBootstrap leaderboardTable leaderboardWithRanks}
|
^{Table.buildBootstrap leaderboardTable leaderboardWithRanks}
|
||||||
|
|
||||||
|
<div id="graph-container">
|
||||||
|
|
||||||
|
<script src="/static/js/sigma.min.js">
|
||||||
|
<script src="/static/js/sigma.parsers.json.min.js">
|
||||||
|
6
templates/show-challenge.julius
Normal file
6
templates/show-challenge.julius
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
sigma.parsers.json("@{ChallengeGraphDataR $ challengeName challenge}", {
|
||||||
|
container: 'graph-container',
|
||||||
|
settings: {
|
||||||
|
defaultNodeColor: '#ec5148'
|
||||||
|
}
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user