1
{% extends "maasserver/base.html" %}
3
{% block nav-active-cluster-list %}active{% endblock %}
4
{% block title %}{{ status_name }} clusters{% endblock %}
5
{% block page-title %}{{ current_count }}{% if input_query %} matching{% endif %} {{ status_name|lower }} cluster{{ current_count|pluralize }} in {% include "maasserver/site_title.html" %}{% endblock %}
6
{% block site-switcher %}{% endblock %}
7
{% block header-search %}{% endblock %}
10
<div id="clusters" style="position: relative;">
12
<h2 id="clusters">{{ title }}</h2>
13
<table class="list" id="clusters-list">
14
{% include "maasserver/cluster_listing_head.html" %}
16
{% for cluster in cluster_list %}
17
{% cycle 'even' 'odd' as cycle silent %}
18
{% include "maasserver/cluster_listing_row.html" with cycle=cycle warning_no_images=warn_no_images %}
22
{% include "maasserver/pagination.html" %}
24
{% if status == statuses.ACCEPTED %}
26
action="{% url 'cluster-list' %}">
28
<input type="hidden" name="import_all_boot_images" value="1" />
29
<input type="submit" class="button right" value="Import boot images" />
32
{% if status == statuses.PENDING %}
33
<form id="reject_all_pending_nodegroups"
35
action="{% url 'cluster-list' %}">
37
<input type="hidden" name="mass_accept_submit" value="1" />
38
<input type="submit" class="button right" value="Accept all" />
40
<form id="accept_all_pending_nodegroups"
42
action="{% url 'cluster-list' %}">
44
<input type="hidden" name="mass_reject_submit" value="1" />
45
<input type="submit" class="button right space-right-small"
51
<div class="clear"></div>
b'\\ No newline at end of file'