home
·
contact
·
privacy
projects
/
guiltcards
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More refactor, and include previously forgotten decks.tpl.
[guiltcards]
/
views
/
cards_print.tpl
diff --git
a/views/cards_print.tpl
b/views/cards_print.tpl
index a649ac6c4d03388659d4e1ca18ac7f07d0f92e34..b7b63a1aa19975e3d3c5abc13f68a56be4eb4d67 100644
(file)
--- a/
views/cards_print.tpl
+++ b/
views/cards_print.tpl
@@
-1,24
+1,13
@@
-<!DOCTYPE HTML>
-<html>
+% include('_meta_head.tpl')
<style>
<style>
+% include('_card.css')
.card {
page-break-before: always;
.card {
page-break-before: always;
- box-sizing: border-box;
- border: 30px solid #aaaaaa;
- width: 200px;
- height: 400px; }
+ }
</style>
<body>
% for card in cards:
</style>
<body>
% for card in cards:
- <div class="card">
- <h1 class="title">{{ card["title"] }}</h1>
- <p class="prompt">{{ card["prompt"] }}</p>
- <ul class="answers">
- % for answer in card["answers"]:
- <li>{{ answer }}</li>
- % end
- <ul/>
- </div>
+% include('_card.tpl')
% end
% end
-<
/
body>
-</html>
+<body>
+% include('_meta_foot.tpl')