mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-21 23:24:18 +00:00
Links in the disp_list page
This commit is contained in:
parent
60d1f33c99
commit
85698f54f3
2 changed files with 6 additions and 6 deletions
|
@ -64,11 +64,11 @@
|
|||
<i class="fa fa-windows"
|
||||
{% if "server" not in disp.lower() %}
|
||||
style="color:
|
||||
{% if "XP" in d[0].dispositivo.so %}#0046FF
|
||||
{% elif "Vista" in d[0].dispositivo.so %}#69797E
|
||||
{% elif "7" in d[0].dispositivo.so %}#30C6CC
|
||||
{% elif "8" in d[0].dispositivo.so %}#F03A17
|
||||
{% elif "10" in d[0].dispositivo.so %}#0078D7
|
||||
{% if "XP" in disp.so %}#0046FF
|
||||
{% elif "Vista" in disp.so %}#69797E
|
||||
{% elif "7" in disp.so %}#30C6CC
|
||||
{% elif "8" in disp.so %}#F03A17
|
||||
{% elif "10" in disp.so %}#0078D7
|
||||
{% endif %};"
|
||||
{% endif %}></i>
|
||||
{% elif "linux" in disp.lower() or "ubuntu" in disp.lower() or "debian" in disp.lower() %}
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
{% for d in accessi %}
|
||||
<tr>
|
||||
<td>{{ d[0].dispositivo.tipo }}</td>
|
||||
<td>{% for u in d %}<p>{{ u.impiegato.nomeimpiegato }}</p>{% endfor %}</td>
|
||||
<td>{% for u in d %}{% if u.iid != None %}<a href="{{ url_for("page_imp_details", iid=u.impiegato.iid) }}">{% endif %}{{ u.impiegato.nomeimpiegato }}{% if u.iid != None %}</a>{% endif %}{% if loop.index < d|length %}<br>{% endif %}{% endfor %}</td>
|
||||
<td>{% if d[0].dispositivo.inv_ced %}{{ d[0].dispositivo.inv_ced }}{% endif %}</td>
|
||||
<td>
|
||||
{% if "windows" in d[0].dispositivo.so.lower() %}
|
||||
|
|
Loading…
Reference in a new issue