Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gyuricska Milán
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d3474c44
authored
Mar 22, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: retouch vm-detail's status display
parent
79d910dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
11 deletions
+1
-11
circle/dashboard/templates/dashboard/vm-detail.html
+1
-11
No files found.
circle/dashboard/templates/dashboard/vm-detail.html
View file @
d3474c44
...
...
@@ -111,17 +111,7 @@
<div
class=
"row"
>
<div
class=
"col-md-4"
id=
"vm-info-pane"
>
<div
class=
"big"
>
<span
id=
"vm-details-state"
class=
"label label-success"
>
{{ instance.state }}
</span>
<div
class=
"btn-group"
>
<button
type=
"button"
class=
"btn btn-warning nojs-dropdown-toogle dropdown-toggle"
data-toggle=
"dropdown"
>
{% trans "Action" %}
<i
class=
"icon-caret-down"
></i></button>
<ul
class=
"nojs-dropdown-menu dropdown-menu"
role=
"menu"
>
<li><a
href=
"#"
class=
"vm-details-rename-button"
><i
class=
"icon-pencil"
></i>
{% trans "Rename" %}
</a></li>
<li><a
data-vm-pk=
"{{ instance.pk }}"
href=
"#"
class=
"vm-details-save-as-button"
><i
class=
"icon-save"
></i>
{% trans "Save as" %}
</a></li>
<li><a
href=
"#"
><i
class=
"icon-refresh"
></i>
{% trans "Reboot" %}
</a></li>
<li><a
href=
"#"
><i
class=
"icon-off"
></i>
{% trans "Shutdown" %}
</a></li>
<li><a
data-vm-pk=
"{{ instance.pk }}"
class=
"vm-delete"
href=
"{% url "
dashboard
.
views
.
delete-vm
"
pk=
instance.pk
%}"
><i
class=
"icon-remove"
></i>
{% trans "Discard" %}
</a></li>
</ul>
</div>
<span
id=
"vm-details-state"
class=
"label label-success"
><i
class=
"{{ instance.get_status_icon }}"
></i>
{{ instance.get_status_display|upper }}
</span>
</div>
<h3>
{% trans "Connection" %}
</h3>
<input
type=
"text"
value=
"{{ instance.get_connect_command }}"
class=
"form-control"
readonly
/>
...
...
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