summaryrefslogtreecommitdiff
path: root/horizon/dashboards/nova/containers/templates/containers/index.html
blob: 1dc45d98ea6853b2652049710cfd73d0816a5be0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends 'base.html' %}
{% load i18n %}
{% block title %}Containers{% endblock %}

{% block page_header %}
  <div class='page-header'>
    <h2>{% trans "Container" %}
      {% if subfolders %}
        : <a href="{% url horizon:nova:containers:index container_name|add:'/' %}">{{container_name}}</a>
        <small>/</small>
      {% elif container_name %}
        : {{container_name}}
      {% endif %}
      {% for subfolder, path in subfolders %}
        <small>
        {% if not forloop.last %}
          <a href="{% url horizon:nova:containers:index container_name|add:'/' path %}">
        {% endif %}{{ subfolder }}{% if not forloop.last %}</a> /{% endif %}
        </small>
      {% endfor %}
    </h2>
  </div>
{% endblock page_header %}

{% block main %}
  {{ swift_browser.render }}
{% endblock %}