Commit 51692379 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou Committed by Christos Stavrakakis
Browse files

ui: Create vm snapshot view

- New overlay view to handle vm snapshot creation
- Snapshot action available from vm single view

Conflicts:

	snf-cyclades-app/synnefo/ui/templates/partials/machines.html
	snf-cyclades-app/synnefo/ui/templates/partials/machines_single.html
parent 108cc93d
......@@ -7828,3 +7828,20 @@ option.project.select-item.selected {
border: 1px solid #aaa;
margin-top: 3px;
}
/* snapshots */
.snapshot-create-form .form-field {
margin-bottom: 10px;
}
.snapshot-create-form .form-field input {
width: 100%;
}
.snapshot-create-desc {
width: 99.5%;
height: 90px;
border: 1px solid #aaa;
margin-top: 3px;
}
......@@ -105,6 +105,7 @@
</div>
<div class="action-container resize">
<a class="single-action action-resize">{% trans "Resize" %}</a>
</div>
<div class="action-container snapshot">
<a class="single-action action-snapshot">{% trans "Snapshot" %}</a>
<div class="confirm_single">
......
......@@ -195,7 +195,7 @@ def home(request):
'request': request,
'current_lang': get_language() or 'en',
'compute_api_url': json.dumps(uisettings.COMPUTE_URL),
'volume_api_url': json.dumps(uisettings.VOLUME_URL),
'volume_api_url': json.dumps(uisettings.VOLUME_URL),
'network_api_url': json.dumps(uisettings.NETWORK_URL),
'user_catalog_url': json.dumps(uisettings.USER_CATALOG_URL),
'feedback_post_url': json.dumps(uisettings.FEEDBACK_URL),
......
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 to comment