diff options
author | Bryan Newbold <bnewbold@animus.robocracy.org> | 2007-08-13 21:12:41 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@animus.robocracy.org> | 2007-08-13 21:12:41 -0700 |
commit | 3399247f64ab4a184cc6000c3054e0e206fb0172 (patch) | |
tree | 75ffd1f67f7c050ec75ea317996d72f87c376743 | |
parent | 86978e28a9437e9a7c199188a7055cee193f6fb0 (diff) | |
download | bnewnet-3399247f64ab4a184cc6000c3054e0e206fb0172.tar.gz bnewnet-3399247f64ab4a184cc6000c3054e0e206fb0172.zip |
more IE compatability changes
-rw-r--r-- | bn_django/photos/templates/photos/gallery_detail.html | 34 | ||||
-rw-r--r-- | bn_django/photos/templates/photos/photo_detail.html | 14 | ||||
-rw-r--r-- | static/style/default.css | 3 |
3 files changed, 15 insertions, 36 deletions
diff --git a/bn_django/photos/templates/photos/gallery_detail.html b/bn_django/photos/templates/photos/gallery_detail.html index da374b1..ef08807 100644 --- a/bn_django/photos/templates/photos/gallery_detail.html +++ b/bn_django/photos/templates/photos/gallery_detail.html @@ -1,44 +1,30 @@ {% extends "photos/base.html" %} {# {% load markup %} #} - {% block path %} {{ block.super }} {% if object %} » <a href="../{{ object.id }}">{{ object.title }}</a> -{% endif %} -{% endblock %} - +{% endif %} {% endblock %} {% block title %} -{% if object %} -Gallery: {{ object.title }} -{% endif %} +{% if object %} Gallery: {{ object.title }} {% endif %} {% endblock %} - {% block content %} -{% if object %} -<br /> +{% if object %} <br /> {% if object.photo_set.count %} <table width="100%" class="thumbs"> -{% for item in object.photo_set.all %} - {% cycle <tr/>, , , %} +{% for item in object.photo_set.all %} {% cycle <tr/>, , , %} <td class="photo_thumb"> <a href="../detail/{{ item.id }}"> <img src="{{ item.thumburl }}" alt="{{ item.title }}" /> - <!--<a href="../detail/{{ item.id }}" class="caption">{{ item.title }}</a> -</a> --> - </td> - -{% endfor %} + </td> {% endfor %} </table> - {% else %} <p>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.</p> -{% endif %} - +show up.</p> {% endif %} + <!-- {% if not user.is_anonymous %} <p> @@ -55,9 +41,5 @@ show up.</p> </p> {% endif %} --> - -{% else %} -<p>This is not the gallery you are looking for.</p> -{% endif %} - +{% else %} <p>This is not the gallery you are looking for.</p> {% endif %} {% endblock %} diff --git a/bn_django/photos/templates/photos/photo_detail.html b/bn_django/photos/templates/photos/photo_detail.html index a2a28c2..3b582b1 100644 --- a/bn_django/photos/templates/photos/photo_detail.html +++ b/bn_django/photos/templates/photos/photo_detail.html @@ -20,31 +20,27 @@ {% if object %} {% if object.next %} -<div class="right_stuff"> +<div class="right_stuff" style="clear: right;"> <div class="small-image-box"> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <a href="../{{ object.next.id }}/"> Next:<br/> <img src="{{ object.next.thumburl}}" alt="{{ object.next.title }}"/> - </a> <!-- - <a href="../{{ object.next.id }}/"> - <span>{{ object.next.title }} »</span></a> --> + </a> </div></div> {% endif %} - {% if object.prev %} -<div class="right_stuff"> +<div class="right_stuff" style="clear: right;"> <div class="small-image-box"> <a href="../{{ object.prev.id }}/"> Previous:<br /> <img src="{{ object.prev.thumburl}}" alt="{{ object.prev.title }}"/> - </a> <!-- - <a href="../{{ object.prev.id }}/"> - <span>« {{ object.prev.title }} </span></a> --> + </a> </div> </div> {% endif %} + <center> <div id="centerize"> <a href="{{ object.fullurl }}"> diff --git a/static/style/default.css b/static/style/default.css index b743e5b..1dd48e1 100644 --- a/static/style/default.css +++ b/static/style/default.css @@ -189,8 +189,9 @@ pre.large { .right_stuff a { color: #7777DD; } .right_stuff a:visited { - /* color: #BB77BB; */ color: #7777DD; } +.right_stuff a:hover { + text-decoration: none; } .right_stuff img { border: 1px solid black; } .photo_thumb { |