diff --git a/computes/templates/overview.html b/computes/templates/overview.html
index 5588fd3d..3a5c4de0 100644
--- a/computes/templates/overview.html
+++ b/computes/templates/overview.html
@@ -118,35 +118,35 @@
- -
+
-
{% trans "Processor" %}
{{ host.processor|default:"–" }}
- -
+
-
{% trans "Architecture" %}
{{ host.arch }}
- -
+
-
{% trans "Logical CPUs" %}
{{ host.topology.cpus }}
- -
+
-
{% trans "Physical cores" %}
{{ host.topology.cores|default:"–" }}
- -
+
-
{% trans "Sockets" %}
{{ host.topology.sockets|default:"–" }}
- -
+
-
{% trans "NUMA nodes" %}
{{ host.topology.nodes|default:"–" }}
- -
+
-
{% trans "Clock" %}
{{ host.ghz }} GHz
- -
+
-
{% trans "Memory" %}
{{ host.memory|filesizeformat }}
@@ -157,27 +157,27 @@
- -
+
-
{% trans "Hostname" %}
{{ host.hostname }}
- -
+
-
{{ host.hypervisor }}
{{ host.hypervisor_version }}
- -
+
-
libvirt
{{ host.libvirt_version }}
- -
+
-
{% trans "Guest architectures" %}
{% for arch, types in host.guest_archs.items %}{{ arch }} {{ types|join:" · " }}{% endfor %}
- -
+
-
{% trans "Emulator" %}
{{ host.emulator|default:"–" }}
- -
+
-
{% trans "Connection" %}
{{ host.uri }}
diff --git a/interfaces/templates/interface.html b/interfaces/templates/interface.html
index 8c073974..3bf58ada 100644
--- a/interfaces/templates/interface.html
+++ b/interfaces/templates/interface.html
@@ -41,10 +41,10 @@
- -
+
-
{% trans "Type" %}{{ info.type|capfirst }}
- -
+
-
{% trans "State" %}
{# libvirt's own state where it manages the interface; the link as the kernel reports it everywhere #}
@@ -53,33 +53,33 @@
{% if info.start_mode %}
- -
+
-
{% trans "Starts" %}
{% if info.start_mode == "onboot" %}{% trans "On boot" %}{% elif info.start_mode == "hotplug" %}{% trans "When plugged in" %}{% else %}{% trans "Only by hand" %}{% endif %}
{% endif %}
- -
+
-
{% trans "MAC" %}{{ info.mac|default:"–" }}
{% if info.mtu %}
- -
+
-
{% trans "MTU" %}{{ info.mtu }}
{% endif %}
{% if info.speed %}
- -
+
-
{% trans "Speed" %}{{ info.speed }} Mb/s
{% endif %}
{% if info.stp %}
- -
+
-
{% trans "Spanning tree" %}
{# not its delay: netcf tells it in seconds, the udev backend in hundredths #}
{% if info.stp == "on" %}{% trans "On" %}{% else %}{% trans "Off" %}{% endif %}
{% endif %}
{% if networks %}
- -
+
-
{% trans "Used by" %}
{% for net in networks %}{% blocktrans %}network {{ net }}{% endblocktrans %}{% if not forloop.last %}, {% endif %}{% endfor %}
@@ -94,12 +94,12 @@
- -
+
-
{% trans "Configured" %}
{% if addressing.method == "dhcp" %}DHCP{% elif addressing.method == "autoconf" %}{% trans "Automatic (SLAAC)" %}{% elif addressing.method == "static" %}{% trans "Static" %}{% else %}{% trans "None" %}{% endif %}
{% for address in addressing.addresses %}
- -
+
-
{% trans "Address" %}{{ address }}
{% endfor %}
diff --git a/networks/templates/network.html b/networks/templates/network.html
index 3b4fe53a..5b185c50 100644
--- a/networks/templates/network.html
+++ b/networks/templates/network.html
@@ -50,23 +50,23 @@
- -
+
-
{% trans "State" %}
{% if state %}{% trans "Active" %}{% else %}{% trans "Stopped" %}{% endif %}
{% if autostart %}{% trans "Autostart" %}{% endif %}
- -
+
-
{% trans "Type" %}
{{ mode_label }}
- -
+
-
{% if mode == "macvtap" %}{% trans "Host interface" %}{% elif mode == "bridge" %}{% trans "Host bridge" %}{% else %}{% trans "Bridge" %}{% endif %}
{{ device|default:"–" }}
{% if net_mac %}
- -
+
-
{% trans "MAC" %}
{{ net_mac }}
@@ -94,13 +94,13 @@
{% endif %}
- -
+
-
{% trans "Subnet" %}{{ ip.subnet|default:"–" }}
- -
+
-
{% trans "Host's address" %}{{ ip.address }}
- -
+
-
{% trans "DHCP" %}
{% if ip.range %}{{ ip.range.0 }} – {{ ip.range.1 }}
@@ -196,7 +196,7 @@
{% if vms %}
{% for vm in vms %}
- -
+
-
{% if vm.id %}{{ vm.name }}{% else %}{{ vm.name }}{% endif %}
{% if vm.connected %}{% trans "Connected" %}{% else %}{% trans "Configured" %}{% endif %}
diff --git a/networks/templates/networks.html b/networks/templates/networks.html
index 1c91ecfa..b43b559d 100644
--- a/networks/templates/networks.html
+++ b/networks/templates/networks.html
@@ -31,22 +31,22 @@
{% if net.autostart %}{% trans "Autostart" %}{% endif %}
- -
+
-
{% trans "Type" %}
{{ net.mode_label }}
- -
+
-
{% trans "Device" %}
{{ net.device|default:"–" }}
{% if net.external %}
- -
+
-
{% trans "Addresses" %}
{% trans "from the outside network" %}
{% else %}
{% for ip in net.ips %}
- -
+
-
{% if ip.family == "ipv6" %}IPv6{% else %}IPv4{% endif %}
{{ ip.subnet|default:ip.address }}
@@ -58,7 +58,7 @@
{% empty %}
- -
+
-
{% trans "Addresses" %}
{% trans "none" %}
diff --git a/storages/templates/storage.html b/storages/templates/storage.html
index 034725ed..4b746643 100644
--- a/storages/templates/storage.html
+++ b/storages/templates/storage.html
@@ -90,7 +90,7 @@
- -
+
-
{% trans "State" %}
{% if state %}{% trans "Active" %}{% else %}{% trans "Stopped" %}{% endif %}
@@ -98,10 +98,10 @@
{% if autostart %}{% trans "Autostart" %}{% endif %}
- -
+
-
{% trans "Type" %}{{ type|default:"—" }}
- -
+
-
{% trans "Path" %}
{{ path|default:"—" }}
diff --git a/storages/templates/storages.html b/storages/templates/storages.html
index 6b16da4d..83e40aee 100644
--- a/storages/templates/storages.html
+++ b/storages/templates/storages.html
@@ -35,15 +35,15 @@
{% if pool.autostart %}{% trans "Autostart" %}{% endif %}
- -
+
-
{% trans "Type" %}
{{ pool.type|upper }}
- -
+
-
{% trans "Path" %}
{{ pool.path|default:"–" }}
- -
+
-
{% trans "Volumes" %}
{% if pool.status %}{{ pool.volumes }}{% else %}–{% endif %}