Navigation buttons edits. Removed images as they are no longer needed. Related: bug #504

This commit is contained in:
Jef van Schendel 2011-11-20 17:01:23 +01:00
parent 7807f5a513
commit 0b3cdd6a25
5 changed files with 6 additions and 10 deletions

View File

@ -300,15 +300,11 @@ img.media_icon{
border-color: #2c2c2c #232323 #1a1a1a;
border-radius: 4px;
text-decoration: none;
padding: 8px 0px 14px;
font-size: 2em;
padding: 12px 0 16px;
font-size: 1.4em;
margin: 0 0 20px
}
p.navigation_button{
color: #272727;
}
.navigation_left{
margin-right: 6px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 718 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 383 B

View File

@ -25,23 +25,23 @@
{# There are no previous entries for the very first media entry #}
{% if prev_entry_url %}
<a class="navigation_button navigation_left" href="{{ prev_entry_url }}">
<img src="{{ request.staticdirect('/images/navigation_left.png') }}" alt="Previous image" />
&larr; newer
</a>
{% else %}
{# This is the first entry. display greyed-out 'previous' image #}
<p class="navigation_button navigation_left">
<img src="{{ request.staticdirect('/images/navigation_end.png') }}" alt="No previous images" />
&larr; newer
</p>
{% endif %}
{# Likewise, this could be the very last media entry #}
{% if next_entry_url %}
<a class="navigation_button" href="{{ next_entry_url }}">
<img src="{{ request.staticdirect('/images/navigation_right.png') }}" alt="Next image" />
older &rarr;
</a>
{% else %}
{# This is the last entry. display greyed-out 'next' image #}
<p class="navigation_button">
<img src="{{ request.staticdirect('/images/navigation_end.png') }}" alt="No following images" />
older &rarr;
</p>
{% endif %}
</div>