<!DOCTYPE html>
<html>
    <head>
        <title>Cloud9 Rocks!</title>
    </head>
    <body>

    <table class="table">
        <tr>
            <th>Name</th>
            <th>Size</th>
        </tr>
        <% if (!isRoot) { %>
            <tr>
                <td><a href="..">..</a></td>
                <td></td></td>
            </tr>
        <% } %>
        <% entries.forEach(function(entry) { %>
            <tr>
                <td>
                    <span class="glyphicon <%= entry.mime == 'directory' ? 'folder': 'file'%>"></span>
                    <a href="<%= entry.name %>"><%= entry.name %></a>
                </td>
                <td><%= entry.size %></td>
            </tr>
        <% }) %>
    </table>
    <input  placeholder="Username or email" 
<%
if (typeof window != 'undefined') { 
%>
value="<%=window%>"
<% 
	}
%>
								/>
    </body>
</html>