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 0cd62fd877 - Show all commits

View File

@ -115,7 +115,7 @@
<div class="btn-col"> <div class="btn-col">
{% with download_list=version.get_download_list %} {% with download_list=version.get_download_list %}
{% for download_item in download_list %} {% for download_item in download_list %}
<a href="{{ download_item.url }}" download="{{ download_item.name }}" class="btn btn-primary btn-block text-start"> <a href="{{ download_item.url }}" download="{{ download_item.name }}" class="btn btn-primary btn-block d-flex justify-content-between text-start">
<span> <span>
{% with platform=download_item.platform %} {% with platform=download_item.platform %}
{% if platform.slug == "linux-x64" %} {% if platform.slug == "linux-x64" %}
@ -131,7 +131,9 @@
{% endif %} {% endif %}
{% endwith %} {% endwith %}
v{{ version.version }}</span> v{{ version.version }}
</span>
<span>{{ download_item.size|filesizeformat }}</span>
</a> </a>
{% endfor %} {% endfor %}
{% endwith %} {% endwith %}