Skip to content

Commit

Permalink
added solve count, fixes #60
Browse files Browse the repository at this point in the history
  • Loading branch information
dlareau committed Jun 19, 2018
1 parent ef1c831 commit dcf3cc3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion huntserver/static/huntserver/hunt_base.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ th {
overflow: auto;
}

.puzzle .info h1 {
.leftinfo {
float: left;
}

Expand Down
5 changes: 4 additions & 1 deletion huntserver/templates/puzzle.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
<div class="container">
<div class="row puzzle content">
<div class='col-md-12 info'>
<h1> P{{ puzzle.puzzle_number }} - {{ puzzle.puzzle_name}} </h1>
<div class='leftinfo'>
<h1> P{{ puzzle.puzzle_number }} - {{ puzzle.puzzle_name}} </h1>
<h4> {{ puzzle.solved_for.all | length }} teams have solved this puzzle so far.</h4>
</div>
<h3><a href='{{ PROTECTED_URL }}puzzles/{{ puzzle.puzzle_id }}.pdf'>
Click here for a downloadable pdf
</a></h3>
Expand Down

0 comments on commit dcf3cc3

Please sign in to comment.