ce749492a6a69b4799e83aa5abf54d93475637f0
[utils] / crawler / kissweb / src / webapp / WEB-INF / overview.jsp
1
2 <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
3 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
4
5 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
6 <html>
7   <head>
8     <title>KiSS Crawler overview page</title>
9     
10     <meta http-equiv="pragma" content="no-cache">
11     <meta http-equiv="cache-control" content="no-cache">
12     <meta http-equiv="expires" content="0">
13     <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
14     <meta http-equiv="description" content="This is my page">
15     
16     <!--
17     <link rel="stylesheet" type="text/css" href="styles.css">
18     -->
19   </head>
20   
21   <body>
22     <h1>KiSS Crawler Overview</h1>
23     
24     <TABLE border="1">
25       <tr>
26         <td>
27            Currently running:
28         </td>
29         <td>
30            <c:out value="${running}"/>
31         </td>
32       </tr>
33       <c:if test="${lastReport != null}">
34             <tr>
35         <td>
36           Last executed at:
37         </td>
38         <td>
39           <c:out value="${lastExecuted}"/>
40         </td>
41       </tr>
42       <tr>
43         <td>
44           Last result: 
45         </td>
46         <td>
47           <c:out value="${lastResult}"/>
48         </td>
49       </tr>
50         <tr>
51         <td>
52           Last message: 
53         </td>
54         <td>
55           <c:out value="${lastMessage}" escapeXml="false"/>
56         </td>
57         </tr>
58         <tr>
59         <td>
60           Last report: 
61         </td>
62         <td>
63           <a href="?details=1">details</a>
64         </td>
65         </tr>
66       </c:if>
67     </TABLE>
68     <c:if test="${!running}">
69     <FORM action="runnow">
70       <INPUT type="submit" name="runnow" value="Run Crawler as soon as possible">
71     </FORM>
72     </c:if>
73   </body>
74 </html>