Additional style changes to navigation; add three navigation images
This commit is contained in:
parent
fd9807ffc3
commit
d6ae709c14
@ -211,7 +211,7 @@ img.media_icon{
|
|||||||
text-align:center;
|
text-align:center;
|
||||||
background-color:#393939;
|
background-color:#393939;
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
padding: 6px 0pt;
|
padding:12px 0pt;
|
||||||
font-family:'Carter One', arial, serif;
|
font-family:'Carter One', arial, serif;
|
||||||
font-size:2em;
|
font-size:2em;
|
||||||
margin:0 0 20px
|
margin:0 0 20px
|
||||||
|
BIN
mediagoblin/static/images/navigation_end.png
Normal file
BIN
mediagoblin/static/images/navigation_end.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 718 B |
BIN
mediagoblin/static/images/navigation_left.png
Normal file
BIN
mediagoblin/static/images/navigation_left.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 406 B |
BIN
mediagoblin/static/images/navigation_right.png
Normal file
BIN
mediagoblin/static/images/navigation_right.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 383 B |
@ -24,20 +24,23 @@
|
|||||||
{# There are no previous entries for the very first media entry #}
|
{# There are no previous entries for the very first media entry #}
|
||||||
{% if prev_entry_url %}
|
{% if prev_entry_url %}
|
||||||
<a class="navigation_button navigation_left" href="{{ prev_entry_url }}">
|
<a class="navigation_button navigation_left" href="{{ prev_entry_url }}">
|
||||||
<
|
<img src="/mgoblin_static/images/navigation_left.png" alt="Previous image" />
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
{# This is the first entry. display greyed-out 'previous' image #}
|
{# This is the first entry. display greyed-out 'previous' image #}
|
||||||
<p class="navigation_button">X</p>
|
<p class="navigation_button navigation_left">
|
||||||
|
<img src="/mgoblin_static/images/navigation_end.png" alt="No previous images" />
|
||||||
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{# Likewise, this could be the very last media entry #}
|
{# Likewise, this could be the very last media entry #}
|
||||||
{% if next_entry_url %}
|
{% if next_entry_url %}
|
||||||
<a class="navigation_button" href="{{ next_entry_url }}">
|
<a class="navigation_button" href="{{ next_entry_url }}">
|
||||||
>
|
<img src="/mgoblin_static/images/navigation_right.png" alt="Next image" />
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
{# This is the last entry. display greyed-out 'next' image #}
|
{# This is the last entry. display greyed-out 'next' image #}
|
||||||
<p class="navigation_button">X</p>
|
<p class="navigation_button">
|
||||||
|
<img src="/mgoblin_static/images/navigation_end.png" alt="No following images" />
|
||||||
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user