Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ef6ba3f7
authored
Mar 13, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: trans for disk create
parent
2c4dfe47
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
circle/dashboard/templates/dashboard/_vm-create-1.html
+8
-6
No files found.
circle/dashboard/templates/dashboard/_vm-create-1.html
View file @
ef6ba3f7
{% load sizefieldtags %}
{% load sizefieldtags %}
{% load i18n %}
<div
class=
"vm-create-template-list"
>
<div
class=
"vm-create-template-list"
>
{% for t in templates %}
{% for t in templates %}
...
@@ -10,7 +11,7 @@
...
@@ -10,7 +11,7 @@
<div
class=
"vm-create-template-details"
>
<div
class=
"vm-create-template-details"
>
<ul>
<ul>
<li>
<li>
<i
class=
"icon-gears"
></i>
CPU
<i
class=
"icon-gears"
></i>
{% trans "CPU" %}
<div
class=
"progress pull-right"
>
<div
class=
"progress pull-right"
>
<div
class=
"progress-bar progress-bar-success"
role=
"progressbar"
<div
class=
"progress-bar progress-bar-success"
role=
"progressbar"
aria-valuenow=
"{{ t.num_cores }}"
aria-valuemin=
"0"
aria-valuemax=
"8"
style=
"width: 80%"
>
aria-valuenow=
"{{ t.num_cores }}"
aria-valuemin=
"0"
aria-valuemax=
"8"
style=
"width: 80%"
>
...
@@ -19,7 +20,7 @@
...
@@ -19,7 +20,7 @@
</div>
</div>
</li>
</li>
<li>
<li>
<i
class=
"icon-ticket"
></i>
Memory
<i
class=
"icon-ticket"
></i>
{% trans "Memory" %}
<div
class=
"progress pull-right"
>
<div
class=
"progress pull-right"
>
<div
class=
"progress-bar progress-bar-info"
role=
"progressbar"
<div
class=
"progress-bar progress-bar-info"
role=
"progressbar"
aria-valuenow=
"{{ t.ram_size }}"
aria-valuemin=
"0"
aria-valuemax=
"4096"
aria-valuenow=
"{{ t.ram_size }}"
aria-valuemin=
"0"
aria-valuemax=
"4096"
...
@@ -29,19 +30,20 @@
...
@@ -29,19 +30,20 @@
</div>
</div>
</li>
</li>
<li>
<li>
<i
class=
"icon-file"
></i>
Disks
<i
class=
"icon-file"
></i>
{% trans "Disks" %}
<span
style=
"float: right;"
>
<span
style=
"float: right;
text-align: right;
"
>
{% for d in t.disks.all %}{{ d.name }} ({{ d.size|filesize }}){% if not forloop.last %}, {% endif %}{% endfor %}
{% for d in t.disks.all %}{{ d.name }} ({{ d.size|filesize }}){% if not forloop.last %}, {% endif %}{% endfor %}
</span>
</span>
<div
style=
"clear: both;"
></div>
</li>
</li>
<li>
<li>
<i
class=
"icon-globe"
></i>
Network:
<i
class=
"icon-globe"
></i>
{% trans "Network" %}
<span
style=
"float: right;"
>
<span
style=
"float: right;"
>
{% for i in t.interface_set.all %}{{ i.vlan.name }}{% if not forloop.last %}, {% endif %}{% endfor %}
{% for i in t.interface_set.all %}{{ i.vlan.name }}{% if not forloop.last %}, {% endif %}{% endfor %}
</span>
</span>
</li>
</li>
<li>
<li>
<i
class=
"icon-tag"
></i>
Típus
: {{ t.lease.name }}
<i
class=
"icon-tag"
></i>
{% trans "Type" %}
: {{ t.lease.name }}
<span
style=
"float: right;"
>
<span
style=
"float: right;"
>
<i
class=
"icon-pause"
></i>
{{ t.lease.get_readable_suspend_time }}
<i
class=
"icon-pause"
></i>
{{ t.lease.get_readable_suspend_time }}
<i
class=
"icon-remove"
></i>
{{ t.lease.get_readable_delete_time }}
<i
class=
"icon-remove"
></i>
{{ t.lease.get_readable_delete_time }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment