-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathclusters.html
More file actions
37 lines (35 loc) · 942 Bytes
/
clusters.html
File metadata and controls
37 lines (35 loc) · 942 Bytes
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
28
29
30
31
32
33
34
35
36
37
{% extends "web/base.html" %}
{% load humanize %}
{% block title %}Clusters{% endblock %}
{% block content %}
<div class="pink">
<h1>{% if clusters %}{{ clusters|length|apnumber|capfirst }}{% else %}No{% endif %} Cluster{{ clusters|pluralize }}</h1>
{% for cluster in clusters %}
<a name="cluster.id"></a>
<div class="row-fluid well">
<div class="span3">
<h3>{{ cluster.id }}</h3>
</div>
<div class="span6">
<dl class="dl-horizontal">
<dt>Updated</dt>
<dd>{{ cluster.updated }}</dd>
<dt>Created</dt>
<dd>{{ cluster.created }}</dd>
<dt>Owned by</dt>
<dd>{{ cluster.owner }}</dd>
{% if domain %}
<dt>Domain</dt>
<dd>{{ cluster.domain }}</dd>
{% endif %}
</dl>
</div>
<div class="span3">
{% for node in cluster.jobs %}
{{ job }}
{% endfor %}
</div>
</div>
{% endfor %}
</div>
{% endblock %}