espial/templates/notes.hamlet
Jon Schoning 2e3e7097e6 init
2019-01-30 20:54:47 -06:00

28 lines
1 KiB
Plaintext

<main #main_column .pv2.ph3.mh1>
<div .w-100.mw8.center>
<div .fr.nt1 style="margin-bottom:.7rem">
^{search}
<span .db .mb3>#{T.append "" (maybe "You have" (const "Found") mquery)} #{bcount} notes:
^{pager}
<div .cf>
<div ##{renderEl} .mt3>
<div .cf>
<div .user_footer hidden>
^{pager}
$if (fromIntegral bcount >= limit) || (page > 1)
$maybe route <- mroute
<div .dib.ml5>
<span .silver.mr1>per page:
<a .link.light-silver :limit == 20:.nav-active href="@?{(route, [("count", "20")])}"‧>20</a> ‧
<a .link.light-silver :limit == 40:.nav-active href="@?{(route, [("count", "40")])}"‧>40</a> ‧
<a .link.light-silver :limit == 80:.nav-active href="@?{(route, [("count", "80")])}"‧>80</a> ‧
<a .link.light-silver :limit == 120:.nav-active href="@?{(route, [("count", "120")])}"‧>120</a> ‧
<a .link.light-silver :limit == 160:.nav-active href="@?{(route, [("count", "160")])}"‧>160</a>