From baf14633cbd8af6413290ccae5765aefd2a278a5 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Mon, 20 Jun 2016 16:37:07 -0400 Subject: remove old django folder --- bn_django/photos/templates/photos/base.html | 5 - .../photos/templates/photos/gallery_detail.html | 45 --------- .../photos/templates/photos/gallery_list.html | 57 ----------- bn_django/photos/templates/photos/import_form.html | 62 ------------ .../photos/templates/photos/photo_detail.html | 111 --------------------- 5 files changed, 280 deletions(-) delete mode 100644 bn_django/photos/templates/photos/base.html delete mode 100644 bn_django/photos/templates/photos/gallery_detail.html delete mode 100644 bn_django/photos/templates/photos/gallery_list.html delete mode 100644 bn_django/photos/templates/photos/import_form.html delete mode 100644 bn_django/photos/templates/photos/photo_detail.html (limited to 'bn_django/photos/templates') diff --git a/bn_django/photos/templates/photos/base.html b/bn_django/photos/templates/photos/base.html deleted file mode 100644 index d229057..0000000 --- a/bn_django/photos/templates/photos/base.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "base.html" %} - -{% block path %} - photos -{% endblock %} diff --git a/bn_django/photos/templates/photos/gallery_detail.html b/bn_django/photos/templates/photos/gallery_detail.html deleted file mode 100644 index 0b3a4af..0000000 --- a/bn_django/photos/templates/photos/gallery_detail.html +++ /dev/null @@ -1,45 +0,0 @@ -{% extends "photos/base.html" %} -{# {% load markup %} #} -{% block path %} -{{ block.super }} -{% if object %} - » - {{ object.title }} -{% endif %} {% endblock %} -{% block title %} -{% if object %}Photo Set: {{ object.title }} {% endif %} -{% endblock %} -{% block content %} -{% if object %} -{% if object.photo_set.count %} - -{% for item in object.photo_set.all %} {% cycle , , ,  %} - {% endfor %} -
- - {{ item.title }} -
-{% else %} -

There are no photos in this gallery. If you just uploaded a batch -of photos, try hitting your browser's reload button to see if they -show up.

{% endif %} -  - -{% else %}

This is not the gallery you are looking for.

{% endif %} -{% endblock %} diff --git a/bn_django/photos/templates/photos/gallery_list.html b/bn_django/photos/templates/photos/gallery_list.html deleted file mode 100644 index 11c7289..0000000 --- a/bn_django/photos/templates/photos/gallery_list.html +++ /dev/null @@ -1,57 +0,0 @@ -{% extends "photos/base.html" %} -{# {% load markup %} #} - -{% block title %}Photo Sets{% endblock %} - -{% block content %} -{% if object_list %} - - {% for item in object_list %} - - - {% endfor %} -
- - {% if item.first %} - {{ item.first.title }} - {% else %} - (No photo available) - {% endif %} - - -

- {{ item.title }}

- {{ item.photo_set.count }} photo{{ item.photo_set.count|pluralize}} - {% if item.first.date %} - starting in {{ item.first.date|date:"M, Y" }}{% endif %} -
-{% else %} -

No galleries have been set up yet.

-{% endif %} - - -{% if is_paginated %} - -{% if has_previous %} -« previous | -{% endif %} -{% if has_next %} -next » -{% endif %} -{% endif %} - - - -{% endblock %} 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 %} - -
-
- {%if form.zipfile.errors %} - - {{ form.zipfile.errors|join:", " }} -
- {% endif %} - - - {{ form.zipfile }}

- - {%if form.photographer.errors %} - - {{ form.photographer.errors|join:", " }} -
- {% endif %} - - - {{ form.photographer }}

- - {%if form.date.errors %} - - {{ form.date.errors|join:", " }} -
- {% endif %} - - - {{ form.date }}

- -
-
-

- 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 - after you upload the images. -

-

- UPDATE: The title and rotation will be guessed from EXIF data... -

- -{% else %} -

Oops! No gallery here!

-{% endif %} - -{% endblock %} diff --git a/bn_django/photos/templates/photos/photo_detail.html b/bn_django/photos/templates/photos/photo_detail.html deleted file mode 100644 index 78b95fe..0000000 --- a/bn_django/photos/templates/photos/photo_detail.html +++ /dev/null @@ -1,111 +0,0 @@ -{% extends "photos/base.html" %} -{# {% load markup %} #} - -{% load comments %} - -{% block path %} - {{ block.super }} - » - {{ object.gallery.title }} - » - {{ object.title }} -{% endblock %} - -{% block title %} -{% if object %} -{{ object.title }} -{% endif %} -{% endblock %} - -{% block content %} - -{% if object %} -
-{% if object.date %} -

Photo taken {{ object.date }}{% if object.photographer %} -by {{ object.photographer }}.

-{% else %}.

-{% endif %} -{% else %} -{% if object.photographer %} -

Photo by {{ object.photographer }}.

-{% endif %} -{% endif %} -
-{% if object.next %} -
-
- -{% endif %} -{% if object.prev %} -
- -
-{% endif %} - -
-
- - {{ object.title }} - -
-

{{ object.desc|safe }}

- {% if object.extra %} -

More information

-

{{ object.extra|safe }}

- {% endif %} -
-
-
-{% if object.prev %} - - « previous - -{% endif %} -{% if object.next %} - - next » - -{% endif %} -
- - -{% else %} -

This is not the photo you are looking for.

-{% endif %} -{% endblock %} - -{% block commentary %} -
-

Post a comment

-{% render_comment_form for object %} -{% get_comment_list for object as comments %} -{% include "comment_list" %} -
-{% endblock %} -- cgit v1.2.3