Add download icon

This commit is contained in:
Dennis Reimann 2024-10-28 08:25:30 +01:00
parent 41a2241ae1
commit 0ac6553840
No known key found for this signature in database
GPG key ID: 5009E1797F03F8D0
2 changed files with 2 additions and 4 deletions

View file

@ -14,10 +14,7 @@
<li>
<a asp-action="LogsView" asp-route-file="@file.Name" asp-route-offset="@Model.LogFileOffset">@file.Name</a>
<a asp-action="LogsView" asp-route-file="@file.Name" asp-route-offset="@Model.LogFileOffset" asp-route-download="true" class="mx-2">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-download" viewBox="0 0 16 16">
<path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5"/>
<path d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708z"/>
</svg>
<vc:icon symbol="actions-download" />
</a>
</li>
}

View file

@ -4,6 +4,7 @@
<symbol id="actions-archive" viewBox="0 0 24 24" fill="none"><path d="M4.61536 7.38461C4.84258 7.38461 14.5562 7.38461 19.3846 7.38461" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/><path d="M20 18.5V7.787C20 7.32766 19.8419 6.88232 19.5522 6.52582L17.9502 4.55411C17.6654 4.20355 17.2377 4 16.786 4H7.21396C6.76226 4 6.33462 4.20355 6.04978 4.55411L4.44777 6.52582C4.15811 6.88232 4 7.32766 4 7.787V18.5C4 19.3284 4.67157 20 5.5 20H18.5C19.3284 20 20 19.3284 20 18.5Z" stroke="currentColor" stroke-width="1.5"/><path d="M12 11V16M12 16L9.53845 13.5385M12 16L14.7692 13.5385" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/></symbol>
<symbol id="actions-comment" viewBox="0 0 24 24" fill="none"><path d="M20 15.625V5.875C20 5.04657 19.3284 4.375 18.5 4.375H12H5.5C4.67157 4.375 4 5.04657 4 5.875V15.625C4 16.4534 4.67157 17.125 5.5 17.125H9.5L12 19.625L14.5 17.125H18.5C19.3284 17.125 20 16.4534 20 15.625Z" stroke="currentColor" stroke-width="1.5"/><path d="M8.5 8.875H15.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/><path d="M8.5 12.625H15.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/></symbol>
<symbol id="actions-copy" viewBox="0 0 16 16" fill="none"><path d="M13.3333 6H7.33333C6.59695 6 6 6.59695 6 7.33333V13.3333C6 14.0697 6.59695 14.6667 7.33333 14.6667H13.3333C14.0697 14.6667 14.6667 14.0697 14.6667 13.3333V7.33333C14.6667 6.59695 14.0697 6 13.3333 6Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.33203 10.0007H2.66536C2.31174 10.0007 1.9726 9.86018 1.72256 9.61013C1.47251 9.36008 1.33203 9.02094 1.33203 8.66732V2.66732C1.33203 2.3137 1.47251 1.97456 1.72256 1.72451C1.9726 1.47446 2.31174 1.33398 2.66536 1.33398H8.66536C9.01899 1.33398 9.35813 1.47446 9.60817 1.72451C9.85822 1.97456 9.9987 2.3137 9.9987 2.66732V3.33398" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></symbol>
<symbol id="actions-download" viewBox="0 0 24 24" fill="none"><path d="M6 13.1132L12.3868 19.5L18.7735 13.1132" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M12.39 5.5V19.3632" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></symbol>
<symbol id="actions-drag" viewBox="0 0 24 24" fill="none"><rect x="8.5" y="4" width="2.5" height="2.5" fill="currentColor"/><rect x="13" y="4" width="2.5" height="2.5" fill="currentColor"/><rect x="8.5" y="8.5" width="2.5" height="2.5" fill="currentColor"/><rect x="13" y="8.5" width="2.5" height="2.5" fill="currentColor"/><rect x="8.5" y="13" width="2.5" height="2.5" fill="currentColor"/><rect x="13" y="13" width="2.5" height="2.5" fill="currentColor"/><rect x="8.5" y="17.5" width="2.5" height="2.5" fill="currentColor"/><rect x="13" y="17.5" width="2.5" height="2.5" fill="currentColor"/></symbol>
<symbol id="actions-email" viewBox="0 0 24 24" fill="none"><rect x="4" y="5.5" width="16" height="13" rx="2" stroke="currentColor" stroke-width="1.5"/><path d="M4 9L12 13L20 9" stroke="currentColor" stroke-width="1.5"/></symbol>
<symbol id="actions-hide" viewBox="0 0 24 24" fill="none"><path d="M4.14258 6.31C4.25933 6.14908 4.43519 6.0411 4.63152 6.00978C4.82784 5.97847 5.02857 6.02638 5.18958 6.143L19.6896 16.643C19.7724 16.6995 19.8431 16.7721 19.8973 16.8564C19.9516 16.9407 19.9885 17.0351 20.0057 17.1339C20.0229 17.2326 20.0201 17.3339 19.9975 17.4316C19.9748 17.5293 19.9329 17.6214 19.874 17.7026C19.8152 17.7838 19.7406 17.8524 19.6548 17.9043C19.569 17.9562 19.4737 17.9903 19.3744 18.0047C19.2752 18.0191 19.1741 18.0134 19.077 17.9881C18.98 17.9627 18.8891 17.9181 18.8096 17.857L16.5616 16.229C15.3456 17.19 13.7916 18 11.9996 18C10.0186 18 8.32958 17.008 7.06658 15.922C5.79658 14.832 4.87958 13.577 4.42958 12.9C4.2521 12.634 4.15738 12.3213 4.15738 12.0015C4.15738 11.6817 4.2521 11.369 4.42958 11.103C4.78258 10.57 5.42458 9.683 6.29758 8.798L4.30958 7.357C4.14866 7.24025 4.04068 7.06439 4.00937 6.86807C3.97805 6.67174 4.02597 6.47101 4.14258 6.31ZM5.67858 11.932C5.66451 11.9519 5.65684 11.9756 5.65658 12C5.65658 12.021 5.66258 12.045 5.67858 12.068C6.09058 12.689 6.92058 13.818 8.04458 14.785C9.17458 15.758 10.5266 16.5 11.9996 16.5C13.1946 16.5 14.3096 16.012 15.2896 15.309L13.0626 13.695C12.7249 13.9071 12.3316 14.0134 11.9331 14.0003C11.5346 13.9872 11.1491 13.8553 10.8261 13.6215C10.5031 13.3878 10.2574 13.0628 10.1205 12.6883C9.98351 12.3138 9.96162 11.907 10.0576 11.52L7.52858 9.688C6.83678 10.3707 6.21686 11.1227 5.67858 11.932ZM11.9996 7.5C11.4836 7.5 10.9826 7.59 10.5006 7.751C10.4065 7.78486 10.3065 7.79955 10.2066 7.79421C10.1067 7.78886 10.0089 7.76358 9.91894 7.71987C9.82896 7.67615 9.74864 7.61488 9.6827 7.53965C9.61677 7.46443 9.56654 7.37677 9.53499 7.28185C9.50344 7.18692 9.49119 7.08664 9.49898 6.98691C9.50676 6.88718 9.53442 6.79002 9.58032 6.70114C9.62622 6.61226 9.68943 6.53346 9.76625 6.46938C9.84306 6.40529 9.93191 6.35723 10.0276 6.328C10.6629 6.11284 11.3288 6.00207 11.9996 6C13.9806 6 15.6696 6.992 16.9326 8.078C18.2026 9.169 19.1196 10.423 19.5696 11.101C19.7472 11.3672 19.8419 11.68 19.8419 12C19.8419 12.32 19.7472 12.6328 19.5696 12.899C19.4596 13.065 19.3216 13.264 19.1596 13.486C19.1013 13.5654 19.028 13.6327 18.9438 13.6838C18.8596 13.7349 18.7661 13.7689 18.6688 13.7839C18.5714 13.7989 18.4721 13.7946 18.3764 13.7712C18.2807 13.7478 18.1905 13.7057 18.1111 13.6475C18.0316 13.5893 17.9644 13.5159 17.9133 13.4317C17.8622 13.3475 17.8282 13.2541 17.8132 13.1567C17.7982 13.0593 17.8025 12.96 17.8259 12.8643C17.8493 12.7686 17.8913 12.6784 17.9496 12.599C18.0976 12.398 18.2216 12.217 18.3206 12.069C18.3347 12.0489 18.3423 12.025 18.3423 12.0005C18.3423 11.976 18.3347 11.9521 18.3206 11.932C17.9086 11.311 17.0786 10.182 15.9546 9.215C14.8246 8.242 13.4726 7.5 11.9996 7.5Z" fill="currentColor"/></symbol>

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 99 KiB