Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
81e64796
authored
Feb 20, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: remove '-button' suffix
parent
925f6db8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
one/templates/box/vm/summary.html
+8
-8
No files found.
one/templates/box/vm/summary.html
View file @
81e64796
...
@@ -27,34 +27,34 @@
...
@@ -27,34 +27,34 @@
<img
src=
"/static/image/load.gif"
/>
<img
src=
"/static/image/load.gif"
/>
</a>
</a>
{% elif vm.state == 'ACTIVE' %}
{% elif vm.state == 'ACTIVE' %}
<a
href=
"{{vm.get_connect_uri}}"
data-id=
"{{ vm.id }}"
class=
"connect-vm
-button
"
title=
"{% trans "
Connect
"
%}"
>
<a
href=
"{{vm.get_connect_uri}}"
data-id=
"{{ vm.id }}"
class=
"connect-vm"
title=
"{% trans "
Connect
"
%}"
>
<img
src=
"/static/icons/plug.png"
alt=
"{% trans "
Connect
"
%}"
/>
<img
src=
"/static/icons/plug.png"
alt=
"{% trans "
Connect
"
%}"
/>
</a>
</a>
<a
href=
"#"
class=
"stop-vm
-button
"
data-name=
"{{ vm.name }}"
data-id=
"{{ vm.id }}"
title=
"{% trans "
Pause
"
%}"
>
<a
href=
"#"
class=
"stop-vm"
data-name=
"{{ vm.name }}"
data-id=
"{{ vm.id }}"
title=
"{% trans "
Pause
"
%}"
>
<img
src=
"/static/icons/control-pause.png"
alt=
"{% trans "
Pause
"
%}"
/>
<img
src=
"/static/icons/control-pause.png"
alt=
"{% trans "
Pause
"
%}"
/>
</a>
</a>
<a
href=
"#"
class=
"delete-vm
-button
"
data-name=
"{{ vm.name }}"
data-id=
"{{ vm.id }}"
title=
"{% trans "
Delete
"
%}"
>
<a
href=
"#"
class=
"delete-vm"
data-name=
"{{ vm.name }}"
data-id=
"{{ vm.id }}"
title=
"{% trans "
Delete
"
%}"
>
<img
src=
"/static/icons/minus-circle.png"
alt=
"{% trans "
Delete
"
%}"
/>
<img
src=
"/static/icons/minus-circle.png"
alt=
"{% trans "
Delete
"
%}"
/>
</a>
</a>
<a
href=
"#"
class=
"restart-vm
-button
"
data-name=
"{{ vm.name }}"
data-id=
"{{ vm.id }}"
title=
"{% trans "
Restart
"
%}"
>
<a
href=
"#"
class=
"restart-vm"
data-name=
"{{ vm.name }}"
data-id=
"{{ vm.id }}"
title=
"{% trans "
Restart
"
%}"
>
<img
src=
"/static/icons/arrow-circle-double.png"
alt=
"↺"
/>
<img
src=
"/static/icons/arrow-circle-double.png"
alt=
"↺"
/>
</a>
</a>
{% elif vm.state == 'PENDING' %}
{% elif vm.state == 'PENDING' %}
<a
href=
"#"
>
<a
href=
"#"
>
<img
src=
"/static/image/load.gif"
/>
<img
src=
"/static/image/load.gif"
/>
</a>
</a>
<a
style=
"float: right"
href=
"#"
class=
"delete-vm
-button
"
data-name=
"{{ vm.name }}"
data-id=
"{{ vm.id }}"
title=
"{% trans "
Delete
"
%}"
>
<a
style=
"float: right"
href=
"#"
class=
"delete-vm"
data-name=
"{{ vm.name }}"
data-id=
"{{ vm.id }}"
title=
"{% trans "
Delete
"
%}"
>
<img
src=
"/static/icons/minus-circle.png"
alt=
"{% trans "
Delete
"
%}"
/>
<img
src=
"/static/icons/minus-circle.png"
alt=
"{% trans "
Delete
"
%}"
/>
</a>
</a>
{% elif vm.state == 'STOPPED' %}
{% elif vm.state == 'STOPPED' %}
<a
href=
"#"
class=
"resume-vm
-button
"
data-name=
"{{ vm.name }}"
data-id=
"{{ vm.id }}"
title=
"{% trans "
Resume
"
%}"
>
<a
href=
"#"
class=
"resume-vm"
data-name=
"{{ vm.name }}"
data-id=
"{{ vm.id }}"
title=
"{% trans "
Resume
"
%}"
>
<img
src=
"/static/icons/control.png"
alt=
"{% trans "
Resume
"
%}"
/>
<img
src=
"/static/icons/control.png"
alt=
"{% trans "
Resume
"
%}"
/>
</a>
</a>
<a
href=
"#"
class=
"delete-vm
-button
"
data-name=
"{{ vm.name }}"
data-id=
"{{ vm.id }}"
title=
"{% trans "
Delete
"
%}"
>
<a
href=
"#"
class=
"delete-vm"
data-name=
"{{ vm.name }}"
data-id=
"{{ vm.id }}"
title=
"{% trans "
Delete
"
%}"
>
<img
src=
"/static/icons/minus-circle.png"
alt=
"{% trans "
Delete
"
%}"
/>
<img
src=
"/static/icons/minus-circle.png"
alt=
"{% trans "
Delete
"
%}"
/>
</a>
</a>
{% elif vm.state == 'FAILED' %}
{% elif vm.state == 'FAILED' %}
<a
href=
"#"
class=
"delete-vm
-button
"
data-name=
"{{ vm.name }}"
data-id=
"{{ vm.id }}"
title=
"{% trans "
Delete
"
%}"
>
<a
href=
"#"
class=
"delete-vm"
data-name=
"{{ vm.name }}"
data-id=
"{{ vm.id }}"
title=
"{% trans "
Delete
"
%}"
>
<img
src=
"/static/icons/minus-circle.png"
alt=
"{% trans "
Delete
"
%}"
/>
<img
src=
"/static/icons/minus-circle.png"
alt=
"{% trans "
Delete
"
%}"
/>
</a>
</a>
{% endif %}
{% endif %}
...
...
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