UI: Improve multi OS display #205
@ -5,9 +5,21 @@
|
||||
<div class="dl-col">
|
||||
<dt>{% trans "Supported Platforms" %}</dt>
|
||||
<dd>
|
||||
<ul class="mb-0 ps-3">
|
||||
<ul class="list-style-none mb-0 ps-0">
|
||||
{% for p in version.platforms.all %}
|
||||
<li>{{p.name}}</li>
|
||||
{% with name=p.name %}
|
||||
{% if name == "linux-x64" %}
|
||||
<li><i class="i-linux"></i> Linux</li>
|
||||
{% elif name == "macos-arm64" %}
|
||||
<li><i class="i-macos"></i> macOS <span class="text-muted">Apple Silicon</span></li>
|
||||
{% elif name == "macos-x64" %}
|
||||
<li><i class="i-macos"></i> macOS <span class="text-muted">Intel</span></li>
|
||||
{% elif name == "windows-arm64" %}
|
||||
<li><i class="i-windows"></i> Windows <span class="text-muted">ARM</span></li>
|
||||
{% elif name == "windows-x64" %}
|
||||
<li><i class="i-windows"></i> Windows</li>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</dd>
|
||||
|
Loading…
Reference in New Issue
Block a user