diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2013-04-15 03:33:49 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-04-15 03:33:49 +0200 |
commit | e11f6e4d9d2b4e17b9ae7be7611a66bfb810bca7 (patch) | |
tree | 74260d3af300a724f0209098edfd9f5301cb5cfe /views | |
parent | a5772fb74fbb0c2a8dbaa81449a76ee69fa20556 (diff) |
implement slide groups, ensuing rework
- slide thumbnail no longer bear slide number to ease symlinking
- split up tree between decks and groups (also for
preview/thumbnailing)
- some tweaks around ssl support
Diffstat (limited to 'views')
-rw-r--r-- | views/decksgroups.tpl | 21 | ||||
-rw-r--r-- | views/groups.tpl | 9 |
2 files changed, 30 insertions, 0 deletions
diff --git a/views/decksgroups.tpl b/views/decksgroups.tpl new file mode 100644 index 0000000..87c66cb --- /dev/null +++ b/views/decksgroups.tpl @@ -0,0 +1,21 @@ +%#generate HTML table of all decks +<table border="1"> + <tr> + <th colspan=2><b>Decks</b></th> + </tr> +%for deckname in decks: + <tr> + <td><a href="decks/{{deckname}}/">{{deckname}}</a></td> + <td><a href="decks/{{deckname}}/"><img src="decks/{{deckname}}/thumbnail.png"></a></td> + </tr> +%end + <tr> + <th colspan=2><b>Groups</b></th> + </tr> +%for groupname in groups: + <tr> + <td><a href="groups/{{groupname}}/">{{groupname}}</a></td> + <td><a href="groups/{{groupname}}/"><img src="groups/{{groupname}}/thumbnail.png"></a></td> + </tr> +%end +</table> diff --git a/views/groups.tpl b/views/groups.tpl new file mode 100644 index 0000000..33c0df9 --- /dev/null +++ b/views/groups.tpl @@ -0,0 +1,9 @@ +%#generate HTML table of all decks +<table border="1"> +%for groupname in groups: + <tr> + <td><a href="{{groupname}}/">{{groupname}}</a></td> + <td><a href="{{groupname}}/"><img src="{{groupname}}/thumbnail.png"></a></td> + </tr> +%end +</table> |