summaryrefslogtreecommitdiff
path: root/desk/web/components/common.hoon
blob: 553103afb93855e075c6c1fc9d11311ca3b2308f (plain)
1
2
3
4
5
6
7
8
9
10
11
/+  sr=sortug
|%
++  cursor
|=  [cursor=(unit @da) label=tape name=@t tag=?]  ^-  manx
?~  cursor  ;div;
=/  type  ?:  tag  "t"  "b"
=/  path  "/page/{type}/{(trip name)}/{(scow:parsing:sr %uw u.cursor)}"
;div.cursor(kaji "iscroll", path path, cont "#post-list", where "bottom")
  ;button:"{label} posts"
==
--