deleted more unused files, updated json arm of collections mark

This commit is contained in:
Anthony Arroyo 2018-06-19 14:17:14 -07:00
parent 66f7e84429
commit ac2b6961da
5 changed files with 0 additions and 169 deletions

View File

@ -53,16 +53,7 @@
:~ :- %config
%- pairs
:~ description+[%s desc.conf.col]
public+[%b publ.conf.col]
visible+[%b visi.conf.col]
comments+[%b comm.conf.col]
xenopost+[%b xeno.conf.col]
:- %except
:- %a
%+ turn
~(tap in mems.conf.col)
|= a/@p
[%s (scot %p a)]
==
:- %topics
:- %a
@ -72,7 +63,6 @@
%- pairs
:~ title+[%s tit.info.f]
who+[%s (scot %p who.info.f)]
::what+[%s (of-wain:format wat.info.f)]
id+[%s (scot %da e)]
modified+[%s (scot %da mod.info.f)]
==

View File

@ -1,14 +0,0 @@
/- collections
/+ colls
/= gas /$ fuel:html
/= all-configs /: /===/web/collections
/^ (map knot config:collections) /_ /collections-config/
=/ sorted-configs %+ sort
~(tap by all-configs)
|= [a=(pair knot *) b=(pair knot *)]
(dor:colls p.a p.b)
=/ config -.sorted-configs
^- manx
;div.container
;input(type "hidden", name "urb-header", value "collection-index", title "{(trip desc.q.i.config)}", id "{(trip p.i.config)}", ship "{(scow %p p.bem.gas)}");
==

View File

@ -1,30 +0,0 @@
/- collections
/+ colls
/= gas /$ fuel:html
/= all-configs /: /===/web/collections
/^ (map knot config:collections) /_ /collections-config/
=/ sorted-configs %+ sort
~(tap by all-configs)
|= [a=(pair knot *) b=(pair knot *)]
(dor:colls p.a p.b)
=/ config -.sorted-configs
^- manx
;div.collection-index
;h1: {(trip desc.q.i.config)}
;* ?: (authed:colls gas)
;=
;div.row
;a(href "/~~/pages/nutalk/collection/post?coll=latest")
;button.btn.btn-secondary
; Write →
==
==
;a.ml-4.mt-2.text-600(href "")
; Settings →
==
==
==
;=
;div(data-component "Subscribe", data-circle "latest");
==
==

View File

@ -1,41 +0,0 @@
/- collections
/+ colls
/= gas /$ fuel:html
/= configs /: /===/web/collections
/^ (map knot config:collections) /_ /collections-config/
=/ id %+ fall
%- %~ get
by
qix.gas
==
%coll
''
:: get either the indicated config or the latest
=/ config-pair/(pair knot config:collections)
?: =(id 'latest')
=/ sorted-configs %+ sort
~(tap by configs)
|= [a=(pair knot *) b=(pair knot *)]
(dor:colls p.a p.b)
:: ew
i:-.sorted-configs
:- id
%- need
%- %~ get
by
configs
==
id
~& [%config-pair desc.q.config-pair]
^- manx
;div
;div.topic-info.mb-4
;div.row.coll-title
{(trip desc.q.config-pair)} /
==
;div.row.mod.text-mono
; @now
==
==
;div(urb-component "TopicCreatePage", urb-coll "{(trip p.config-pair)}");
==

View File

@ -1,74 +0,0 @@
/- collections
/+ colls
/= gas /$ fuel:html
/= all-colls /: /===/web/collections
/^ (map knot collection:collections) /_ /collections-collection/
|%
:: is this collection on the profile?
++ is-pro
|= {a/knot coll/collection:collections}
visi.conf.coll
--
^- manx
;div.profile
;h2.text-mono: {(scow %p p.bem.gas)}
;div.row
:: this should go to a url to create a new dm
;a(href "/~~/pages/nutalk/stream/create")
;button.btn.btn-secondary
; Message →
==
==
==
:: where is this supposed to go?
;div.sein.text-700.text-mono
;a(href "")
{(scow %p (sein:title p.bem.gas))}
==
==
;ul
;* %+ 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]
;li.profile.mb-8
;div.h1.mt-0
;a(href "/~~/{(trip t)}")
; {(trip desc.conf.col)}
==
==
;div.coll-meta
;div.row
;div.col-md-3.type.text-700
:: this will change based on perm
;* ?: comm.conf.col
?: xeno.conf.col
; Forum
; Blog
; Notes
==
;div.col-md-1.text-700: Created
;div.col-md-4.created.text-mono.ml-4
; {(trip t)}
==
==
;div.row
;div.col-md-3.post-count
; {(scow %ud (lent ~(tap by tops.col)))} posts
==
;div.col-md-1.text-700: Owner
:: all collections on this ship are owned by me, no?
;div.col-md-4.owner.text-mono.ml-4
;a(href "")
; {(scow %p p.bem.gas)}
==
==
==
==
==
==
==