emin-default.html.templ

Mon, 09 May 2011 15:15:59 +0100

author
Andy Buckley <andy@insectnation.org>
date
Mon, 09 May 2011 15:15:59 +0100
changeset 20
1c024e55880c
parent 8
209609a6c525
permissions
-rw-r--r--

Added tag emin-0.3.2 for changeset 14161f1492a4

     1 <html>
     2   <head>
     3     <title>$PAGETITLE</title>
     4     <style>
     5       img { border:0; margin:5px; }
     6       body { padding:1em; background:white; font-family:sans-serif; }
     7       h1 { font-family:sans-serif; }
     8     </style>
     9 #if $OPTS.USE_JS:
    10     <script type="text/javascript" src="/lightbox/js/prototype.js"></script>
    11     <script type="text/javascript" src="/lightbox/js/scriptaculous.js?load=effects"></script>
    12     <script type="text/javascript" src="/lightbox/js/lightbox.js"></script>
    13     <link rel="stylesheet" href="/lightbox/css/lightbox.css" type="text/css" media="screen" />
    14 #end if
    15   </head>
    16   <body>
    17     <h1>$PAGETITLE</h1>
    18 #if $NUM_PAGES > 0
    19     <div class="pagelinks">Pages: $LINKSTR</div>
    20 #end if
    22     <p>
    23 #for npic in $PAGETHUMBS
    24 ##if not npic in (0, NUM_PER_PAGE-1) and npic % opts.NUM_COLS == 0: f/write("<br/>\n")
    25       <a href="$PAGEPICS[$npic]"><img alt="$PAGETHUMBS[$npic]" src="$PAGETHUMBS[$npic]" 
    26                                       style="border:0;" width="$PAGETHUMBDIMS[$npic][0]" 
    27                                       height="$PAGETHUMBDIMS[$npic][1]" /></a>
    28 #end for
    29     </p>
    31 #if $NUM_PAGES > 0
    32     <div class="pagelinks">Pages: $LINKSTR</div>
    33 #end if
    35 #if $OPTS.WRITE_ZIPFILE:
    36     <p>All photos zipped up: <a href="$ZIPFILE">$ZIPFILE</a></p>
    37 #end if
    38   </body>
    39 </html>

mercurial