0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-20 19:51:23 -05:00

change download text dialog

This commit is contained in:
Juan de la Cruz 2017-02-27 09:21:45 +01:00
parent 042a44cba6
commit 9cd12a7609
2 changed files with 11 additions and 8 deletions

View file

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500">
<path d="M221.8 2l-.6 247-35.2-33.5-35.3-34-20 18.7-18.5 20 138.3 137.6 137.3-136.2-17.4-21.2-20-18.8-35.3 34-35 33.4-.7-247h-57.5zM0 360v139.3l.8.7h498.4l.8-.7V360h-45v95H45v-95H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 257 B

View file

@ -115,26 +115,26 @@
(download-html [event]
(dom/prevent-default event))]
[:div.lightbox-body.export-dialog
[:h3 "Export options"]
[:h3 "Download options"]
[:div.row-flex
[:div.content-col
[:span.icon i/file-svg]
[:span.title "Export page"]
[:span.title "Download page"]
[:p.info "Download a single page of your project in SVG."]
[:select.input-select {:ref "page" :default-value (pr-str current)}
(for [{:keys [id name]} pages]
[:option {:value (pr-str id)} name])]
[:a.btn-primary {:href "#" :on-click download-page} "Export page"]]
[:a.btn-primary {:href "#" :on-click download-page} "Download page"]]
[:div.content-col
[:span.icon i/folder-zip]
[:span.title "Export project"]
[:p.info "Download the whole project as a ZIP file."]
[:a.btn-primary {:href "#" :on-click download-zip} "Expor project"]]
[:span.title "Download project"]
[:p.info "Download all pages as svg in a zip file."]
[:a.btn-primary {:href "#" :on-click download-zip} "Download project"]]
[:div.content-col
[:span.icon i/file-html]
[:span.title "Export as HTML"]
[:span.title "Download as HTML"]
[:p.info "Download your project as HTML files."]
[:a.btn-primary {:href "#" :on-click download-html} "Export HTML"]]]
[:a.btn-primary {:href "#" :on-click download-html} "Download HTML"]]]
[:a.close {:href "#" :on-click on-close} i/close]])))
(defmethod lbx/render-lightbox :download