Provide clean numbers for DT to sort by
This commit is contained in:
parent
418ca7f076
commit
b7f682badb
1 changed files with 2 additions and 2 deletions
|
@ -22,11 +22,11 @@
|
||||||
{% for server in servers %}
|
{% for server in servers %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ server.name }}</td>
|
<td>{{ server.name }}</td>
|
||||||
<td>€ {{ server.price }}</span></td>
|
<td data-order="{{ server.price }}">€ {{ server.price }}</span></td>
|
||||||
<td>{{ server.datacenter }}</td>
|
<td>{{ server.datacenter }}</td>
|
||||||
<td><span title="{{ server.cpu.count }} x {{ server.cpu.name }}">{{ server.cpu.benchmark }}</span></td>
|
<td><span title="{{ server.cpu.count }} x {{ server.cpu.name }}">{{ server.cpu.benchmark }}</span></td>
|
||||||
<td data-order="{{ server.price_per_cpu }}"><span title="€ {{ server.price_per_cpu }}">€ {{ server.price_per_cpu | round(4) }}</span></td>
|
<td data-order="{{ server.price_per_cpu }}"><span title="€ {{ server.price_per_cpu }}">€ {{ server.price_per_cpu | round(4) }}</span></td>
|
||||||
<td>{{ server.ram }} GB</td>
|
<td data-order="{{ server.ram }}">{{ server.ram }} GB</td>
|
||||||
<td data-order="{{ server.price_per_ram }}"><span title="€ {{ server.price_per_ram }}">€ {{ server.price_per_ram | round(4) }}</span></td>
|
<td data-order="{{ server.price_per_ram }}"><span title="€ {{ server.price_per_ram }}">€ {{ server.price_per_ram | round(4) }}</span></td>
|
||||||
<td data-order="{{ server.hdd.total_size }}"><span title="{{ server.hdd.total_size }} GB">{{ server.hdd.count }} x {{ server.hdd.size }} GB</span></td>
|
<td data-order="{{ server.hdd.total_size }}"><span title="{{ server.hdd.total_size }} GB">{{ server.hdd.count }} x {{ server.hdd.size }} GB</span></td>
|
||||||
<td data-order="{{ server.price_per_hdd }}"><span title="€ {{ server.price_per_hdd }}">€ {{ server.price_per_hdd | round(4) }}</span></td>
|
<td data-order="{{ server.price_per_hdd }}"><span title="€ {{ server.price_per_hdd }}">€ {{ server.price_per_hdd | round(4) }}</span></td>
|
||||||
|
|
Loading…
Reference in a new issue