gdritter repos frony-ritter-designs / master templates / photo_list.mustache
master

Tree @master (Download .tar.gz)

photo_list.mustache @masterraw · history · blame

<ul class="all-designs">
  {{#photos}}
    {{{photo}}}
  {{/photos}}
  <li class="break"></li>
</ul>
{{#page}}
<div class="lrnav"><ul>
  <a href="/edit/view-photo/?page=1"><li class="navitem">Newest</li></a>
  {{#show_left}}
    <a href="/edit/view-photo/?page={{prev_page}}"><li class="navitem">Newer</li></a>
  {{/show_left}}
  {{^show_left}}
    <li class="navitem greyed">Newer</li>
  {{/show_left}}

  {{#show_right}}
    <a href="/edit/view-photo/?page={{next_page}}"><li class="navitem">Older</li></a>
  {{/show_right}}
  {{^show_right}}
    <li class="navitem greyed">Older</li>
  {{/show_right}}
  <a href="/edit/view-photo/?page={{last_page}}"><li class="navitem">Oldest</li></a>
  <li class="break"></li>
</ul></div>
{{/page}}