summaryrefslogtreecommitdiff
path: root/templates/pages/screenshots.mako
blob: ba6f697802928a40d91a68bf2f6e017b101866c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<%!
    title = "Screenshots"
%>
<%inherit file="/page.mako" />

<%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)):
        <% if not d: d = 'Portato screenie' %>
        <a href=${f} class="highslide" rel="highslide">
            <img src=${t} alt="${d}" title="${d}" />
        </a>
    % endfor
</a>