root / templates / m_index.html @ 064ecc91
History | View | Annotate | Download (553 Bytes)
1 |
{% extends "m_base.html" %} |
---|---|
2 |
{% block content %} |
3 |
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b"> |
4 |
<li data-role="list-divider">Clusters</li> |
5 |
{% for cluster in object_list %} |
6 |
<li><a href="{% url cluster_detail cluster.slug %}"> |
7 |
<h3>{{ cluster.hostname }}</h3> |
8 |
{% with cluster.get_cluster_info as info %} |
9 |
<p><strong>Ganeti version</strong>: {{ info.software_version }}</p> |
10 |
<p><strong>Master node</strong>: {{ info.master }}</p> |
11 |
{% endwith %} |
12 |
</a></li> |
13 |
{% endfor %} |
14 |
</ul>
|
15 |
{% endblock %} |