Commit 2907b381 by Kálmán Viktor

dashboard: move vm detail templates into a directory

parent 140761ac
...@@ -71,12 +71,12 @@ ...@@ -71,12 +71,12 @@
</ul> </ul>
<div class="tab-content panel-body"> <div class="tab-content panel-body">
<div class="tab-pane active" id="home">{% include "dashboard/vm-detail-home.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="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="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="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="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" id="activity">{% include "dashboard/vm-detail/activity.html" %}</div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -98,7 +98,7 @@ Interfaces</h2> ...@@ -98,7 +98,7 @@ Interfaces</h2>
<h4>{% trans "This VM doesn't have an IPv6 address!" %}</h4> <h4>{% trans "This VM doesn't have an IPv6 address!" %}</h4>
{% endif %} {% endif %}
</div><!-- /ipv6 --> </div><!-- /ipv6 -->
{% include "dashboard/vm-detail-network-port-add.html" %} {% include "dashboard/vm-detail/network-port-add.html" %}
</div> </div>
</div> </div>
</div> </div>
......
...@@ -813,7 +813,7 @@ def vm_activity(request, pk): ...@@ -813,7 +813,7 @@ def vm_activity(request, pk):
class TransferOwnershipView(LoginRequiredMixin, DetailView): class TransferOwnershipView(LoginRequiredMixin, DetailView):
model = Instance model = Instance
template_name = 'dashboard/vm-detail-tx-owner.html' template_name = 'dashboard/vm-detail/tx-owner.html'
def post(self, request, *args, **kwargs): def post(self, request, *args, **kwargs):
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment