1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +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 name="set_link_state" value="{{ network.state }}" hidden/>
<input type="checkbox" {% if network.state == 'up' %} checked <input type="checkbox" {% if network.state == 'up' %} checked
{% endif %} onclick='submit();' /> {% endif %} onclick='submit();' />
{% trans 'active' %} <strong>{% trans 'active' %}</strong>
</form> </form>
</td> </td>
<th class="hidden-xs hidden-sm">{% trans 'MAC' %}</th> <th class="hidden-xs hidden-sm">{% trans 'MAC' %}</th>
@ -1004,15 +1004,11 @@
<tr> <tr>
<th class="hidden-xs hidden-sm">{% trans 'IPv4' %}</th> <th class="hidden-xs hidden-sm">{% trans 'IPv4' %}</th>
<td> <td>
{% for ipv4 in network.ipv4|default:"unknown" %} {% for ipv4 in network.ipv4|default:"unknown" %}{{ ipv4 }}{% endfor %}
{{ ipv4 }}
{% endfor %}
</td> </td>
<th class="hidden-xs hidden-sm">{% trans 'IPv6' %}</th> <th class="hidden-xs hidden-sm">{% trans 'IPv6' %}</th>
<td class="hidden-xs"> <td class="hidden-xs">
{% for ipv6 in network.ipv6|default:"unknown" %} {% for ipv6 in network.ipv6|default:"unknown" %}{{ ipv6 }}{% endfor %}
{{ ipv6 }}
{% endfor %}
</td> </td>
<th class="hidden-xs hidden-sm">{% trans 'Model' %}</th> <th class="hidden-xs hidden-sm">{% trans 'Model' %}</th>
<td>{{ network.model }}</td> <td>{{ network.model }}</td>
@ -1025,8 +1021,8 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td style="background-color: lightgray" class="hidden-xs hidden-sm" colspan="9"></td> <td class="bg-primary hidden-xs hidden-sm" colspan="9"></td>
<td style="background-color: lightgray" class="visible-xs visible-sm" colspan="5"></td> <td class="bg-primary visible-xs visible-sm" colspan="5"></td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>