Move the menus into the footer.
[cocanwiki.git] / templates / images.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3 <head>
4 <title>Images</title>
5 <meta name="author" content="http://www.merjis.com/" />
6 <link rel="stylesheet" href="::theme_css_html_tag::" type="text/css" title="Standard"/>
7 <link rel="alternate stylesheet" href="/_css/easytoread.css" type="text/css" title="High contrast, big fonts"/>
8 <link rel="stylesheet" href="/_css/images.css" type="text/css" title="Standard"/>
9 </head><body>
10
11 <h1>Images</h1>
12
13 <ul class="menu">
14 <li class="first"><a href="/_bin/upload_image_form.cmo">Upload a new image</a> </li>
15 ::if(deleted)::
16 <li><a href="/_images">Show live images</a> </li>
17 <li>Show deleted images</li>
18 ::else::
19 <li>Show live images</li>
20 <li><a href="/_images?deleted=1">Show deleted images</a></li>
21 ::end::
22 </ul>
23
24 <table id="images">
25 ::table(images)::
26 <tr>
27 <td rowspan="2" class="thumbnail"> ::if(has_thumbnail):: <a href="/_image/::name_html_tag::?version=::id::"><img src="/_image/::name_html_tag::?thumbnail=1&version=::id::" width="::tn_width::" height="::tn_height::" alt="::alt_html_tag::" title="Thumbnail of ::name_html_tag::.  Click image to show full-size version."/></a> ::else:: No thumbnail.  <a href="/_image/::name_html_tag::?version=::id::">Show full-size version.</a> ::end:: </td>
28 <td>
29 <p>
30 Name: <strong>::name_html::</strong> (size: ::ksize_html:: K) <br/>
31 ::width_html::x::height_html:: <br/>
32 ALT text: ::alt_html:: <br/>
33 ::if(is_deleted)::
34 (This image has been deleted or replaced)
35 ::else::
36 <code>[[image&#x3a;::name_html::]]</code>
37 ::end::
38 </p>
39 </td>
40 </tr>
41 <tr>
42 <td class="actions">
43 <ul class="menu">
44 ::if(is_deleted)::
45 <li class="first"><a href="/_bin/undelete_image_form.cmo?id=::id_url::">Restore</a></li>
46 ::else::
47 <li class="first"><a href="/_bin/edit_image_form.cmo?id=::id_url::">Edit</a></li>
48 <li><a href="/_bin/upload_image_form.cmo?id=::id_url::">Replace</a></li>
49 <li><a href="/_bin/delete_image_form.cmo?id=::id_url::">Delete</a></li>
50 ::end::
51 </ul>
52 </td>
53 </tr>
54 ::end::
55 </table>
56
57 ::include(footer.html)::
58 </body>
59 </html>