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