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
6758aa74
authored
Apr 02, 2013
by
Bence Dányi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: add title for cpu/ram/etc icons
fixes
#113
parent
a66d7e38
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
one/templates/box/vm/box.html
+3
-3
one/templates/new-template-flow.html
+3
-3
No files found.
one/templates/box/vm/box.html
View file @
6758aa74
...
...
@@ -84,9 +84,9 @@
{% trans "Size" %}:
<span
class=
"value"
>
{{s.template.instance_type.name}}
<span
class=
"cpu"
>
{{s.template.instance_type.CPU}}
</span>
<span
class=
"memory"
>
{{s.template.instance_type.RAM}}
</span>
<span
class=
"credit"
>
{{s.template.instance_type.credit}}
</span>
<span
title=
"{% trans 'CPU cores' %}"
class=
"cpu"
>
{{s.template.instance_type.CPU}}
</span>
<span
title=
"{% trans 'RAM' %}"
class=
"memory"
>
{{s.template.instance_type.RAM}}
</span>
<span
title=
"{% trans 'Credit' %}"
class=
"credit"
>
{{s.template.instance_type.credit}}
</span>
</span>
</li>
<li
class=
"share-type"
>
...
...
one/templates/new-template-flow.html
View file @
6758aa74
...
...
@@ -37,11 +37,11 @@
{% for s in sizes %}
<p
id=
"new-template-size-summary-{{s.id}}"
class=
"size-summary clear"
{%
if
s
!=
base
.
instance_type
%}
style=
"display:none"
{%
endif
%}
>
<span
class=
"cpu"
>
<span
title=
"{% trans 'CPU cores' %}"
class=
"cpu"
>
{% blocktrans count n=s.CPU %}{{n}} core{% plural %}{{n}} cores{% endblocktrans %}
</span>
<span
class=
"memory"
>
{{s.RAM}} MiB
</span>
<span
class=
"credit"
>
{{s.credit}}
</span>
<span
title=
"{% trans 'RAM' %}"
class=
"memory"
>
{{s.RAM}} MiB
</span>
<span
title=
"{% trans 'Credit' %}"
class=
"credit"
>
{{s.credit}}
</span>
</p>
{% endfor %}
<div
class=
"clear"
></div>
...
...
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