gonito/templates/challenge-all-submissions.hamlet

24 lines
800 B
Plaintext
Raw Normal View History

2016-02-15 15:39:25 +01:00
<div class="alert alert-info" role="alert">
<p>This is a long list of all submissions, if you want to see only the best, click <a href="@{ShowChallengeR (challengeName challenge)}">leaderboard</a>.
2015-12-12 18:53:20 +01:00
^{Table.buildBootstrap (submissionsTable muserId (challengeName challenge) scheme challengeRepo tests) submissions}
2016-02-15 21:59:24 +01:00
2018-07-28 17:04:27 +02:00
$if not (null params)
<h3>Submission graph
2016-02-15 21:59:24 +01:00
<div id="graph-container">
<script src="/static/js/sigma.min.js">
<script src="/static/js/sigma.parsers.json.min.js">
2018-07-28 17:04:27 +02:00
$if not (null params)
<h3>Graphs by parameters
$forall param <- params
2018-07-28 20:01:47 +02:00
<h4>#{param}
$forall test <- selectedTests
<div id="chart-#{param}-#{toPathPiece $ entityKey test}">
2018-07-28 17:04:27 +02:00
<script src="/static/js/d3.min.js" charset="utf-8"></script>
<script src="/static/js/c3.min.js"></script>