26 lines
877 B
HTML
26 lines
877 B
HTML
{% extends 'django_openstack/dash/base.html' %}
|
|
|
|
{% block sidebar %}
|
|
{% with current_sidebar="snapshots" %}
|
|
{{block.super}}
|
|
{% endwith %}
|
|
{% endblock %}
|
|
|
|
{% block page_header %}
|
|
{% url dash_snapshots request.user.tenant as refresh_link %}
|
|
{# to make searchable false, just remove it from the include statement #}
|
|
{% include "django_openstack/common/_page_header.html" with title="Snapshots" refresh_link=refresh_link searchable="true" %}
|
|
{% endblock page_header %}
|
|
|
|
{% block dash_main %}
|
|
{% if images %}
|
|
{% include 'django_openstack/dash/images/_list.html' %}
|
|
{% else %}
|
|
<div class="message_box info">
|
|
<h2>Info</h2>
|
|
<p>There are currently no snapshots. You can create snapshots from running instances. <a href='{% url dash_instances request.user.tenant %}'>View Running Instances >></a></p>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|