UI: Improve multi OS display #205
@ -327,7 +327,8 @@
|
|||||||
<ul class="dropdown-menu js-dropdown-menu w-100" id="js-dropdown-all-versions">
|
<ul class="dropdown-menu js-dropdown-menu w-100" id="js-dropdown-all-versions">
|
||||||
{% for download_item in download_list %}
|
{% for download_item in download_list %}
|
||||||
<li>
|
<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 %}
|
{% with platform=download_item.platform %}
|
||||||
{% if platform == "linux-x64" %}
|
{% if platform == "linux-x64" %}
|
||||||
<i class="i-linux"></i> Linux
|
<i class="i-linux"></i> Linux
|
||||||
@ -341,6 +342,8 @@
|
|||||||
<i class="i-windows"></i> Windows
|
<i class="i-windows"></i> Windows
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
</span>
|
||||||
|
<span class="text-muted">{{ download_item.size|filesizeformat }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user