~ubuntu-dev/ubuntu/lucid/lazygal/lucid-201002110914

« back to all changes in this revision

Viewing changes to themes/default/browse.thtml

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2008-04-16 22:01:37 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080416220137-i4c3ptaqnso6liyl
Tags: 0.3.1-2
Allow installation with python 2.5 where celementtree is merged inside
Python (Closes: #476462).

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
  <title py:content="t.name"></title>
8
8
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
9
9
  <meta name="Generator" content="lazygal $t.lazygal_version" />
10
 
  <link rel="stylesheet" type="text/css" media="screen,projection" title="Original" href="${t.rel_root}shared/style.css" />
 
10
  <py:for each="style in t.styles">
 
11
    <py:if test="style.alternate">
 
12
        <link rel="alternate stylesheet" type="text/css" media="screen,projection" title="$style.name" href="${t.rel_root}shared/${style.filename}.css" />
 
13
    </py:if>
 
14
    <py:if test="not style.alternate">
 
15
        <link rel="stylesheet" type="text/css" media="screen,projection" title="$style.name" href="${t.rel_root}shared/${style.filename}.css" />
 
16
    </py:if>
 
17
  </py:for>
 
18
  <link rel="alternate" type="application/rss+xml" title="Recent galleries" href="${t.rel_root}index.xml" />
11
19
</head>
12
20
 
13
21
<body>
14
22
 
15
 
<p><a href="$t.index_link">Gallery index</a></p>
 
23
<div id="gallery_links">
 
24
                <div id="index_link"><a href="$t.index_link">Gallery index</a></div>
16
25
 
17
 
<p>
18
 
    <py:for each="i, osize_link in enumerate(t.osize_links)">
19
 
        <a py:strip="not osize_link.link"
20
 
           href="${osize_link.link}">${osize_link.name}</a>
21
 
        <py:if test="i != len(t.osize_links)-1"> | </py:if>
22
 
    </py:for>
23
 
</p>
 
26
                <div id="osize_links" py:if="len(t.osize_links) > 1">
 
27
                                <p>
 
28
                                                <py:for each="i, osize_link in enumerate(t.osize_links)">
 
29
                                                                <a py:strip="not osize_link.link"
 
30
                   href="${osize_link.link}">${osize_link.name}</a>
 
31
                                                                <py:if test="i != len(t.osize_links)-1"> | </py:if>
 
32
                                                </py:for>
 
33
                                </p>
 
34
                </div>
 
35
</div>
24
36
 
25
37
<div py:if="t.prev_link" id="prev_link">
26
38
    <a href="$t.prev_link.link"><img src="$t.prev_link.thumb" width="$t.prev_link.thumb_width" height="$t.prev_link.thumb_height" alt="Previous" /></a>
35
47
        <p><img src="$t.img_src" width="$t.img_width" height="$t.img_height" alt="Image $t.image_name" /></p>
36
48
    </div>
37
49
    <div id="image_caption">
38
 
        <ul>
 
50
        <ul id="image_caption_nontech">
39
51
            <li py:if="t.comment">$t.comment</li>
 
52
            <li>Taken $t.image_date</li>
 
53
        </ul>
 
54
        <ul class="image_caption_tech">
40
55
            <li>$t.image_name</li>
41
 
            <li>Taken $t.image_date</li>
42
 
            <li py:if="t.camera_name">Using $t.camera_name</li>
 
56
            <li py:if="t.camera_name">Using $t.camera_name
 
57
                <py:if test="t.lens_name"> with $t.lens_name</py:if>
 
58
                </li>
43
59
            <li py:if="t.exposure">Exposure $t.exposure</li>
44
60
            <li py:if="t.iso">Sensitivity ISO $t.iso</li>
45
61
            <li py:if="t.fnumber">Aperture $t.fnumber</li>
46
62
            <li py:if="t.flash">Flash $t.flash</li>
47
63
            <li py:if="t.focal_length">Focal length $t.focal_length</li>
 
64
            <li py:if="t.original_link"><a href="$t.original_link">Original picture</a></li>
48
65
        </ul>
49
66
    </div>
50
67
</div>
51
68
 
52
 
<div id="footer">
53
 
    <hr />
54
 
    <p>Generated by <a href="http://sousmonlit.dyndns.org/~niol/playa/oss:lazygal">lazygal $t.lazygal_version</a> on ${t.gen_date}.</p>
 
69
<div class="footer" py:if="t.footer" py:content="t.footer">
 
70
</div>
 
71
 
 
72
<div class="footer" id="lazygalfooter">
 
73
    <p>Generated by <a href="http://sousmonlit.dyndns.org/~niol/playa/oss:lazygal">lazygal</a> on ${t.gen_date}.</p>
55
74
</div>
56
75
 
57
76
</body>