initial commit
This commit is contained in:
parent
5aeabf52d6
commit
5a6bd1d07b
148 changed files with 7509 additions and 0 deletions
39
WebRoot/fragments/searchers/files/host_browse.jsp
Normal file
39
WebRoot/fragments/searchers/files/host_browse.jsp
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
|
||||
<%@ page import="java.util.Collection" %>
|
||||
<%@ page import="com.idca.fsim.searchers.files.models.Host" %>
|
||||
<%@ page import="com.idca.fsim.searchers.files.FilesListener" %>
|
||||
<%@ page import="com.idca.fsim.searchers.files.PathManager" %>
|
||||
<%
|
||||
Collection hosts = FilesListener.getPathManager().getHosts();
|
||||
request.setAttribute("hosts",hosts);
|
||||
%>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="host" items="${hosts}">
|
||||
<tr>
|
||||
<td>> <c:out value="${host.hostname}"/></td>
|
||||
<td>
|
||||
<span class="resultDetails">
|
||||
<%
|
||||
Host host = (Host)request.getAttribute("host");
|
||||
out.println(host.getRootPaths().size());
|
||||
%>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="resultDetails">
|
||||
<c:out value="${host.lastScanned}"/>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
Loading…
Add table
Add a link
Reference in a new issue