Add the ability to render external svgs.

This commit is contained in:
Andrey Antukh 2015-12-26 16:43:26 +02:00
parent 517b3f6db3
commit 75b3aaf2a6
3 changed files with 33 additions and 4 deletions

View file

@ -151,7 +151,7 @@
(for [icon (:icons coll)]
[:div.grid-item.small-item.project-th {:key (str (:id icon))}
[:span.grid-item-image #_i/toggle (shapes/render icon)]
[:h3 "Custom icon"]
[:h3 (:name icon)]
#_[:div.project-th-actions
[:div.project-th-icon.edit i/pencil]
[:div.project-th-icon.delete i/trash]]])]]))))