web/satellite: Distinguish between file and folder upload buttons

Previously, there was no difference between the "Upload File" and
"Upload Folder" buttons in the Object Browser aside from the text.
This change adds file and folder upload icons to their respective
buttons.

Change-Id: If9766c12420d9a9bc45348c0b9b0bdf6b42b8922
This commit is contained in:
Jeremy Wharton 2021-11-26 18:21:21 -06:00 committed by Maximillian von Briesen
parent cf462fcf92
commit 1007e6300e

View File

@ -58,19 +58,14 @@
@click="buttonFileUpload"
>
<svg
width="16"
width="13"
height="16"
viewBox="0 0 16 16"
fill="none"
viewBox="0 0 13 16"
class="mr-2"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M7.49407 0.453655L7.49129 0.450658L2.40012 5.94819L3.53149 7.16987L7.20001 3.20854L7.20001 11.6808H8.80001V3.39988L12.2913 7.16983L13.4227 5.94815L7.91419 0L7.49407 0.453655Z"
fill="white"
/>
<path
d="M16 14.2723H0V16H16V14.2723Z"
d="m2 0c-1.10799992 0-2 0.89199996-2 2v12c0 1.108 0.89200008 2 1.9999999 2h9.0000011c1.108 0 2-0.892 2-2v-9.0000001h-3c-1.108001 0-2.0000013-0.8919999-2.0000013-1.9999998v-3.0000001zm7 0v3.0000001c0 0.5539999 0.4459999 0.9999999 1.000001 0.9999999h3zm-2.4999997 5.3964843 3.3535156 3.3535155c0.1952141 0.1952542 0.1952141 0.5117779 0 0.7070317-0.195254 0.195212-0.5117775 0.195212-0.7070315 0l-2.1464843-2.1464848v4.7929693c0 0.276144-0.2238577 0.5-0.4999998 0.5-0.2761437 0-0.5286517-0.225348-0.5000002-0.5v-4.7929693l-2.1464841 2.1464848c-0.1952542 0.195212-0.5117779 0.195212-0.7070321 0-0.1952126-0.1952545-0.1952126-0.5117779 0-0.7070317z"
fill="white"
/>
</svg>
@ -98,16 +93,11 @@
width="16"
height="16"
viewBox="0 0 16 16"
fill="none"
class="mr-2"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M7.49407 0.453655L7.49129 0.450658L2.40012 5.94819L3.53149 7.16987L7.20001 3.20854L7.20001 11.6808H8.80001V3.39988L12.2913 7.16983L13.4227 5.94815L7.91419 0L7.49407 0.453655Z"
fill="white"
/>
<path
d="M16 14.2723H0V16H16V14.2723Z"
d="m2 0c-1.1045695 0-2 0.8954305-2 2v12c0 1.104569 0.8954305 2 2 2h12c1.104569 0 2-0.895431 2-2v-10c0-1.1045695-0.895431-2-2-2h-5c-0.5522847 0-1-0.4477153-1-1 0-0.55228475-0.4477153-1-1-1zm6.5 5.3964844 3.353516 3.3535156c0.195212 0.1952535 0.195212 0.5117777 0 0.7070312-0.195254 0.1952123-0.511778 0.1952123-0.707032 0l-2.146484-2.1464843v4.7929691c0 0.276142-0.2238576 0.5-0.5 0.5s-0.5-0.223858-0.5-0.5v-4.7929691l-2.146484 2.1464843c-0.1952536 0.1952123-0.5117784 0.1952123-0.707032 0-0.1952118-0.1952535-0.1952118-0.5117777 0-0.7070312z"
fill="white"
/>
</svg>