UI: Improve multi OS display #205

Merged
Oleg-Komarov merged 40 commits from ui/multi-os into main 2024-07-16 07:24:07 +02:00
Showing only changes of commit 2ffc3ad6dd - Show all commits

View File

@ -327,7 +327,8 @@
<ul class="dropdown-menu js-dropdown-menu w-100" id="js-dropdown-all-versions">
{% for download_item in download_list %}
<li>
<a class="dropdown-item" download="{{ download_item.name }}" href="{{ request.scheme }}://{{ request.get_host }}{{ download_item.url }}">
<a class="d-flex dropdown-item justify-content-between" download="{{ download_item.name }}" href="{{ request.scheme }}://{{ request.get_host }}{{ download_item.url }}">
<span>
{% with platform=download_item.platform %}
{% if platform == "linux-x64" %}
<i class="i-linux"></i> Linux
@ -341,6 +342,8 @@
<i class="i-windows"></i> Windows
{% endif %}
{% endwith %}
</span>
<span class="text-muted">{{ download_item.size|filesizeformat }}</span>
</a>
</li>
{% endfor %}