aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/photos/templates/photos/import_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django/photos/templates/photos/import_form.html')
-rw-r--r--bn_django/photos/templates/photos/import_form.html62
1 files changed, 0 insertions, 62 deletions
diff --git a/bn_django/photos/templates/photos/import_form.html b/bn_django/photos/templates/photos/import_form.html
deleted file mode 100644
index bd01a9a..0000000
--- a/bn_django/photos/templates/photos/import_form.html
+++ /dev/null
@@ -1,62 +0,0 @@
-{% extends "photos/base.html" %}
-{# {% load markup %} #}
-{% block title %}Import photos into a gallery
-{% if gallery%} ({{gallery.title}}){% endif %}{% endblock %}
-
-{% block content %}
-{% if gallery %}
-
-<form action="../../import/{{ gallery.id }}/" method="post"
- enctype="multipart/form-data">
- <div>
- {%if form.zipfile.errors %}
- <span style="color: red;">
- {{ form.zipfile.errors|join:", " }}
- </span><br/>
- {% endif %}
-
- <label class="fortextinput" for="id_zipfile">
- ZIP archive to upload:
- </label>
- {{ form.zipfile }}<br/><br/>
-
- {%if form.photographer.errors %}
- <span style="color: red;">
- {{ form.photographer.errors|join:", " }}
- </span><br/>
- {% endif %}
-
- <label class="fortextinput" for="id_photographer">
- Name of photographer:
- </label>
- {{ form.photographer }}<br/><br/>
-
- {%if form.date.errors %}
- <span style="color: red;">
- {{ form.date.errors|join:", " }}
- </span><br/>
- {% endif %}
-
- <label class="fortextinput" for="id_date">
- Date photos were taken:
- </label>
- {{ form.date }}<br/><br/>
- <input type="submit" value="Upload"/>
- </div>
-</form>
-<p>
- When you upload a batch of photos in a zipfile, it will give each of
- them a title based on its filename, and assigns them all the same
- photographer and date. That's probably not always what you want, so
- you can change any of these settings on a per-photo basis
- <em>after</em> you upload the images.
-</p>
-<p>
- <b>UPDATE:</b> The title and rotation will be guessed from EXIF data...
-</p>
-
-{% else %}
-<p>Oops! No gallery here!</p>
-{% endif %}
-
-{% endblock %}