From 042a44cba6878bba3260dcc3299cd5f552b02c85 Mon Sep 17 00:00:00 2001 From: Juan de la Cruz Date: Mon, 27 Feb 2017 09:05:57 +0100 Subject: [PATCH] add download icon --- frontend/src/uxbox/builtins/icons.cljs | 11 +++++++++++ frontend/src/uxbox/main/ui/workspace/header.cljs | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/frontend/src/uxbox/builtins/icons.cljs b/frontend/src/uxbox/builtins/icons.cljs index 7adf85bda..7f0c799b7 100644 --- a/frontend/src/uxbox/builtins/icons.cljs +++ b/frontend/src/uxbox/builtins/icons.cljs @@ -250,6 +250,17 @@ {:d "m0.32786945 583.28935c-0.01731 154.86312-1.1434756 309.76991 0.1890122 464.60575 3.42297305 5.8801 11.42262935 2.9412 17.02479935 3.8041 159.804239 1.5123 319.635879-0.087 479.429489 0.2734 4.84753 2.1011 2.63124-5.0869 2.80172-7.4325 0.21954-81.86894 0.0323-163.76968 0.0945-245.65085-15.8534 0-31.7068 0-47.56019 0-0.42763 68.0503-0.8574 136.10057-1.28371 204.15085-133.94401 0-267.88802 0-401.832032 0 0-133.94398 0-267.88799 0-401.832 68.050962-0.42631 136.101892-0.85608 204.152852-1.28371 0-15.85405 0-31.70811 0-47.56216-84.33817 0-168.676315 0-253.01447205 0-0.0006564 10.30904-0.00131 20.61807-0.00197 30.92712zM329.02203 599.92045c28.84878 0.29635 57.7037 0.19717 86.54593 0.97065-41.14083 44.14516-85.49473 85.25729-126.57123 129.40444-0.3673 8.15453 8.63834 11.84867 12.75328 17.84073 5.42547 5.6539 10.90188 11.42678 17.55758 15.65184 9.59809-3.53351 14.43162-13.47296 22.4493-19.30482 36.68366-35.78205 72.17295-72.78596 109.58753-107.81769 0.76612 28.84173 0.67091 57.69584 0.96869 86.54396 15.85143 0 31.70286 0 47.55428 0 0-56.94845 0-113.89691 0-170.84536-56.94845 0-113.89691 0-170.84536 0 0 15.85208 0 31.70416 0 47.55625z"}]]])) +(def download + (html + [:svg#svg4946 + {:viewBox "0 0 500 500.00001" + :height "500" + :width "500"} + [:g + [: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"}]]])) + (def exit (html [:svg#svg4946 diff --git a/frontend/src/uxbox/main/ui/workspace/header.cljs b/frontend/src/uxbox/main/ui/workspace/header.cljs index efe40dfee..2f657e6ef 100644 --- a/frontend/src/uxbox/main/ui/workspace/header.cljs +++ b/frontend/src/uxbox/main/ui/workspace/header.cljs @@ -110,9 +110,9 @@ i/redo]] [:ul.options-btn [:li.tooltip.tooltip-bottom - {:alt "Export (Ctrl + E)" + {:alt "Download (Ctrl + E)" :on-click on-download} - i/export] + i/download] [:li.tooltip.tooltip-bottom {:alt "Image (Ctrl + I)" :on-click on-image}