From cc70aa809252899dfd062feb241aaecede66bd02 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 24 Jun 2014 12:05:46 -0400 Subject: Rewrote all sass and reconfigured HTML to use more microformats and clearer class names --- design/templates/details/photo_galleries.html | 39 +++++++-------------------- 1 file changed, 10 insertions(+), 29 deletions(-) (limited to 'design/templates/details/photo_galleries.html') diff --git a/design/templates/details/photo_galleries.html b/design/templates/details/photo_galleries.html index f508bb4..5275f2d 100644 --- a/design/templates/details/photo_galleries.html +++ b/design/templates/details/photo_galleries.html @@ -22,45 +22,26 @@
  • {{object.set_title}}
  • Use left/right arrow keys to navigate through photos

    -
    +

    Photos from {{object.set_title}}

    {%for photo in object.photos.all reversed %}
    -
    {{photo.title}}
    -
    +
    {{photo.title}} +
    -

    {{photo.title}}   

    +

    {{photo.title}}

    + Map - {%if photo.description %}

    {{photo.description|safe}}

    {%endif%} + {%if photo.description %}

    {{photo.description|safe}}

    {%endif%}
    -

    {% if photo.exif_make == 'Canon'%}{{photo.exif_model}}{%endif%}{% if photo.exif_model == 'DMC-LX2'%}{{photo.exif_make}} {{photo.exif_model}}{%endif%}{%if photo.exif_model == 'DMC-GF1' %}Panasonic GF1 w/{%endif%} {%if photo.exif_lens == 'LUMIX G VARIO 14-45/F3.5-5.6' %}Lumix 14-45mm lens{%endif%}{%if photo.exif_lens == 'LUMIX G 20/F1.7' %}Lumix 20mm prime lens{%endif%}{%if photo.exif_lens == 'LUMIX G VARIO 45-200/F4.0-5.6' %}Lumix 45-200mm lens{%endif%}{%if photo.exif_lens == 'OLYMPUS M.9-18mm F4.0-5.6' %}Olympus 9-18mm lens{%endif%}{%if photo.exif_lens == None %}{%endif%}

    -

    {{photo.exif_exposure}} sec @ {{photo.exif_aperture}}, ISO {{photo.exif_iso}}

    +

    {% if photo.exif_make == 'Canon'%}{{photo.exif_model}}{%endif%}{% if photo.exif_model == 'DMC-LX2'%}{{photo.exif_make}} {{photo.exif_model}}{%endif%}{%if photo.exif_model == 'DMC-GF1' %}Panasonic GF1 with {%endif%} {%if photo.exif_lens == 'LUMIX G VARIO 14-45/F3.5-5.6' %}Lumix 14-45mm lens{%endif%}{%if photo.exif_lens == 'LUMIX G 20/F1.7' %}Lumix 20mm prime lens{%endif%}{%if photo.exif_lens == 'LUMIX G VARIO 45-200/F4.0-5.6' %}Lumix 45-200mm lens{%endif%}{%if photo.exif_lens == 'OLYMPUS M.9-18mm F4.0-5.6' %}Olympus 9-18mm lens{%endif%}{%if photo.exif_lens == None %}{%endif%}

    +

    {{photo.exif_exposure}} sec at f/{{photo.exif_aperture}}, ISO {{photo.exif_iso}}

    - - {%comment%} - - {%endcomment%} -
    + +
    {% endfor %}
    -- cgit v1.2.3-70-g09d2