Skip to content

Commit

Permalink
Auto refresh leaderboard (and show examples as <pre>)
Browse files Browse the repository at this point in the history
  • Loading branch information
almost committed Jul 3, 2024
1 parent 4dead7b commit 7fb53d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions views/play.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,18 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen" />
<link href="css/app.css" rel="stylesheet" media="screen" />
<meta http-equiv="refresh" content="60">
</head>
<body>
<div class="container">
<div class="row challenge-details">
<div class="col-md-12">
<div class="bs-callout bs-callout-info">
<h4>{{challenge.title}}</h4>
<div class="challenge-info">{{challenge.description}}</div>
<div class="challenge-info"><pre>{{challenge.description}}</pre></div>

<h4>Example</h4>
<div class="challenge-example">{{challenge.example}}</div>
<div class="challenge-example"><pre>{{challenge.example}}</pre></div>
</div>

<div class="clock">Time remaining: <span>{{clock}}</span></div>
Expand Down

0 comments on commit 7fb53d9

Please sign in to comment.