{% extends "base.html" %}

{% block bodycontent %}
    {% if nodes %}
        <table class='table'>
            <thead>
                <tr>
                    <th>Name</th>
                    <th>Environment</th>
                    <th>Roles</th>
                    <th>IP Address</th>
                </tr>
            </thead>
            {% for node in nodes %}
                <tr>
                    <td>
                        {{ node.name }}
                    </td>
                    <td>
                        {{ node.chef_environment }}
                    </td>
                    <td>
                        {% for role in node.role %}{{ role }}{% if not forloop.last %}, {% endif %}{% endfor %}
                    </td>
                    <td>
                        {{ node.ipaddress }}
                    </td>
                </tr>
            {% endfor %}
        </table>
    {% else %}
        <h3>There are no nodes that fit the supplied criteria.</h3>
    {% endif %}
{% endblock %}

{% extends "base.html" %}

{% block bodycontent %}
    {% if nodes %}
        <table class='table'>
            <thead>
                <tr>
                    <th>Name</th>
                    <th>Environment</th>
                    <th>Roles</th>
                    <th>IP Address</th>
                </tr>
            </thead>
            {% for node in nodes %}
                <tr>
                    <td>
                        {{ node.name }}
                    </td>
                    <td>
                        {{ node.ipaddress }}
                    </td>
                    <td>
                        {{ node.chef_environment }}
                    </td>
                    <td>
                        {% for role in node.role %}{{ role }}{% if not forloop.last %}, {% endif %}{% endfor %}
                    </td>
                </tr>
            {% endfor %}
        </table>
    {% else %}
        <h3>There are no nodes that fit the supplied criteria.</h3>
    {% endif %}
{% endblock %}

Move IP Address column to beside the Name column
Move IP Address column to beside the Name column
