mirror of
https://github.com/urbit/shrub.git
synced 2024-12-14 20:02:51 +03:00
64 lines
2.0 KiB
Plaintext
64 lines
2.0 KiB
Plaintext
/+ collections, colls
|
|
/= gas /$ fuel:html
|
|
::/= all-colls /: /===/web/collections
|
|
:: /collection-web-item/
|
|
|%
|
|
:: is this collection on the profile?
|
|
++ is-pro
|
|
|= col=collection:collections
|
|
visible.meta.col
|
|
--
|
|
^- manx
|
|
;div.profile-page
|
|
;input(type "hidden", name "urb-header", value "profile", ship "{(scow %p p.bem.gas)}");
|
|
;div.container
|
|
;div.row
|
|
;div.col-sm-offset-2.col-sm-10
|
|
;div.profile-avatar
|
|
;div(urb-component "AvatarLg", urb-ship "{(scow %p p.bem.gas)}");
|
|
;div.profile-shipname: {(scow %p p.bem.gas)}
|
|
;div(urb-component "ProfileMsgBtn", urb-ship "{(scow %p p.bem.gas)}");
|
|
==
|
|
==
|
|
==
|
|
;div.row
|
|
;div.col-sm-offset-2.col-sm-10
|
|
::;div.text-700.mt-8: Blogs, Forum and Notes
|
|
::;ul.vanilla
|
|
:: ;div;
|
|
:: ;* %+ turn
|
|
:: %+ sort
|
|
:: %+ skim
|
|
:: ~(tap by all-colls)
|
|
:: is-pro
|
|
:: |= [a=(pair knot *) b=(pair knot *)]
|
|
:: (gth (unt:chrono:userlib (slav %da p.a)) (unt:chrono:userlib (slav %da p.b)))
|
|
:: |= [t=knot col=collection:collections]
|
|
:: ;div.mt-2.text-500
|
|
:: ;a(href "/~~/{(scow %p p.bem.gas)}/==/web/collections/{(trip t)}")
|
|
:: ; {(trip desc.conf.col)}
|
|
:: ==
|
|
:: ==
|
|
::==
|
|
::;div.text-700.mt-8: Chats
|
|
;div(urb-component "ChatList", urb-hostship "{(scow %p p.bem.gas)}");
|
|
;div.text-700.mt-8: Meta
|
|
;div.mt-2.text-500.row
|
|
;span.col-sm-2: Started:
|
|
;span.col-sm-10.text-mono: ~2018.4.12..6.45.12
|
|
==
|
|
;div.mt-2.text-500.row
|
|
;span.col-sm-2: Issued:
|
|
;span.col-sm-10.text-mono
|
|
;a(href "/~~/{(scow %p (sein:title p.bem.gas))}/==/web/landscape/profile"): {(scow %p (sein:title p.bem.gas))}
|
|
==
|
|
==
|
|
;div.mt-2.text-500.row
|
|
;span.col-sm-2: Events:
|
|
;span.col-sm-10.text-mono: 852.129.320
|
|
==
|
|
==
|
|
==
|
|
==
|
|
==
|