diff --git a/accounts/templates/accounts/change_password_form.html b/accounts/templates/accounts/change_password_form.html index 3df2d0ed..35dab319 100644 --- a/accounts/templates/accounts/change_password_form.html +++ b/accounts/templates/accounts/change_password_form.html @@ -8,7 +8,7 @@ {% block content %}
-
+

{%trans "Change Password" %}: {{ user }}

diff --git a/admin/templates/admin/user_form.html b/admin/templates/admin/user_form.html index 47d6b2cd..fb502a64 100644 --- a/admin/templates/admin/user_form.html +++ b/admin/templates/admin/user_form.html @@ -8,7 +8,7 @@ {% block page_heading %}{{ title }}{% endblock page_heading %} {% block content %} -
+
{% csrf_token %} diff --git a/computes/templates/computes/form.html b/computes/templates/computes/form.html index d867ab41..2f08c60c 100644 --- a/computes/templates/computes/form.html +++ b/computes/templates/computes/form.html @@ -12,7 +12,7 @@
-
+
{% csrf_token %} {% bootstrap_form form layout='horizontal' %} diff --git a/instances/templates/create_instance_w1.html b/instances/templates/create_instance_w1.html index 37a49bec..1dc42594 100644 --- a/instances/templates/create_instance_w1.html +++ b/instances/templates/create_instance_w1.html @@ -65,7 +65,7 @@
-
+
diff --git a/instances/templates/create_instance_w2.html b/instances/templates/create_instance_w2.html index 6d1f3d0e..22876f10 100644 --- a/instances/templates/create_instance_w2.html +++ b/instances/templates/create_instance_w2.html @@ -600,7 +600,7 @@ {% endif %}
-
+
{% if storages %}
-
+
{% if storages %}
{% empty %} -
+
{% trans 'There is not any CD-ROM device.' %}
{% endfor %} @@ -607,7 +607,7 @@
-
+
@@ -615,7 +615,7 @@
-
+
@@ -623,7 +623,7 @@
-
+
@@ -631,7 +631,7 @@
-
+
@@ -639,7 +639,7 @@
-
+
@@ -756,7 +756,7 @@ {% for network in instance.config_networks %}
- +
@@ -778,7 +778,7 @@ {% for disk in instance.config_disks %}
- +
@@ -847,7 +847,7 @@
-
+
{% if instance.status == 5 %} {% else %} diff --git a/interfaces/templates/interface.html b/interfaces/templates/interface.html index 071c934a..8ae23f8d 100644 --- a/interfaces/templates/interface.html +++ b/interfaces/templates/interface.html @@ -37,39 +37,41 @@ {% if changeable is False %}{% include 'interfaces_unchangeable.html' %}{% endif %}
-
-
{% trans "Interface" %}
-
{{ iface }}
-
{% trans "IPv4" %} ({% if ipv4 == None %}{% trans 'None' %}{% else %}{{ ipv4_type }}{% endif %})
-
{{ ipv4 }}
-
{% trans "IPv6" %} ({% if ipv6 == None %}{% trans 'None' %}{% else %}{{ ipv6_type }}{% endif %})
-
{{ ipv6 }}
-
{% trans "MAC" %}
-
{{ mac }}
-
{% trans "Interface Type" %}
-
{{ itype }}
- {% if itype == 'bridge' %} -
{% trans "Bridge Device" %}
-
{{ bridge }}
- {% endif %} -
{% trans "Boot Mode" %}
-
{{ start_mode }}
-
{% trans "State" %}
-
- {% if changeable is False %} - {% if state == 0 %}{% trans "Inactive" %}{% else %}{% trans "Active" %}{% endif %} - {% else %} - {% csrf_token %} - {% if state == 0 %} - - - {% else %} - - {% endif %} - +
+
+
{% trans "Interface" %}
+
{{ iface }}
+
{% trans "IPv4" %} ({% if ipv4 == None %}{% trans 'None' %}{% else %}{{ ipv4_type }}{% endif %})
+
{{ ipv4 }}
+
{% trans "IPv6" %} ({% if ipv6 == None %}{% trans 'None' %}{% else %}{{ ipv6_type }}{% endif %})
+
{{ ipv6 }}
+
{% trans "MAC" %}
+
{{ mac }}
+
{% trans "Interface Type" %}
+
{{ itype }}
+ {% if itype == 'bridge' %} +
{% trans "Bridge Device" %}
+
{{ bridge }}
{% endif %} -
-
+
{% trans "Boot Mode" %}
+
{{ start_mode }}
+
{% trans "State" %}
+
+ {% if changeable is False %} + {% if state == 0 %}{% trans "Inactive" %}{% else %}{% trans "Active" %}{% endif %} + {% else %} +
{% csrf_token %} + {% if state == 0 %} + + + {% else %} + + {% endif %} +
+ {% endif %} +
+ +
{% trans 'Slaves' %}
diff --git a/networks/templates/network.html b/networks/templates/network.html index 45826903..2d093ebf 100644 --- a/networks/templates/network.html +++ b/networks/templates/network.html @@ -38,33 +38,35 @@
-
-
{% trans "Network name" %}
-
{{ pool }}
-
{% trans "Device" %}
-
{{ device }}
-
{% trans "State" %}
-
-
{% csrf_token %} - {% if state == 0 %} - - - {% else %} - - {% endif %} -
-
-
{% trans "Autostart" %}
-
-
{% csrf_token %} - {% if autostart == 0 %} - - {% else %} - - {% endif %} -
-
-
+
+
+
{% trans "Network name" %}
+
{{ pool }}
+
{% trans "Device" %}
+
{{ device }}
+
{% trans "State" %}
+
+
{% csrf_token %} + {% if state == 0 %} + + + {% else %} + + {% endif %} +
+
+
{% trans "Autostart" %}
+
+
{% csrf_token %} + {% if autostart == 0 %} + + {% else %} + + {% endif %} +
+
+
+
diff --git a/nwfilters/templates/add_nwf_rule.html b/nwfilters/templates/add_nwf_rule.html index 3457949d..31da308b 100644 --- a/nwfilters/templates/add_nwf_rule.html +++ b/nwfilters/templates/add_nwf_rule.html @@ -20,8 +20,8 @@
-

{% trans 'If there is a rule which has same attributes it replaces that rule' %}...

+

{% trans 'If there is a rule which has same attributes it replaces that rule' %}...