euscanwww/templates: add icons
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
parent
a8d38127cc
commit
697fbf06ab
@ -68,6 +68,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{% for version in packaged %}
|
{% for version in packaged %}
|
||||||
<li id="{{ version.version }}-{{version.revision }}:{{ version.slot }}-[{{ version.overlay }}]">
|
<li id="{{ version.version }}-{{version.revision }}:{{ version.slot }}-[{{ version.overlay }}]">
|
||||||
|
{% if version.overlay == "gentoo" %}
|
||||||
|
<img src="{{ MEDIA_URL }}img/gentoo-icon.png" alt="gentoo" title="In Gentoo" />
|
||||||
|
{% else %}
|
||||||
|
<img src="{{ MEDIA_URL }}img/overlay-icon.png" alt="overlays" title="In Overlays" />
|
||||||
|
{% endif %}
|
||||||
{{ version.version }}-{{ version.revision }} :{{ version.slot }} [{{ version.overlay }}]
|
{{ version.version }}-{{ version.revision }} :{{ version.slot }} [{{ version.overlay }}]
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@ -80,6 +85,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{% for version in upstream %}
|
{% for version in upstream %}
|
||||||
<li>
|
<li>
|
||||||
|
<img src="{{ MEDIA_URL }}img/upstream-icon.png" alt="upstream" title="Upstream" />
|
||||||
{{ version.version }} - {{ version.urls }}
|
{{ version.version }} - {{ version.urls }}
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@ -95,6 +101,13 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<li class="removed">
|
<li class="removed">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if version.overlay == "gentoo" %}
|
||||||
|
<img src="{{ MEDIA_URL }}img/gentoo-icon.png" alt="gentoo" title="In Gentoo" />
|
||||||
|
{% else %}{% if version.overlay %}
|
||||||
|
<img src="{{ MEDIA_URL }}img/overlay-icon.png" alt="overlays" title="In Overlays" />
|
||||||
|
{% else %}
|
||||||
|
<img src="{{ MEDIA_URL }}img/upstream-icon.png" alt="upstream" title="Upstream" />
|
||||||
|
{% endif %}{% endif %}
|
||||||
{{ version }} - {{ version.datetime }}
|
{{ version }} - {{ version.datetime }}
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user