templates/image.html
changeset 12 c2d8e9a754a1
parent 4 d46ab092d2b2
child 16 980825f2aeed
equal deleted inserted replaced
11:27dac27d1a58 12:c2d8e9a754a1
     1 <?xml version="1.0" encoding="UTF-8" ?>
     1 <%inherit file="master.html" /> <!-- %> -->
     2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       
     3   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
       
     4 
     2 
     5 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
       
     6   <head>
       
     7     <title><!-- TITLE --></title>
       
     8     <link rel="Stylesheet" type="text/css" href="<!-- STYLE_URL -->" />
       
     9     <link rel="up" href="<!-- UP_URL -->" />
       
    10     <link rel="prev" href="<!-- PREV_URL -->" />
       
    11     <link rel="next" href="<!-- NEXT_URL -->" />
       
    12   </head>
       
    13   <body>
       
    14     <div id="breadcrumb"><!-- BREADCRUMB --></div>
       
    15     <div id="image">
     3     <div id="image">
    16       <h1><!-- TITLE --></h1>
     4         <h1>${title}</h1>
    17       <p><!-- PREVIOUS_THUMB --> <!-- IMAGE --> <!-- NEXT_THUMB --></p>
     5         <p>
    18       <p><!-- DESCRIPTION --></p>
     6 % if prev :        
       
     7             ${h.tag_for_img(prev.html_name, prev.thumb_name)}
       
     8 % endif
       
     9             
       
    10             ${h.tag_for_img(img.html_name, img.preview_name)}
       
    11             
       
    12 % if next :            
       
    13             ${h.tag_for_img(next.html_name, next.thumb_name)}
       
    14 % endif
       
    15         </p>
       
    16         <p>
       
    17             ${description}
       
    18         </p>
    19     </div>
    19     </div>
    20     <div id="info">
    20     <div id="info">
    21       <p><!-- FILE --></p>
    21       <p>${filename}</p>
    22       <p><!-- IMGSIZE --></p>
    22       <p>${h.format_imgsize(img_size)}</p>
    23       <p><!-- FILESIZE --></p>
    23       <p>${h.format_filesize(file_size)}</p>
    24       <p><!-- TIMESTAMP --></p>
    24       <p>${h.format_timestamp(timestamp)}</p>
    25       <p>ShortURL: <a href="<!-- SHORTURL -->" rel="nofollow"><!-- SHORTURL_CODE --></a></p>
    25       <p>ShortURL: <a href="${shorturl}" rel="nofollow">${shorturl_code}</a></p>
    26       <p><a href="<!-- SERIES_URL -->" rel="nofollow"><!-- SERIES_VERB --></a> series</p>
    26       <p><a href="${series_url}" rel="nofollow">${series_verb}</a> series</p>
    27     </div>
    27     </div>
    28     <p id="about"><a href="http://marttila.de/~terom/degal/">DeGAL</a> <!-- VERSION --></p>
       
    29   </body>
       
    30 </html>