~ubuntu-branches/ubuntu/utopic/lazygal/utopic

« back to all changes in this revision

Viewing changes to themes/test/dirindex.thtml

  • Committer: Package Import Robot
  • Author(s): Michal Čihař
  • Date: 2012-05-14 10:26:46 UTC
  • mfrom: (1.2.10)
  • Revision ID: package-import@ubuntu.com-20120514102646-a8aqsadph5u2s2sf
Tags: 0.7.2-1
* New upstream release.
  - Fix video thumbnailing handling (Closes: #662118).
  - Fixes French translation (Closes: #664167).
* Clean generated files in clean phase (Closes: #671317).
* Bump standards to 3.9.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html
2
 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
 
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
5
 
      xmlns:py="http://genshi.edgewall.org/"
6
 
      xmlns:xi="http://www.w3.org/2001/XInclude">
7
 
<head>
8
 
  <title py:content="album_name" />
9
 
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
10
 
  <meta name="Generator" content="lazygal $lazygal_version" />
11
 
  <py:for each="style in styles">
12
 
    <py:if test="style.alternate">
13
 
        <link rel="alternate stylesheet" type="text/css" media="screen,projection" title="$style.name" href="${rel_root}shared/${style.filename}.css" />
14
 
    </py:if>
15
 
    <py:if test="not style.alternate">
16
 
        <link rel="stylesheet" type="text/css" media="screen,projection" title="$style.name" href="${rel_root}shared/${style.filename}.css" />
17
 
    </py:if>
18
 
  </py:for>
19
 
  <link rel="alternate" type="application/rss+xml" title="Recent galleries" href="${rel_root}index.xml" />
20
 
  <script type="text/javascript" src="${rel_root}shared/jquery-1.4.2.min.js"></script>
21
 
  <script type="text/javascript" src="${rel_root}shared/scripts.js"></script>
22
 
</head>
23
 
 
24
 
<body>
25
 
 
26
 
<h1 py:content="album_name"></h1>
27
 
 
28
 
<p py:if="parent_index_link" id="index_link">
29
 
    <a href="../$parent_index_link">${_('Parent')}</a>
30
 
</p>
31
 
 
32
 
<p py:if="album_description" class="description" py:content="album_description"></p>
33
 
 
34
 
<p py:if="len(osize_index_links) > 1">
35
 
    <py:for each="i, osize_index_link in enumerate(osize_index_links)">
36
 
        <a py:strip="not osize_index_link.link"
37
 
           href="$osize_index_link.link">$osize_index_link.name</a>
38
 
        <py:if test="i != len(osize_index_links)-1"> | </py:if>
39
 
    </py:for>
40
 
</p>
41
 
 
42
 
<p py:if="len(onum_index_links) > 1">
43
 
    <py:for each="i, onum_index_link in enumerate(onum_index_links)">
44
 
        <a py:strip="not onum_index_link.link"
45
 
           href="$onum_index_link.link">$onum_index_link.name</a>
46
 
        <py:if test="i != len(onum_index_links)-1"> | </py:if>
47
 
    </py:for>
48
 
</p>
49
 
 
50
 
<div id="subgal_links">
51
 
    <py:for each="subgal_link in subgal_links">
52
 
        <xi:include href="gallerylink.thtml" />
53
 
    </py:for>
54
 
</div>
55
 
 
56
 
<py:for each="subdir, medias in medias">
57
 
    <div py:if="medias" class="media_links">
58
 
        <py:if test="not subdir.is_main">
59
 
            <h2>$subdir.album_name</h2>
60
 
            <div py:if="subdir.album_description" class="subgal_description">
61
 
                <p>$subdir.album_description</p>
62
 
            </div>
63
 
        </py:if>
64
 
 
65
 
        <p>
66
 
            <a py:for="media in medias" href="$media.link">
67
 
                <img src="$media.thumb"
68
 
                     width="$media.thumb_width"
69
 
                     height="$media.thumb_height"
70
 
                     alt="$media.thumb_name thumb" />
71
 
            </a>
72
 
        </p>
73
 
 
74
 
        <div class="dirzip" py:if="subdir.dirzip">
75
 
            <a href="$subdir.dirzip">${_('All full scale picture as an archive, for')} "$subdir.album_name"</a>.
76
 
        </div>
77
 
    </div>
78
 
</py:for>
79
 
 
80
 
<div class="footer" py:if="footer" py:content="footer" />
81
 
 
82
 
<div class="footer" id="lazygalfooter">
83
 
    <p>${_('Generated by')} <a href="http://sousmonlit.dyndns.org/~niol/playa/oss/projects/lazygal">lazygal</a> ${_('on')} ${gen_date}.</p>
84
 
</div>
85
 
 
86
 
</body>
87
 
 
88
 
</html>