index.ftl 1004 Bytes
<a href="/environment/new" data-toggle="tooltip" title="Add a new Environment!">Add New</a>
<table class="table table-striped table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>IP</th>        
        <th>Alfresco Path</th>        
        <th>Status</th>
        <th>With Tenant</th>
        <th>Version</th>
        <th></th>
      </tr>
    </thead>
    <tbody>
    <#list environments as env>
     <tr>
     	<td>${env.getName()}</td>
     	<td>${env.getIp()}</td>
     	<td><a href="${env.getAlfrescoPath()}" target="_blank">${env.getAlfrescoPath()}</a></td>     	
     	<td align="center">${env.getStatus()}</td>
     	<td align="center">${env.getTenant()}</td>
     	<td><pre>${env.getVersion()}</pre></td>
     	<td>      	
     		<form method="DELETE" action="/environment/delete/${env.getId()}">     		
     			<button type="submit" class="btn btn-small">Delete</button>
     		</form>     	 
     	</td>				 		
 	 </tr>
 	 </#list>
 	</tbody>
 </table>