UI: Improve multi OS display #205
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user