gonito/templates/challenge.hamlet

18 lines
970 B
Plaintext
Raw Normal View History

2015-09-06 14:24:49 +02:00
<div .row>
<div .col-md-2 role="complementary">
<ul class="nav nav-pills nav-stacked navbar-left">
2015-11-11 22:10:41 +01:00
<li role="presentation" class="active"><a href="@{ShowChallengeR (challengeName challenge)}">Challenge</a>
2015-09-06 14:24:49 +02:00
<li role="presentation"><a href="@{ChallengeReadmeR (challengeName challenge)}">Readme</a>
2015-11-11 22:10:41 +01:00
<li role="presentation"><a href="@{ChallengeHowToR (challengeName challenge)}">How To</a>
2015-09-06 15:33:37 +02:00
<li role="presentation"><a href="@{ChallengeSubmissionR (challengeName challenge)}">Submit</a>
2015-09-29 22:31:56 +02:00
<li role="presentation"><a href="@{ChallengeMySubmissionsR (challengeName challenge)}">My Submissions</a>
<li role="presentation"><a href="@{ChallengeAllSubmissionsR (challengeName challenge)}">All Submissions</a>
2015-09-06 14:24:49 +02:00
<div .col-md-10 role="main">
<div class="panel panel-default">
<div class="panel-body">
$if withHeader
<h1>#{challengeTitle challenge}
<p>#{challengeDescription challenge}
^{pageBody bc}