kopia lustrzana https://github.com/glidernet/ogn-python
Formatting
rodzic
e1f81befa6
commit
11c3377f96
|
@ -25,10 +25,12 @@
|
||||||
<td> {{ receiver.name }} </td>
|
<td> {{ receiver.name }} </td>
|
||||||
<td> {{ receiver.version }} </td>
|
<td> {{ receiver.version }} </td>
|
||||||
<td> {{ receiver.lastseen }} </td>
|
<td> {{ receiver.lastseen }} </td>
|
||||||
{% if receiver.availability < 80 %}
|
{% if receiver.availability > 80 %}
|
||||||
<td class="under-limit"> {{ receiver.availability }} </td>
|
<td class="bg-success"> {{ '%02d%%' % receiver.availability }} </td>
|
||||||
|
{% elif receiver.availability > 10 %}
|
||||||
|
<td class="bg-warning"> {{ '%02d%%' % receiver.availability }} </td>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td> {{ receiver.availability }} </td>
|
<td class="bg-danger"> {{ '%02d%%' % receiver.availability }} </td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td> {{ receiver.beacons_count }} </td>
|
<td> {{ receiver.beacons_count }} </td>
|
||||||
<td> <img src="static/flags/blank.gif" class="flag flag-{{ receiver.country_code }}" alt="{{ receiver.country_code }}" /> </td>
|
<td> <img src="static/flags/blank.gif" class="flag flag-{{ receiver.country_code }}" alt="{{ receiver.country_code }}" /> </td>
|
||||||
|
|
Ładowanie…
Reference in New Issue