shrub/ren/collections/index.hoon

101 lines
3.2 KiB
Plaintext
Raw Normal View History

2018-02-05 07:43:43 +03:00
/- collections
/+ rekey, old-zuse, colls
2018-02-05 07:43:43 +03:00
/= gas /$ fuel:html
2018-03-10 04:28:56 +03:00
/= config /collections-config/
/= tops /^ (map knot topicshow:collections)
/_ /. /collections-topic-full/
/= sni /& collections-snip
/& elem
/& md
:: this needs to be put into a mar
/; |= a/topic:collections
(of-wain:format wat.a)
/collections-topic/
==
2018-03-29 01:36:47 +03:00
~& [%tops tops]
2018-02-05 07:43:43 +03:00
^- manx
=, old-zuse
;div.collection-index
;h1: {(trip desc.config)}
;* ?: (authed:colls gas)
2018-02-05 07:43:43 +03:00
;=
2018-02-05 23:49:52 +03:00
;div.row
;a(href "/~~/pages/nutalk/collection/post?coll={(trip -.s.bem.gas)}")
2018-02-05 23:49:52 +03:00
;button.btn.btn-secondary
; Write →
2018-02-05 23:49:52 +03:00
==
2018-02-05 07:43:43 +03:00
==
;a.ml-4.mt-2.text-600(href "")
; Settings →
==
2018-02-05 07:43:43 +03:00
==
==
;=
;div(urb-component "Subscribe", urb-circle "{(scow %p p.bem.gas)}/collection_~{(trip -:s.bem.gas)}");
2018-02-05 07:43:43 +03:00
==
;ul
;* %+ turn
%+ sort
2018-03-10 04:28:56 +03:00
~(tap by tops)
|= [a=(pair knot topicshow:collections) b=(pair knot topicshow:collections)]
(dor:colls p.a p.b)
2018-03-10 04:28:56 +03:00
|= [t=knot topi=topicshow:collections]
;* ?: comm.config
;* ?: xeno.config
2018-02-15 23:46:03 +03:00
;li.forum.mb-8
;div.text-mono
2018-02-15 23:46:03 +03:00
; {(trip t)}
==
;div.h3.mt-0
2018-05-16 03:11:24 +03:00
;a(href "{(trip -.s.bem.gas)}/{(trip t)}"): {(trip tit.info.top.topi)}
==
2018-02-15 23:46:03 +03:00
;div.who.text-mono.text-600
2018-03-10 04:28:56 +03:00
; {(trip (scot %p who.info.top.topi))}
==
2018-02-15 23:46:03 +03:00
;div.meta-cont
;div.da.text-mono(urb-component "Elapsed", urb-timestring "{(esoo:colls mod.info.top.topi)}");
2018-02-15 23:46:03 +03:00
;div.com-count.ml-12
2018-03-10 04:28:56 +03:00
; {(trip (scot %ud (lent ~(tap by coms.top.topi))))} comments
2018-02-15 23:46:03 +03:00
==
==
==
2018-02-15 23:46:03 +03:00
;li.blog.mb-8
;div.text-mono
2018-02-15 23:46:03 +03:00
; {(trip t)}
==
;div.h2.mt-0
2018-05-16 03:11:24 +03:00
;a(href "{(trip -.s.bem.gas)}/{(trip t)}")
2018-03-29 01:36:47 +03:00
{(trip tit.info.top.topi)}
2018-03-03 01:36:32 +03:00
==
==
2018-03-29 01:36:47 +03:00
;* ?: =(tit.info.top.topi '')
2018-03-03 01:36:32 +03:00
;=
;div.snippet
2018-05-16 03:11:24 +03:00
;a(href "{(trip -.s.bem.gas)}/{(trip t)}")
2018-03-10 04:28:56 +03:00
*{tal.snip.topi}
2018-03-03 01:36:32 +03:00
==
==
==
;=
;div.snippet
2018-03-10 04:28:56 +03:00
*{tal.snip.topi}
2018-03-03 01:36:32 +03:00
==
==
==
;li.notes.mb-8
;div.da.text-mono(urb-component "Elapsed", urb-timestring "{(esoo:colls mod.info.top.topi)}");
;div.h3.mt-0.text-mono.note-uuid
2018-05-16 03:11:24 +03:00
;a(href "{(trip -.s.bem.gas)}/{(trip t)}"): {(trip t)}
==
;div.snippet
2018-03-06 03:07:36 +03:00
;div.h3
2018-03-10 04:28:56 +03:00
; *{hed.snip.topi}
2018-03-06 03:07:36 +03:00
==
;div
2018-03-10 04:28:56 +03:00
; *{tal.snip.topi}
2018-03-06 03:07:36 +03:00
==
==
==
2018-02-05 07:43:43 +03:00
==
==