summaryrefslogtreecommitdiff
path: root/desk/web/components/common.hoon
diff options
context:
space:
mode:
Diffstat (limited to 'desk/web/components/common.hoon')
-rw-r--r--desk/web/components/common.hoon11
1 files changed, 11 insertions, 0 deletions
diff --git a/desk/web/components/common.hoon b/desk/web/components/common.hoon
new file mode 100644
index 0000000..553103a
--- /dev/null
+++ b/desk/web/components/common.hoon
@@ -0,0 +1,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"
+==
+--