1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 15:15:22 +00:00

add seperation between nics, show nic model

This commit is contained in:
catborise 2020-01-13 16:18:19 +03:00
parent 2a86384826
commit 6cebd2f70e

View file

@ -918,7 +918,7 @@
<input name="set_link_state" value="{{ network.state }}" hidden/>
<input type="checkbox" {% if network.state == 'up' %} checked
{% endif %} onclick='submit();' />
{% trans 'active' %}
<strong>{% trans 'active' %}</strong>
</form>
</td>
<th class="hidden-xs hidden-sm">{% trans 'MAC' %}</th>
@ -1004,15 +1004,11 @@
<tr>
<th class="hidden-xs hidden-sm">{% trans 'IPv4' %}</th>
<td>
{% for ipv4 in network.ipv4|default:"unknown" %}
{{ ipv4 }}
{% endfor %}
{% for ipv4 in network.ipv4|default:"unknown" %}{{ ipv4 }}{% endfor %}
</td>
<th class="hidden-xs hidden-sm">{% trans 'IPv6' %}</th>
<td class="hidden-xs">
{% for ipv6 in network.ipv6|default:"unknown" %}
{{ ipv6 }}
{% endfor %}
{% for ipv6 in network.ipv6|default:"unknown" %}{{ ipv6 }}{% endfor %}
</td>
<th class="hidden-xs hidden-sm">{% trans 'Model' %}</th>
<td>{{ network.model }}</td>
@ -1025,8 +1021,8 @@
</td>
</tr>
<tr>
<td style="background-color: lightgray" class="hidden-xs hidden-sm" colspan="9"></td>
<td style="background-color: lightgray" class="visible-xs visible-sm" colspan="5"></td>
<td class="bg-primary hidden-xs hidden-sm" colspan="9"></td>
<td class="bg-primary visible-xs visible-sm" colspan="5"></td>
</tr>
{% endfor %}
</tbody>