diff --git a/accounts/templates/account.html b/accounts/templates/account.html index 0c5068d..56f91b8 100644 --- a/accounts/templates/account.html +++ b/accounts/templates/account.html @@ -2,139 +2,139 @@ {% load i18n %} {% block title %}{% trans "User" %} - {{ user }}{% endblock %} {% block content %} - -
{% trans "Key name" %} | +{% trans "Public key" %} | +
---|---|
{{ publickey.keyname }} | +{{ publickey.keypublic|truncatechars:64 }} | +
{% trans "Key name" %} | -{% trans "Public key" %} | -
---|---|
{{ publickey.keyname }} | -{{ publickey.keypublic|truncatechars:64 }} | -
# | -{% trans "Instance" %} | -{% trans "VNC" %} | -{% trans "Resize" %} | -{% trans "Delete" %} | -{% trans "Action" %} | -|||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ forloop.counter }} | -{{ inst.instance.name }} | -{{ inst.is_vnc }} | -{{ inst.is_change }} | -{{ inst.is_delete }} | -
-
-
-
+ {% else %}
+
+
- {% endif %}
+
+
+
+
+
+
+
+
+
+ |
+
+ |
+
Username | -Status | -Staff | -Superuser | -Clone | +{% trans "Username" %} | +{% trans "Status" %} | +{% trans "Staff" %} | +{% trans "Superuser" %} | +{% trans "Clone" %} |
---|
{% trans 'Name' %} | -{% trans 'Status' %} | -{% trans 'VCPU' %} | -{% trans 'Memory' %} | -{% trans 'Actions' %} | -
---|---|---|---|---|
{{ vm.name }} {{ vm.title }} |
- {% ifequal vm.status 1 %} - {% trans "Active" %} - {% endifequal %} - {% ifequal vm.status 5 %} - {% trans "Off" %} - {% endifequal %} - {% ifequal vm.status 3 %} - {% trans "Suspend" %} - {% endifequal %} - | -{{ vm.vcpu }} | -{{ vm.memory }} {% trans "MB" %} | -
{% trans 'Name' %} | +{% trans 'Status' %} | +{% trans 'VCPU' %} | +{% trans 'Memory' %} | +{% trans 'Actions' %} | +
---|---|---|---|---|
{{ vm.name }} {{ vm.title }} |
+ {% ifequal vm.status 1 %} + {% trans "Active" %} + {% endifequal %} + {% ifequal vm.status 5 %} + {% trans "Off" %} + {% endifequal %} + {% ifequal vm.status 3 %} + {% trans "Suspend" %} + {% endifequal %} + | +{{ vm.vcpu }} | +{{ vm.memory }} {% trans "MB" %} | +
Name Description |
- Host User |
- Status | -VCPU | -Memory | +{% trans "Name" %} {% trans "Description" %} |
+ {% trans "Host" %} {% trans "User"%} |
+ {% trans "Status" %} | +{% trans "VCPU" %} | +{% trans "Memory" %} | {% trans "Actions" %} |
---|
{% trans "Name" %} | +{% trans "Date" %} | +{% trans "Action" %} | + + + {% for snap in snapshots %} +|
---|---|---|---|
{{ snap.name }} | +{{ snap.date|date:"M d H:i:s" }} | +
+ |
+
+ |
+
{% trans "You do not have any snapshots" %}
+ {% endif %} + {% else %} +{% trans "To restore snapshots you need Power Off the instance." %}
+ {% endifequal %} +{% trans 'Autostart' %}
+{% trans "Autostart your instance when host server is power on " %} + {% ifequal autostart 0 %} + + {% else %} + + {% endifequal %} +
+{% trans 'Boot Order' %}
+{% trans "Enable Boot Menu for your instance when it starts up " %} + {% ifequal bootmenu 0 %} + + {% else %} + + {% endifequal %} + {% else %} + {% ifequal bootmenu 0 %} +
{% trans "**** Please shutdown instance to modify boot menu ****" %}
+ {% endifequal %} + {% endifequal %} +{% trans "You need shut down your instance and choose your public key." %}
-+ {% trans "Instance Media" %} + {% if status == 5 %} + + {% else %} + + {% endif %} +
+{% trans "This action opens a remote viewer with a connection to the console of the instance." %}
-+ {% trans "Instance Volume" %} + {% include 'add_instance_volume.html' %} +
+ +{% trans "Device" %} | +{% trans "Used" %} | +{% trans "Capacity" %} | +{% trans "Storage" %} | +{% trans "Source" %} | +{% trans "Action" %} | + + + {% for disk in disks %} +
---|---|---|---|---|---|
+
+ {{ disk.dev }}
+ + {{ disk.target }} + |
+ {{ disk.used | filesizeformat}} | +{{ disk.size | filesizeformat }} | +{{ disk.storage }} | +{{ disk.path }} | +
+ |
+
+ {% trans "Add a network device" %} + {% include 'add_instance_network_block.html' %} +
+ +{% trans "Network Devices" %}
+ {% endif %} +{% trans "For migration both host servers must have equal settings and OS type" %}
+{{ compute.name }}
+{% trans "If you need to edit xml please Power Off the instance" %}
++ {% trans "Instance owners" %} + {% include 'add_instance_owner_block.html' %} +
+{{ userinstance.user }} | +
+ |
+
{% trans "To set console's type, shutdown the instance." %}
+{% trans "To set console listen address, shutdown the instance." %}
+{% trans "To create console password, shutdown the instance." %}
+{% trans "To set console's keymap, shutdown the instance." %}
+{% trans "Create a clone" %}
+{% trans "Network devices" %}
+ {% for network in networks %} +{% trans "Storage devices" %}
+ {% for disk in disks %} +{% trans "Logical host CPUs" %} : {{ vcpu_host }}
-{% trans "Total host memory:" %} {{ memory_host|filesizeformat }}
-{% trans "Disk allocation (B):" %}
- {% for disk in disks %} -{% trans "This may take more than an hour, depending on how much content is on your droplet and how large the disk is." %}
-{% trans "To take a snapshot please Power Off the instance." %}
- {% endifequal %} -{% trans "Choose a snapshot for restore/delete" %}
-{% trans "Name" %} | -{% trans "Date" %} | -{% trans "Action" %} | - - - {% for snap in snapshots %} -|
---|---|---|---|
{{ snap.name }} | -{{ snap.date|date:"M d H:i:s" }} | -
- |
-
- |
-
{% trans "You do not have any snapshots" %}
- {% endif %} - {% else %} -{% trans "To restore snapshots you need Power Off the instance." %}
- {% endifequal %} +{% trans 'Autostart' %}
-{% trans "Autostart your instance when host server is power on " %} - {% ifequal autostart 0 %} - - {% else %} - - {% endifequal %} -
-{% trans 'Boot Order' %}
-{% trans "Enable Boot Menu for your instance when it starts up " %} - {% ifequal bootmenu 0 %} - - {% else %} - - {% endifequal %} - {% else %} - {% ifequal bootmenu 0 %} -
{% trans "**** Please shutdown instance to modify boot menu ****" %}
- {% endifequal %} - {% endifequal %} -- {% trans "Instance Media" %} - {% if status == 5 %} - - {% else %} - - {% endif %} -
-- {% trans "Instance Volume" %} - {% include 'add_instance_volume.html' %} -
- -{% trans "Device" %} | -{% trans "Used" %} | -{% trans "Capacity" %} | -{% trans "Storage" %} | -{% trans "Source" %} | -{% trans "Action" %} | - - - {% for disk in disks %} -
---|---|---|---|---|---|
-
- {{ disk.dev }}
- - {{ disk.target }} - |
- {{ disk.used | filesizeformat}} | -{{ disk.size | filesizeformat }} | -{{ disk.storage }} | -{{ disk.path }} | -
- |
-
- {% trans "Add a network device" %} - {% include 'add_instance_network_block.html' %} -
- -{% trans "Network Devices" %}
- {% endif %} -{% trans "For migration both host servers must have equal settings and OS type" %}
-{{ compute.name }}
-{% trans "If you need to edit xml please Power Off the instance" %}
-- {% trans "Instance owners" %} - {% include 'add_instance_owner_block.html' %} -
-{{ userinstance.user }} | -
- |
-
{% trans "To set console's type, shutdown the instance." %}
-{% trans "To set console listen address, shutdown the instance." %}
-{% trans "To create console password, shutdown the instance." %}
-{% trans "To set console's keymap, shutdown the instance." %}
-{% trans "Create a clone" %}
-{% trans "Network devices" %}
- {% for network in networks %} -{% trans "Storage devices" %}
- {% for disk in disks %} -{% trans "Date" %} | -{% trans "User" %} | -{% trans "Message" %} | -
---|---|---|
{% trans 'None' %}... |
{% trans "Delete storage for instance?" %}
- {% if request.user.is_superuser or userinstance.is_delete %} - {% ifequal status 3 %} - - {% else %} -{% trans "Date" %} | +{% trans "User" %} | +{% trans "Message" %} | +
---|---|---|
{% trans 'None' %}... |
{% trans "Delete storage for instance?" %}
+ {% if request.user.is_superuser or userinstance.is_delete %} + {% ifequal status 3 %} + + {% else %} +{% trans "Interface:" %}
-{% trans "IPv4:" %} ({% ifequal ipv4 None %}None{% else %}{{ ipv4_type }}{% endifequal %})
-{% trans "IPv6:" %} ({% ifequal ipv6 None %}None{% else %}{{ ipv6_type }}{% endifequal %})
-{% trans "MAC Adress:" %}
-{% trans "Interface Type:" %}
- {% ifequal itype 'bridge' %} -{% trans "Bridge device" %}
+{% trans "Interface" %}:
+{% trans "IPv4" %}: ({% ifequal ipv4 None %}{% trans 'None' %}{% else %}{{ ipv4_type }}{% endifequal %})
+{% trans "IPv6" %}: ({% ifequal ipv6 None %}{% trans 'None' %}{% else %}{{ ipv6_type }}{% endifequal %})
+{% trans "MAC Adress" %}:
+{% trans "Interface Type" %}:
+ {% ifequal itype 'bridge' %} +{% trans "Bridge device" %}
+ {% endifequal %} +{% trans "Boot Mode" %}:
+{% trans "State" %}:
+{{ iface }}
+{{ ipv4 }}
+{{ ipv6 }}
+{{ mac }}
+{{ itype }}
+ {% ifequal itype 'bridge' %} +{{ bridge }}
+ {% endifequal %} +{{ start_mode }}
++
{% trans "Boot Mode:" %}
-{% trans "State:" %}
-{{ iface }}
-{{ ipv4 }}
-{{ ipv6 }}
-{{ mac }}
-{{ itype }}
- {% ifequal itype 'bridge' %} -{{ bridge }}
- {% endifequal %} -{{ start_mode }}
--
{% trans "Type:" %}
+{% trans "MAC:" %}
{% trans "Type:" %}
-{% trans "MAC:" %}
-{{ iface.type }}
-{{ iface.mac }}
-{{ iface.type }}
+{{ iface.mac }}
{% trans "Pool name:" %}
-{% trans "Pool type:" %}
-{% trans "Pool path:" %}
-{% trans "Pool status:" %}
-{% trans "Size:" %} ({{ size|filesizeformat }} / {{ used|filesizeformat }})
-{% trans "State:" %}
-{% trans "Autostart:" %}
-{{ pool }}
-{% if not type %}{% trans "None" %}{% else %}{{ type }}{% endif %}
-{% if not path %}{% trans "None" %}{% else %}{{ path }}{% endif %}
-{% if not status %}{% trans "None" %}{% else %}{{ status }}{% endif %}
-{% trans "Usage:" %} {{ percent }}%
--
-
{% trans "Pool name" %}:
+{% trans "Pool type" %}:
+{% trans "Pool path" %}:
+{% trans "Pool status" %}:
+{% trans "Size" %}: ({{ size|filesizeformat }} / {{ used|filesizeformat }})
+{% trans "State" %}:
+{% trans "Autostart" %}:
+{{ pool }}
+{% if not type %}{% trans "None" %}{% else %}{{ type }}{% endif %}
+{% if not path %}{% trans "None" %}{% else %}{{ path }}{% endif %}
+{% if not status %}{% trans "None" %}{% else %}{{ status }}{% endif %}
+{% trans "Usage" %}: {{ percent }}%
++
+