summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-04-07 19:38:37 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-04-07 19:38:37 +0200
commit0973e4f3616f4e41f15bac9c0aa9e5c8f27939a1 (patch)
treee69cd16dd6b16f3438371ce7e2265b8437aedebd /templates
parentc797564725ea320429cd555607b0af10df1ad4e6 (diff)
downloadweb-0973e4f3616f4e41f15bac9c0aa9e5c8f27939a1.tar.gz
web-0973e4f3616f4e41f15bac9c0aa9e5c8f27939a1.tar.bz2
web-0973e4f3616f4e41f15bac9c0aa9e5c8f27939a1.zip
Screenshots
Diffstat (limited to 'templates')
-rw-r--r--templates/pages/screenshots.mako30
1 files changed, 29 insertions, 1 deletions
diff --git a/templates/pages/screenshots.mako b/templates/pages/screenshots.mako
index 539184d..6e85b2a 100644
--- a/templates/pages/screenshots.mako
+++ b/templates/pages/screenshots.mako
@@ -3,4 +3,32 @@
%>
<%inherit file="/page.mako" />
-<p>Nothing here yet!</p>
+<%def name="style()">
+ ${parent.style()}
+
+ <!-- highslide stuff -->
+ <script src=${"/static/js/highslide.js" | url} type="text/javascript"></script>
+ <script type="text/javascript">
+ hs.graphicsDir = ${"/static/images/highslide/" | url};
+ hs.align = 'center';
+ hs.showCredits = false;
+ hs.captionEval = 'this.thumb.alt';
+ hs.outlineType = 'outer-glow';
+ hs.wrapperClassName = 'outer-glow';
+ hs.fullExpandOpacity = 0.5;
+
+ </script>
+
+ <link href=${"/static/css/highslide.css" | url} rel="stylesheet" type="text/css" />
+</%def>
+
+<p>
+ % for f,t,d in h.getImages("static/images/screens/", "static/images/tmp/", (150,150)):
+ <a href=${f} class="highslide" rel="highslide">
+ <img src=${t} alt="${d if d else 'Portato screenie'}" title="Click to enlarge" />
+ </a>
+ ## % if d is not None:
+ ## <div class="highslide-caption">${d}</div>
+ ##% endif
+ % endfor
+</a>