mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 23:26:38 +02:00
Remove unused template code from elements.
This commit is contained in:
parent
68fe5eff36
commit
13c20acaa6
1 changed files with 29 additions and 136 deletions
|
@ -165,7 +165,7 @@
|
||||||
|
|
||||||
(defn- new-element-lightbox-render
|
(defn- new-element-lightbox-render
|
||||||
[own]
|
[own]
|
||||||
(html
|
#_(html
|
||||||
;;------Element lightbox
|
;;------Element lightbox
|
||||||
|
|
||||||
;;[:div.lightbox-body
|
;;[:div.lightbox-body
|
||||||
|
@ -200,113 +200,6 @@
|
||||||
|
|
||||||
;;------Upload image library lightbox
|
;;------Upload image library lightbox
|
||||||
|
|
||||||
[:div.lightbox-body.big-lightbox
|
|
||||||
[:h3 "Import image from library"]
|
|
||||||
[:div.import-img-library
|
|
||||||
[:div.library-actions
|
|
||||||
[:ul.toggle-library
|
|
||||||
[:li.standard.current "STANDARD"]
|
|
||||||
[:li.your-images "YOUR IMAGES"]]
|
|
||||||
[:select.input-select
|
|
||||||
[:option "Library 1"]
|
|
||||||
[:option "Library 2"]
|
|
||||||
[:option "Library 3"]
|
|
||||||
[:option "Library 4"]
|
|
||||||
[:option "Library 5"]
|
|
||||||
[:option "Library 6"]]]
|
|
||||||
|
|
||||||
[:div.library-content
|
|
||||||
|
|
||||||
[:div.library-item
|
|
||||||
[:div.library-item-th
|
|
||||||
{:style
|
|
||||||
{:background-image "url('https://images.unsplash.com/photo-1441986380878-c4248f5b8b5b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=486f09671860a11e70bdd0a45e7c5014')"}}]
|
|
||||||
[:span "image_name.jpg"]]
|
|
||||||
|
|
||||||
[:div.library-item
|
|
||||||
[:div.library-item-th
|
|
||||||
{:style
|
|
||||||
{:background-image "url('https://images.unsplash.com/photo-1441986380878-c4248f5b8b5b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=486f09671860a11e70bdd0a45e7c5014')"}}]
|
|
||||||
[:span "image_name.jpg"]]
|
|
||||||
|
|
||||||
[:div.library-item
|
|
||||||
[:div.library-item-th
|
|
||||||
{:style
|
|
||||||
{:background-image "url('https://images.unsplash.com/photo-1441986380878-c4248f5b8b5b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=486f09671860a11e70bdd0a45e7c5014')"}}]
|
|
||||||
[:span "image_name.jpg"]]
|
|
||||||
|
|
||||||
[:div.library-item
|
|
||||||
[:div.library-item-th
|
|
||||||
{:style
|
|
||||||
{:background-image "url('https://images.unsplash.com/photo-1441986380878-c4248f5b8b5b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=486f09671860a11e70bdd0a45e7c5014')"}}]
|
|
||||||
[:span "image_name.jpg"]]
|
|
||||||
|
|
||||||
[:div.library-item
|
|
||||||
[:div.library-item-th
|
|
||||||
{:style
|
|
||||||
{:background-image "url('https://images.unsplash.com/photo-1441986380878-c4248f5b8b5b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=486f09671860a11e70bdd0a45e7c5014')"}}]
|
|
||||||
[:span "image_name.jpg"]]
|
|
||||||
|
|
||||||
[:div.library-item
|
|
||||||
[:div.library-item-th
|
|
||||||
{:style
|
|
||||||
{:background-image "url('https://images.unsplash.com/photo-1441986380878-c4248f5b8b5b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=486f09671860a11e70bdd0a45e7c5014')"}}]
|
|
||||||
[:span "image_name.jpg"]]
|
|
||||||
|
|
||||||
[:div.library-item
|
|
||||||
[:div.library-item-th
|
|
||||||
{:style
|
|
||||||
{:background-image "url('https://images.unsplash.com/photo-1441986380878-c4248f5b8b5b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=486f09671860a11e70bdd0a45e7c5014')"}}]
|
|
||||||
[:span "image_name.jpg"]]
|
|
||||||
|
|
||||||
[:div.library-item
|
|
||||||
[:div.library-item-th
|
|
||||||
{:style
|
|
||||||
{:background-image "url('https://images.unsplash.com/photo-1441986380878-c4248f5b8b5b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=486f09671860a11e70bdd0a45e7c5014')"}}]
|
|
||||||
[:span "image_name.jpg"]]
|
|
||||||
|
|
||||||
[:div.library-item
|
|
||||||
[:div.library-item-th
|
|
||||||
{:style
|
|
||||||
{:background-image "url('https://images.unsplash.com/photo-1441986380878-c4248f5b8b5b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=486f09671860a11e70bdd0a45e7c5014')"}}]
|
|
||||||
[:span "image_name.jpg"]]
|
|
||||||
|
|
||||||
[:div.library-item
|
|
||||||
[:div.library-item-th
|
|
||||||
{:style
|
|
||||||
{:background-image "url('https://images.unsplash.com/photo-1441986380878-c4248f5b8b5b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=486f09671860a11e70bdd0a45e7c5014')"}}]
|
|
||||||
[:span "image_name.jpg"]]
|
|
||||||
|
|
||||||
[:div.library-item
|
|
||||||
[:div.library-item-th
|
|
||||||
{:style
|
|
||||||
{:background-image "url('https://images.unsplash.com/photo-1441986380878-c4248f5b8b5b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=486f09671860a11e70bdd0a45e7c5014')"}}]
|
|
||||||
[:span "image_name.jpg"]]
|
|
||||||
|
|
||||||
[:div.library-item
|
|
||||||
[:div.library-item-th
|
|
||||||
{:style
|
|
||||||
{:background-image "url('https://images.unsplash.com/photo-1441986380878-c4248f5b8b5b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=486f09671860a11e70bdd0a45e7c5014')"}}]
|
|
||||||
[:span "image_name.jpg"]]
|
|
||||||
|
|
||||||
[:div.library-item
|
|
||||||
[:div.library-item-th
|
|
||||||
{:style
|
|
||||||
{:background-image "url('https://images.unsplash.com/photo-1441986380878-c4248f5b8b5b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=486f09671860a11e70bdd0a45e7c5014')"}}]
|
|
||||||
[:span "image_name.jpg"]]
|
|
||||||
|
|
||||||
[:div.library-item
|
|
||||||
[:div.library-item-th
|
|
||||||
{:style
|
|
||||||
{:background-image "url('https://images.unsplash.com/photo-1441986380878-c4248f5b8b5b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=486f09671860a11e70bdd0a45e7c5014')"}}]
|
|
||||||
[:span "image_name.jpg"]]
|
|
||||||
|
|
||||||
]]
|
|
||||||
[:a.close {:href "#"
|
|
||||||
:on-click #(do (dom/prevent-default %)
|
|
||||||
(udl/close!))}
|
|
||||||
i/close]]
|
|
||||||
|
|
||||||
))
|
))
|
||||||
|
|
||||||
(def ^:private new-element-lightbox
|
(def ^:private new-element-lightbox
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue