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
2907b381
authored
Jan 08, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: move vm detail templates into a directory
parent
140761ac
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
8 additions
and
8 deletions
+8
-8
circle/dashboard/templates/dashboard/vm-detail.html
+6
-6
circle/dashboard/templates/dashboard/vm-detail/access.html
+0
-0
circle/dashboard/templates/dashboard/vm-detail/activity.html
+0
-0
circle/dashboard/templates/dashboard/vm-detail/console.html
+0
-0
circle/dashboard/templates/dashboard/vm-detail/home.html
+0
-0
circle/dashboard/templates/dashboard/vm-detail/network-port-add.html
+0
-0
circle/dashboard/templates/dashboard/vm-detail/network.html
+1
-1
circle/dashboard/templates/dashboard/vm-detail/resources.html
+0
-0
circle/dashboard/templates/dashboard/vm-detail/tx-owner.html
+0
-0
circle/dashboard/views.py
+1
-1
No files found.
circle/dashboard/templates/dashboard/vm-detail.html
View file @
2907b381
...
...
@@ -71,12 +71,12 @@
</ul>
<div
class=
"tab-content panel-body"
>
<div
class=
"tab-pane active"
id=
"home"
>
{% include "dashboard/vm-detail
-
home.html" %}
</div>
<div
class=
"tab-pane"
id=
"resources"
>
{% include "dashboard/vm-detail
-
resources.html" %}
</div>
<div
class=
"tab-pane"
id=
"console"
>
{% include "dashboard/vm-detail
-
console.html" %}
</div>
<div
class=
"tab-pane"
id=
"access"
>
{% include "dashboard/vm-detail
-
access.html" %}
</div>
<div
class=
"tab-pane"
id=
"network"
>
{% include "dashboard/vm-detail
-
network.html" %}
</div>
<div
class=
"tab-pane"
id=
"activity"
>
{% include "dashboard/vm-detail
-
activity.html" %}
</div>
<div
class=
"tab-pane active"
id=
"home"
>
{% include "dashboard/vm-detail
/
home.html" %}
</div>
<div
class=
"tab-pane"
id=
"resources"
>
{% include "dashboard/vm-detail
/
resources.html" %}
</div>
<div
class=
"tab-pane"
id=
"console"
>
{% include "dashboard/vm-detail
/
console.html" %}
</div>
<div
class=
"tab-pane"
id=
"access"
>
{% include "dashboard/vm-detail
/
access.html" %}
</div>
<div
class=
"tab-pane"
id=
"network"
>
{% include "dashboard/vm-detail
/
network.html" %}
</div>
<div
class=
"tab-pane"
id=
"activity"
>
{% include "dashboard/vm-detail
/
activity.html" %}
</div>
</div>
</div>
</div>
...
...
circle/dashboard/templates/dashboard/vm-detail
-
access.html
→
circle/dashboard/templates/dashboard/vm-detail
/
access.html
View file @
2907b381
File moved
circle/dashboard/templates/dashboard/vm-detail
-
activity.html
→
circle/dashboard/templates/dashboard/vm-detail
/
activity.html
View file @
2907b381
File moved
circle/dashboard/templates/dashboard/vm-detail
-
console.html
→
circle/dashboard/templates/dashboard/vm-detail
/
console.html
View file @
2907b381
File moved
circle/dashboard/templates/dashboard/vm-detail
-
home.html
→
circle/dashboard/templates/dashboard/vm-detail
/
home.html
View file @
2907b381
File moved
circle/dashboard/templates/dashboard/vm-detail
-
network-port-add.html
→
circle/dashboard/templates/dashboard/vm-detail
/
network-port-add.html
View file @
2907b381
File moved
circle/dashboard/templates/dashboard/vm-detail
-
network.html
→
circle/dashboard/templates/dashboard/vm-detail
/
network.html
View file @
2907b381
...
...
@@ -98,7 +98,7 @@ Interfaces</h2>
<h4>
{% trans "This VM doesn't have an IPv6 address!" %}
</h4>
{% endif %}
</div>
<!-- /ipv6 -->
{% include "dashboard/vm-detail
-
network-port-add.html" %}
{% include "dashboard/vm-detail
/
network-port-add.html" %}
</div>
</div>
</div>
...
...
circle/dashboard/templates/dashboard/vm-detail
-
resources.html
→
circle/dashboard/templates/dashboard/vm-detail
/
resources.html
View file @
2907b381
File moved
circle/dashboard/templates/dashboard/vm-detail
-
tx-owner.html
→
circle/dashboard/templates/dashboard/vm-detail
/
tx-owner.html
View file @
2907b381
File moved
circle/dashboard/views.py
View file @
2907b381
...
...
@@ -813,7 +813,7 @@ def vm_activity(request, pk):
class
TransferOwnershipView
(
LoginRequiredMixin
,
DetailView
):
model
=
Instance
template_name
=
'dashboard/vm-detail
-
tx-owner.html'
template_name
=
'dashboard/vm-detail
/
tx-owner.html'
def
post
(
self
,
request
,
*
args
,
**
kwargs
):
try
:
...
...
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