1
<h2 id="accepted-clusters">Cluster controllers</h2>
2
<table class="list" id="accepted-clusters-list">
4
{% for cluster in accepted_clusters %}
5
{% cycle 'even' 'odd' as cycle silent %}
6
{% include "maasserver/settings_cluster_listing_row.html" with cycle=cycle %}
10
{% if pending_clusters %}
11
<h3 id="pending-clusters">Pending clusters</h3>
12
<table class="list" id="pending-clusters-list">
14
{% for cluster in pending_clusters %}
15
{% cycle 'even' 'odd' as cycle silent %}
16
{% include "maasserver/settings_cluster_listing_row.html" with cycle=cycle %}
21
<form id="reject_all_pending_nodegroups"
23
action="{% url 'settings' %}">
25
<input type="hidden" name="mass_accept_submit" value="1" />
26
<input type="submit" class="button right" value="Accept all" />
28
<form id="accept_all_pending_nodegroups"
30
action="{% url 'settings' %}">
32
<input type="hidden" name="mass_reject_submit" value="1" />
33
<input type="submit" class="button right space-right-small"
37
<div class="clear"></div>
39
{% if rejected_clusters %}
40
<h3 id="rejected-clusters">Rejected clusters</h3>
41
<table class="list" id="rejected-clusters-list">
43
{% for cluster in rejected_clusters %}
44
{% cycle 'even' 'odd' as cycle silent %}
45
{% include "maasserver/settings_cluster_listing_row.html" with cycle=cycle %}