templates/image.html
author terom
Wed, 16 Jan 2008 14:58:03 +0000
changeset 19 8d3ffd87cb0b
parent 16 980825f2aeed
child 23 10841abbc01f
permissions -rw-r--r--
* 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
* refactored series/shorturl into the new codebase
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
     1
<%inherit file="master.html" /> <!-- %> -->
1
740133ab6353 initial code, somewhere between 0.2 and 0.5
terom
parents:
diff changeset
     2
740133ab6353 initial code, somewhere between 0.2 and 0.5
terom
parents:
diff changeset
     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
740133ab6353 initial code, somewhere between 0.2 and 0.5
terom
parents:
diff changeset
    19
    </div>
740133ab6353 initial code, somewhere between 0.2 and 0.5
terom
parents:
diff changeset
    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 :    
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
    22
      <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
    23
      <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
    24
      <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
    25
      <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
    26
% 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
    27
      <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
    28
% 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
    29
      <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
    30
% endif      
1
740133ab6353 initial code, somewhere between 0.2 and 0.5
terom
parents:
diff changeset
    31
    </div>