Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
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
6bb818a6
authored
Mar 06, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: add expiration info and renew button to vm-detail
closes #45
parent
2c9fc11e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
circle/dashboard/templates/dashboard/vm-detail/home.html
+10
-0
No files found.
circle/dashboard/templates/dashboard/vm-detail/home.html
View file @
6bb818a6
...
@@ -8,6 +8,16 @@
...
@@ -8,6 +8,16 @@
<dd><small>
{{ instance.description }}
</small></dd>
<dd><small>
{{ instance.description }}
</small></dd>
</dl>
</dl>
<h4>
{% trans "Expiration" %} {% if instance.is_expiring %}
<i
class=
"icon-warning-sign text-danger"
></i>
{% endif %}
<a
href=
"{% url "
dashboard
.
views
.
vm-renew
"
instance
.
pk
""
%}"
class=
"btn btn-success btn-xs pull-right"
>
{% trans "renew" %}
</a>
</h4>
<dl>
<dt>
{% trans "Suspended at:" %}
</dt>
<dd><i
class=
"icon-moon"
></i>
{{ instance.time_of_suspend|timeuntil }}
</dd>
<dt>
{% trans "Destroyed at:" %}
</dt>
<dd><i
class=
"icon-remove"
></i>
{{ instance.time_of_delete|timeuntil }}
</dd>
</dl>
<div
style=
"font-weight: bold;"
>
{% trans "Tags" %}
</div>
<div
style=
"font-weight: bold;"
>
{% trans "Tags" %}
</div>
<div
id=
"vm-details-tags"
style=
"margin-bottom: 20px;"
>
<div
id=
"vm-details-tags"
style=
"margin-bottom: 20px;"
>
<div
id=
"vm-details-tags-list"
>
<div
id=
"vm-details-tags-list"
>
...
...
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