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
/
card.tpl
diff --git
a/views/card.tpl
b/views/card.tpl
index cb121e64444ddeb714f09b1ac5a5d3bfc433beb7..f946b210ab7fea3945979d7d53ca9a8f42d6f46e 100644
(file)
--- a/
views/card.tpl
+++ b/
views/card.tpl
@@
-1,22
+1,9
@@
-<!DOCTYPE HTML>
-<html>
+% include('_meta_head.tpl')
<style>
<style>
- #card {
- box-sizing: border-box;
- border: 30px solid #aaaaaa;
- width: 200px;
- height: 400px; }
+% include('_card.css')
</style>
<body>
</style>
<body>
- <div id="card">
- <h1 id="title">{{ title }}</h1>
- <p id="prompt">{{ prompt }}</p>
- <ul id="answers">
- % for answer in answers:
- <li>{{ answer }}</li>
- % end
- <ul/>
- </div>
+% include('_card.tpl')
<a href="{{ web_path }}/decks/{{deck_id}}/cards">back to overview</a>
</body>
<a href="{{ web_path }}/decks/{{deck_id}}/cards">back to overview</a>
</body>
-</html>
+% include('_meta_foot.tpl')