|
|
|
@ -17,18 +17,18 @@
|
|
|
|
|
<div class="diary-dir-left">
|
|
|
|
|
% # << is always active link pointing to 0
|
|
|
|
|
<a href=/diary/0>
|
|
|
|
|
<img src="/static/img/dia/nav_ll.png" alt="<<">
|
|
|
|
|
<<
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
% # < points to 0 if page 0 or below
|
|
|
|
|
% if page <= 0:
|
|
|
|
|
<a href=/diary/0>
|
|
|
|
|
<img src="/static/img/dia/nav_l.png" alt="<">
|
|
|
|
|
<
|
|
|
|
|
</a>
|
|
|
|
|
% # < points to previous page otherwise
|
|
|
|
|
% else:
|
|
|
|
|
<a href=/diary/{{page - 1}}>
|
|
|
|
|
<img src="/static/img/dia/nav_l.png" alt="<">
|
|
|
|
|
<<
|
|
|
|
|
</a>
|
|
|
|
|
% end
|
|
|
|
|
</div>
|
|
|
|
@ -72,18 +72,18 @@
|
|
|
|
|
% # > points to max if page is at or above maximum
|
|
|
|
|
% if page >= max_pages:
|
|
|
|
|
<a href=/diary/{{max_pages}}>
|
|
|
|
|
<img src="/static/img/dia/nav_r.png" alt=">">
|
|
|
|
|
>
|
|
|
|
|
</a>
|
|
|
|
|
% # > point to next page otherwise
|
|
|
|
|
% else:
|
|
|
|
|
<a href=/diary/{{page + 1}}>
|
|
|
|
|
<img src="/static/img/dia/nav_r.png" alt=">">
|
|
|
|
|
>
|
|
|
|
|
</a>
|
|
|
|
|
% end
|
|
|
|
|
|
|
|
|
|
% # >> is always active link to maximum page
|
|
|
|
|
<a href=/diary/{{max_pages}}>
|
|
|
|
|
<img src="/static/img/dia/nav_rr.png" alt=">>">
|
|
|
|
|
>>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -146,18 +146,18 @@
|
|
|
|
|
<div class="diary-dir-left">
|
|
|
|
|
% # << is always active link pointing to 0
|
|
|
|
|
<a href=/diary/0>
|
|
|
|
|
<img src="/static/img/dia/nav_ll.png" alt="<<">
|
|
|
|
|
<<
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
% # < points to 0 if page 0 or below
|
|
|
|
|
% if page <= 0:
|
|
|
|
|
<a href=/diary/0>
|
|
|
|
|
<img src="/static/img/dia/nav_l.png" alt="<">
|
|
|
|
|
<
|
|
|
|
|
</a>
|
|
|
|
|
% # < points to previous page otherwise
|
|
|
|
|
% else:
|
|
|
|
|
<a href=/diary/{{page - 1}}>
|
|
|
|
|
<img src="/static/img/dia/nav_l.png" alt="<">
|
|
|
|
|
<
|
|
|
|
|
</a>
|
|
|
|
|
% end
|
|
|
|
|
</div>
|
|
|
|
@ -202,17 +202,17 @@
|
|
|
|
|
% # > points to max if page is at or above maximum
|
|
|
|
|
% if page >= max_pages:
|
|
|
|
|
<a href=/diary/{{max_pages}}>
|
|
|
|
|
<img src="/static/img/dia/nav_r.png" alt=">">
|
|
|
|
|
>
|
|
|
|
|
</a>
|
|
|
|
|
% # > point to next page otherwise
|
|
|
|
|
% else:
|
|
|
|
|
<a href=/diary/{{page + 1}}>
|
|
|
|
|
<img src="/static/img/dia/nav_r.png" alt=">">
|
|
|
|
|
>
|
|
|
|
|
</a>
|
|
|
|
|
% end
|
|
|
|
|
% # >> is always active link to maximum page
|
|
|
|
|
<a href=/diary/{{max_pages}}>
|
|
|
|
|
<img src="/static/img/dia/nav_rr.png" alt=">>">
|
|
|
|
|
>>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|