degal/templates/image.html
branchuse-distutils
changeset 41 3b1579a7bffb
parent 33 4943047bfcb5
child 62 53e798708413
equal deleted inserted replaced
40:373392025533 41:3b1579a7bffb
       
     1 <%! use_javascript = False %>
       
     2 <%inherit file="master.html" /> <!-- %> -->
       
     3 
       
     4     <div id="image">
       
     5         <h1>${title}</h1>
       
     6         <p>
       
     7 % if prev :        
       
     8             ${h.tag_for_img(prev.html_name, prev.thumb_name)}
       
     9 % endif
       
    10             
       
    11             ${h.tag_for_img(img.name, img.preview_name)}
       
    12             
       
    13 % if next :            
       
    14             ${h.tag_for_img(next.html_name, next.thumb_name)}
       
    15 % endif
       
    16         </p>
       
    17         <p>
       
    18             ${description}
       
    19         </p>
       
    20     </div>
       
    21     <div id="info">
       
    22 % if img_size and file_size and timestamp :    
       
    23       <p>File name: ${filename}</p>
       
    24       <p>Dimensions: ${h.format_imgsize(img_size)}</p>
       
    25       <p>File size: ${h.format_filesize(file_size)}</p>
       
    26       <p>Last modified: ${h.format_timestamp(timestamp)}</p>
       
    27 % for key, value in exif_data :
       
    28       <p>${key}: ${value}</p>
       
    29 % endfor
       
    30 
       
    31 % endif    
       
    32       <p>ShortURL: <a href="${shorturl}" rel="nofollow">${shorturl_code}</a></p>
       
    33 % if series_url :      
       
    34       <p><a href="${series_url}" rel="nofollow">${series_verb}</a> series</p>
       
    35 % endif      
       
    36     </div>