-<!DOCTYPE HTML>
-<html>
+% include('_meta_head.tpl')
<style>
- .card {
- box-sizing: border-box;
- border: 30px solid #aaaaaa;
- width: 200px;
- height: 400px; }
+% include('_card.css')
</style>
<body>
- <div class="card">
- % if card["type"] == 'guilt':
- <h1 id="title">GUILT CARD</h1>
- <p id="prompt">Choose at least one of these guilts as your own:</p>
- <ul id="answers">
- % for answer in card["answers"]:
- <li>{{ answer }}</li>
- % end
- <ul/>
- % end
- % if card["type"] == 'action':
- <h1 id="title">ACTION CARD<br />{{ card["title"] }}</h1>
- % for paragraph in card["paragraphs"]:
- <p>{{ paragraph }}</p>
- % end
- % end
- </div>
+% include('_card.tpl')
<a href="{{ web_path }}/decks/{{deck_id}}/cards">back to overview</a>
</body>
-</html>
+% include('_meta_foot.tpl')