Skip to content

Instantly share code, notes, and snippets.

@dlareau
Created April 30, 2018 20:04
Show Gist options
  • Save dlareau/c99fdc27379a361e3647d7c309e3d255 to your computer and use it in GitHub Desktop.
Save dlareau/c99fdc27379a361e3647d7c309e3d255 to your computer and use it in GitHub Desktop.
hunt1_template_contents
{% extends "hunt_base.html" %}
{% block title %}Puzzles!{% endblock title %}
{% block content %}
<div class="container">
<div class="row">
<div class="content col-md-6">
<h1 class="title">Unlocked Puzzles</h1>
<a href='/objects/' >
<p style="margin-top: -5px;"> Click here for unlocked objects </p>
</a>
<div id="puzzles">
<table>
<thead>
<tr>
<th style='width: 80px;'>Solved?</th>
<th style='width: 100px;'>Answer</th>
<th style='width: 320px;'>Puzzle Name/Link</th>
</tr>
</thead>
<tbody>
{% for puzzle in puzzles %}
<tr id='puzzle{{ puzzle.puzzle_number }}' class='puzzle'>
<td>
{% if puzzle in solved %}
<img src="/media/hunt/assets/checkmark.png" alt="Solved"></img>
{% else %}
<img src="/media/hunt/assets/red_x.png" alt="Solved"></img>
{% endif %}
</td>
<td>
{% if puzzle in solved %}
{{ puzzle.answer|upper }}
{% endif %}
</td>
<td>
<a href='/puzzle/{{ puzzle.puzzle_id }}/' >
<p class="puzzle-name">P{{puzzle.puzzle_number}} - {{ puzzle.puzzle_name }}</p>
</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<p>For assistance, try our new <a href="/chat/"> Chat Feature</a>.</p>
</div>
<div class="content col-md-5">
<div id='plot'>
Hello Space Cadet(s)!
</br>
<p>
You are part of the emergency response team that has been woken out of cryostasis to help get the ship back on course.
</p>
<p>
It would seem an engineer had woken up unexpectedly from cryostasis causing him to go crazy. Before he was subdued he had managed to deactivate the engines and change all of the door passwords. He did leave some clues behind in the form of puzzles.
</p>
<p>
Please look over the puzzles he left, use the answers to unlock futher rooms (which we suspect will contain further puzzles), make your way to the engine room and reactivate the engine.
</p>
</br>
Thanks,</br>
Command
</div>
</div>
</div>
</div>
{% endblock content %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment