templates/image.html
author terom
Thu, 31 Jan 2008 19:19:05 +0000
changeset 30 b1d5c32ab771
parent 23 10841abbc01f
child 33 4943047bfcb5
permissions -rw-r--r--
moar tweaks/small bugfixes
23
10841abbc01f taggr2, which is starting to shape up
terom
parents: 19
diff changeset
     1
<%! use_javascript = False %>
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
     2
<%inherit file="master.html" /> <!-- %> -->
1
740133ab6353 initial code, somewhere between 0.2 and 0.5
terom
parents:
diff changeset
     3
740133ab6353 initial code, somewhere between 0.2 and 0.5
terom
parents:
diff changeset
     4
    <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
     5
        <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
     6
        <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
     7
% 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
     8
            ${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
     9
% 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
    10
            
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
    11
            ${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
    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
    13
% 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
    14
            ${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
    15
% 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
    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
        <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
    18
            ${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
    19
        </p>
1
740133ab6353 initial code, somewhere between 0.2 and 0.5
terom
parents:
diff changeset
    20
    </div>
740133ab6353 initial code, somewhere between 0.2 and 0.5
terom
parents:
diff changeset
    21
    <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
    22
% if img_size and file_size and timestamp :    
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
    23
      <p>${filename}</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
    24
      <p>${h.format_imgsize(img_size)}</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
    25
      <p>${h.format_filesize(file_size)}</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
    26
      <p>${h.format_timestamp(timestamp)}</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
    27
% endif    
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
    28
      <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
    29
% 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
    30
      <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
    31
% endif      
1
740133ab6353 initial code, somewhere between 0.2 and 0.5
terom
parents:
diff changeset
    32
    </div>