{% extends 'layouts/layout_base.html' %}

{% load recursetags %}

{% block body_content %}
<div class="panel panel-default">
	<div class="panel-heading"><i class="glyphicon glyphicon-scale"></i> Available Pool Configurations</div>
	<div class="panel-body">
			<ul>
				{% for root in roots %}
			  	{% recurseconfig root %}
			  	<li>
				 <a href="{% url 'ec2spotmanager:configview' node.pk %}">{{ node.name }}</a>
				 {% if node.children %}
				 	<ul>{{ children }}</ul>
				 {% endif %}
				 {% endrecurseconfig %}
				</li>
				{% endfor %}
			</ul>
	</div>
</div>
{% endblock body_content %}

{% extends 'layouts/layout_base.html' %}

{% load recursetags %}

{% block body_content %}
<div class="panel panel-default">
	<div class="panel-heading"><i class="glyphicon glyphicon-scale"></i> Available Pool Configurations</div>
	<div class="panel-body">
		<div class="btn-group">
			<a href="{% url 'ec2spotmanager:configcreate' %}" class="btn btn-default">Create Configuration</a>
		</div>
		<br/>
		<hr/>
			<ul>
				{% for root in roots %}
			  	{% recurseconfig root %}
			  	<li>
				 <a href="{% url 'ec2spotmanager:configview' node.pk %}">{{ node.name }}</a>
				 {% if node.children %}
				 	<ul>{{ children }}</ul>
				 {% endif %}
				 {% endrecurseconfig %}
				</li>
				{% endfor %}
			</ul>
	</div>
</div>
{% endblock body_content %}

Add a button for creating a configuration from scratch.
Add a button for creating a configuration from scratch.
