gonito/templates/score.hamlet

12 lines
356 B
Plaintext
Raw Normal View History

2017-05-15 13:55:56 +02:00
<h1>Score for #{formatSubmitter user}
2018-01-02 20:37:11 +01:00
$forall ((Entity _ course), (points, entries, extras)) <- courseInfos
2018-01-02 19:34:23 +01:00
<h2>#{courseName course}
^{Table.buildBootstrap scoreTable entries}
2018-01-02 20:37:11 +01:00
$if not $ Import.null extras
<h4>Extra points
^{Table.buildBootstrap extrasTable extras}
2018-01-02 19:34:23 +01:00
<p class="well">Total <span class="badge">#{points}</span>
<hr>