author | Tero Marttila <terom@fixme.fi> |
Fri, 05 Jun 2009 21:48:56 +0300 | |
changeset 62 | 53e798708413 |
parent 41 | 3b1579a7bffb |
permissions | -rw-r--r-- |
62
53e798708413
write new templates using html, replacing old mako stuff
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
1 |
<%inherit file="master.html" /> |
1 | 2 |
|
3 |
<div id="image"> |
|
12
c2d8e9a754a1
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
terom
parents:
4
diff
changeset
|
4 |
<h1>${title}</h1> |
c2d8e9a754a1
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
terom
parents:
4
diff
changeset
|
5 |
<p> |
c2d8e9a754a1
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
terom
parents:
4
diff
changeset
|
6 |
% if prev : |
c2d8e9a754a1
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
terom
parents:
4
diff
changeset
|
7 |
${h.tag_for_img(prev.html_name, prev.thumb_name)} |
c2d8e9a754a1
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
terom
parents:
4
diff
changeset
|
8 |
% endif |
c2d8e9a754a1
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
terom
parents:
4
diff
changeset
|
9 |
|
16
980825f2aeed
fix settings.IMAGE_COUNT back to 50, and fix image.html to link to the raw image, not itself
terom
parents:
12
diff
changeset
|
10 |
${h.tag_for_img(img.name, img.preview_name)} |
12
c2d8e9a754a1
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
terom
parents:
4
diff
changeset
|
11 |
|
c2d8e9a754a1
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
terom
parents:
4
diff
changeset
|
12 |
% if next : |
c2d8e9a754a1
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
terom
parents:
4
diff
changeset
|
13 |
${h.tag_for_img(next.html_name, next.thumb_name)} |
c2d8e9a754a1
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
terom
parents:
4
diff
changeset
|
14 |
% endif |
c2d8e9a754a1
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
terom
parents:
4
diff
changeset
|
15 |
</p> |
c2d8e9a754a1
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
terom
parents:
4
diff
changeset
|
16 |
<p> |
c2d8e9a754a1
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
terom
parents:
4
diff
changeset
|
17 |
${description} |
c2d8e9a754a1
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
terom
parents:
4
diff
changeset
|
18 |
</p> |
1 | 19 |
</div> |
20 |
<div id="info"> |
|
19
8d3ffd87cb0b
* move cgi-bin to de-cgi-bin so it doesn't conflict with my default alias... need to come up with a real solution to this
terom
parents:
16
diff
changeset
|
21 |
% if img_size and file_size and timestamp : |
33
4943047bfcb5
merged http://pajukanta.fi/temp/degal_exif_r33.tar.bz2 patch from Japsu
terom
parents:
23
diff
changeset
|
22 |
<p>File name: ${filename}</p> |
4943047bfcb5
merged http://pajukanta.fi/temp/degal_exif_r33.tar.bz2 patch from Japsu
terom
parents:
23
diff
changeset
|
23 |
<p>Dimensions: ${h.format_imgsize(img_size)}</p> |
4943047bfcb5
merged http://pajukanta.fi/temp/degal_exif_r33.tar.bz2 patch from Japsu
terom
parents:
23
diff
changeset
|
24 |
<p>File size: ${h.format_filesize(file_size)}</p> |
4943047bfcb5
merged http://pajukanta.fi/temp/degal_exif_r33.tar.bz2 patch from Japsu
terom
parents:
23
diff
changeset
|
25 |
<p>Last modified: ${h.format_timestamp(timestamp)}</p> |
62
53e798708413
write new templates using html, replacing old mako stuff
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
26 |
% for key, value in exif_data : |
33
4943047bfcb5
merged http://pajukanta.fi/temp/degal_exif_r33.tar.bz2 patch from Japsu
terom
parents:
23
diff
changeset
|
27 |
<p>${key}: ${value}</p> |
62
53e798708413
write new templates using html, replacing old mako stuff
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
28 |
% endfor |
53e798708413
write new templates using html, replacing old mako stuff
Tero Marttila <terom@fixme.fi>
parents:
41
diff
changeset
|
29 |
% endif |
33
4943047bfcb5
merged http://pajukanta.fi/temp/degal_exif_r33.tar.bz2 patch from Japsu
terom
parents:
23
diff
changeset
|
30 |
|
12
c2d8e9a754a1
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
terom
parents:
4
diff
changeset
|
31 |
<p>ShortURL: <a href="${shorturl}" rel="nofollow">${shorturl_code}</a></p> |
19
8d3ffd87cb0b
* move cgi-bin to de-cgi-bin so it doesn't conflict with my default alias... need to come up with a real solution to this
terom
parents:
16
diff
changeset
|
32 |
% if series_url : |
12
c2d8e9a754a1
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
terom
parents:
4
diff
changeset
|
33 |
<p><a href="${series_url}" rel="nofollow">${series_verb}</a> series</p> |
19
8d3ffd87cb0b
* move cgi-bin to de-cgi-bin so it doesn't conflict with my default alias... need to come up with a real solution to this
terom
parents:
16
diff
changeset
|
34 |
% endif |
1 | 35 |
</div> |