mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 10:02:32 +03:00
- Add columns back into collections/elem.hoon (sorry Isaac)
- Landscape Commit d820e9f9c38f102877bbcdf5ceb7db1d5e89301b
This commit is contained in:
parent
376fcb7c54
commit
0865d446b2
@ -7,7 +7,7 @@
|
||||
/= itm /% /collections-web-item/
|
||||
::
|
||||
::
|
||||
/= collection-post
|
||||
/= collection-post
|
||||
:: /^ $-(raw-item:collections manx)
|
||||
/: /===/web/landscape/collections/post /% /!noun/
|
||||
::/= collection-details
|
||||
@ -22,37 +22,43 @@
|
||||
^- manx
|
||||
=/ sho (fall (~(get by qix.gas) %show) %default)
|
||||
;div.container
|
||||
;+ (meta-to-elem itm sho)
|
||||
;+
|
||||
?- -.itm
|
||||
::
|
||||
%collection
|
||||
?+ sho !!
|
||||
%default (collection-to-elem col.itm)
|
||||
%post (collection-post ~ (flop s.bem.gas))
|
||||
%edit !!
|
||||
;div.row
|
||||
;div.col-sm-10.col-sm-offset-2
|
||||
;div.collection-index.mt-12
|
||||
;+ (meta-to-elem itm sho)
|
||||
;+
|
||||
?- -.itm
|
||||
::
|
||||
%collection
|
||||
?+ sho !!
|
||||
%default (collection-to-elem col.itm)
|
||||
%post (collection-post ~ (flop s.bem.gas))
|
||||
%edit !!
|
||||
==
|
||||
::
|
||||
%raw
|
||||
?+ sho !!
|
||||
%default (raw-to-elem raw.itm)
|
||||
%post !!
|
||||
%edit (collection-post `raw.itm (flop s.bem.gas))
|
||||
==
|
||||
::
|
||||
%both
|
||||
?+ sho !!
|
||||
%default (both-to-elem col.itm raw.itm)
|
||||
%post !!
|
||||
%edit (collection-post `raw.itm (flop s.bem.gas))
|
||||
==
|
||||
::
|
||||
==
|
||||
::
|
||||
%raw
|
||||
?+ sho !!
|
||||
%default (raw-to-elem raw.itm)
|
||||
%post !!
|
||||
%edit (collection-post `raw.itm (flop s.bem.gas))
|
||||
==
|
||||
::
|
||||
%both
|
||||
?+ sho !!
|
||||
%default (both-to-elem col.itm raw.itm)
|
||||
%post !!
|
||||
%edit (collection-post `raw.itm (flop s.bem.gas))
|
||||
==
|
||||
::
|
||||
==
|
||||
==
|
||||
==
|
||||
==
|
||||
==
|
||||
++ collection-to-elem
|
||||
|= col=collection:collections
|
||||
^- manx
|
||||
;ul
|
||||
;ul.vanilla
|
||||
;* %+ turn ~(tap by data.col)
|
||||
|= [nom=knot ite=item:collections]
|
||||
^- manx
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user