{{#with nodes}}
<h2>Nodes</h2>
<table class="table">
    <tr>
        <th>Node</th><th>Profile</th><th>Queries</th><th>Enabled</th><th>Index</th>
    </tr>
    {{#each .}}
        <tr>
            <td>
                <a href="/nodes/{{id}}">node-{{id}}</a>
            </td>
            <td>
                {{configuration.profile}}
            </td>
            <td>
                {{#if configuration.acceptQueries}}
                    &check;
                {{/if}}
            </td>
            <td>
                {{#unless configuration.disabled}}
                    &check;
                {{/unless}}
            </td>
            {{#if indexServiceOnline}}<td>Online</td>{{/if}}
            {{#unless indexServiceOnline}}<td class="table-danger">Offline</td>{{/unless}}
        </tr>
    {{/each}}
</table>
{{/with}}