mirror of
https://github.com/retspen/webvirtcloud
synced 2024-11-01 03:54:15 +00:00
add seperation between nics, show nic model
This commit is contained in:
parent
2a86384826
commit
6cebd2f70e
1 changed files with 14 additions and 18 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue