]> git.decadent.org.uk Git - memories.git/blobdiff - templates/photo/upload
Memories as at 1.3
[memories.git] / templates / photo / upload
diff --git a/templates/photo/upload b/templates/photo/upload
new file mode 100644 (file)
index 0000000..ad88ff8
--- /dev/null
@@ -0,0 +1,63 @@
+<html>
+<head>
+    <title> Memories - Photo Sharing </title>
+    <link title="Maypole" href="[%base%]/static/memories.css" type="text/css" rel="stylesheet"/>
+    <script type="text/javascript" src="[%base%]/tag/list_js"></script>
+    <script type="text/javascript" src="[%base%]/static/upload.js"></script>
+</head>
+<body onload="init()">
+[% INCLUDE nav %]
+<table width="100%">
+    <tr>
+    <td valign="top">
+    [% IF messages %]
+    <div class="messages">
+    <ul> [% FOR m = messages %] <li> [%m%] </li> [% END %]
+    </ul></div>
+    [% END %]
+   <div id="main">
+<h1> Upload a photo </h1>
+<p>
+This is where you can upload your photographs. At the moment, you must
+upload them one at a time; in the near future, you will be able to
+upload a Zip file containing several photos.
+</p>
+<p>
+Please note that it may take a while to transfer your photograph to the
+server, so don't press stop or reload after pressing the Upload button.
+</p>
+
+<form method="post" action="[%base%]/photo/do_upload" enctype="multipart/form-data">
+
+<table>
+    <tr><td> Title: </td>
+    <td><input name="title"></td>
+    </tr>
+
+    <tr><td> Tags: </td>
+    <td><input name="tags" id="tags"></td>
+    <tr><td> &nbsp; </td> <td>
+<div class="messages"><small>
+<b>Tagging advice</b>: Tags should be words, (<i>portrait</i>, <i>henry</i>) or
+phrases surrounded by double quotes. (<i>"tall buildings"</i>) You can
+put any number of tags in the "add tags" box, like this:
+<p>
+<i> landscape cambridge "tall buildings" </i>
+</p>
+You don't have to do this at this stage, and you can always re-tag
+photos later, but if do it now, it saves you forgetting later! Try to
+re-use tags that other people have used, then all the photos can be
+found under the same tag. Use the <b><a
+href="[%base%]tag/list">tag list</a></b> to find existing tags.
+</small>
+<p>
+Suggested tags
+</p>
+<div id="suggestionlist"/>
+</td> </tr>
+    <tr><td> File </td>
+    <td><input type="file" name="photo"></td>
+    <tr><td colspan="2"><input type="submit" name="Upload" value="Upload"></td></tr>
+</table>
+</form>
+[% INCLUDE footer %]