1 |
29542
|
nikon.gasp
|
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
2 |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
3 |
|
|
<%@ taglib prefix="s" uri="/struts-tags"%>
|
4 |
|
|
<html>
|
5 |
|
|
<head>
|
6 |
|
|
<link href="jsps/style.css" rel="stylesheet" type="text/css" media="screen" />
|
7 |
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
8 |
|
|
<!--<meta http-equiv="refresh" content="13" >-->
|
9 |
|
|
<title><s:text name="browseJobs.title"/></title>
|
10 |
|
|
<link href="jsps/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
11 |
|
|
</head>
|
12 |
|
|
<body class="left">
|
13 |
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
14 |
|
|
|
15 |
|
|
<script type="text/javascript">
|
16 |
|
|
$(document).ready(function() {
|
17 |
|
|
$('.tabs .tab-links a').on('click', function(e) {
|
18 |
|
|
var currentAttrValue = $(this).attr('href');
|
19 |
|
|
|
20 |
|
|
// Show/Hide Tabs
|
21 |
|
|
$('.tabs ' + currentAttrValue).show().siblings().hide();
|
22 |
|
|
|
23 |
|
|
// Change/remove current tab to active
|
24 |
|
|
$(this).parent('li').addClass('active').siblings().removeClass('active');
|
25 |
|
|
|
26 |
|
|
e.preventDefault();
|
27 |
|
|
});
|
28 |
|
|
});
|
29 |
|
|
</script>
|
30 |
|
|
|
31 |
|
|
<div id="wrapper">
|
32 |
|
|
<jsp:include page="menu.jsp"/>
|
33 |
|
|
<div id="page">
|
34 |
|
|
<div id="page-bgtop">
|
35 |
|
|
<div id="middle">
|
36 |
|
|
<div class="middle-b">
|
37 |
|
|
<div class="background">
|
38 |
|
|
<div id="left">
|
39 |
|
|
<div id="left_container">
|
40 |
|
|
<h2 class="helpHdr">Info</h2>
|
41 |
|
|
<s:text name="help.browsevalidations"/>
|
42 |
|
|
</div>
|
43 |
|
|
</div>
|
44 |
|
|
<div id="main">
|
45 |
|
|
<div id="main_container" class="clearfix">
|
46 |
|
|
<div id="mainmiddle" class="floatbox">
|
47 |
|
|
<h1 class="title"><s:text name="browseJobs.title"/></h1>
|
48 |
|
|
|
49 |
|
|
<s:if test="%{enableCuration}">
|
50 |
|
|
<s:form action="curateDB">
|
51 |
|
|
<s:textfield key="browseJobs.deleteOlds" name="inDate" value="YYYY-MM-DD"/>
|
52 |
|
|
<s:select name="mode"
|
53 |
|
|
key="browseJobs.whatToDelete"
|
54 |
|
|
list="#{'all':'All jobs', 'custom_only':'Custom only', 'uncompleted_only':'Uncompleted jobs'}"
|
55 |
|
|
required="true"
|
56 |
|
|
/>
|
57 |
|
|
<s:submit cssClass="button-default"/>
|
58 |
|
|
</s:form>
|
59 |
|
|
</s:if>
|
60 |
|
|
|
61 |
|
|
<div class="info">Refresh (F5) to see the progress of the latest activities.</div>
|
62 |
|
|
<div class="tabs">
|
63 |
|
|
<ul class="tab-links">
|
64 |
|
|
<li class="active"><a href="#tab1">Compatibility Tests</a></li>
|
65 |
|
|
<li><a href="#tab2">Registration Requests</a></li>
|
66 |
|
|
</ul>
|
67 |
|
|
|
68 |
|
|
<div class="tab-content">
|
69 |
|
|
<div id="tab1" class="tab active">
|
70 |
|
|
<!-- <div class="entry"> -->
|
71 |
|
|
<table class="zebra" width="100%">
|
72 |
|
|
<thead>
|
73 |
|
|
<tr>
|
74 |
|
|
<th scope="col" style="width:25%"><s:text name="browseJobs.type"/></th>
|
75 |
|
|
<th scope="col"><s:text name="browseJobs.status"/></th>
|
76 |
|
|
<th scope="col"><s:text name="browseJobs.score"/></th>
|
77 |
|
|
<th scope="col" style="width:25%"><s:text name="browseJobs.user"/></th>
|
78 |
|
|
<th scope="col"><s:text name="browseJobs.started"/></th>
|
79 |
|
|
<th scope="col"><s:text name="browseJobs.duration"/></th>
|
80 |
|
|
<th scope="col" style="width:25%"><s:text name="browseJobs.repo"/></th>
|
81 |
|
|
<th scope="col"><s:text name="browseJobs.ruleset"/></th>
|
82 |
|
|
<th scope="col"><s:text name="browseJobs.details"/></th>
|
83 |
|
|
</tr>
|
84 |
|
|
</thead>
|
85 |
|
|
<tbody>
|
86 |
|
|
<s:iterator value="jobs" var="job">
|
87 |
|
|
<tr class="${property % 2 == 0 ? 'even' : 'odd'}">
|
88 |
|
|
<td class="wrapword"><s:property value="type"/></td>
|
89 |
|
|
<td class="wrapword"><s:property value="status"/></td>
|
90 |
|
|
<td class="wrapword"><s:property value="score"/></td>
|
91 |
|
|
<td class="wrapword"> <s:property value="user"/></td>
|
92 |
|
|
<td class="wrapword"><s:property value="started"/></td>
|
93 |
|
|
<td class="wrapword"><s:property value="duration"/></td>
|
94 |
|
|
<td class="wrapword"><s:property value="repo"/></td>
|
95 |
|
|
<td><s:property value="ruleset"/></td>
|
96 |
|
|
<td>
|
97 |
|
|
<s:if test="%{!#job.error.equals(\"no errors\")}">
|
98 |
|
|
<a href='<s:url action="prepareSummary"><s:param name="jobId" value="%{#job.id}"/><s:param name="groupBy" value="'all'"/></s:url>'><s:text name="browseJobs.link2errors"/></a>
|
99 |
|
|
</s:if>
|
100 |
|
|
<s:elseif test="%{#job.status.equals(\"finished\")}">
|
101 |
|
|
<a href='<s:url action="prepareSummary"><s:param name="jobId" value="%{#job.id}"/><s:param name="groupBy" value="'all'"/></s:url>'><s:text name="browseJobs.summary"/></a>
|
102 |
|
|
</s:elseif>
|
103 |
|
|
<s:elseif test="%{#job.status.equals(\"finished-failed\")}">
|
104 |
|
|
<s:property value="error_information"/>
|
105 |
|
|
</s:elseif>
|
106 |
|
|
<s:else>
|
107 |
|
|
<s:text name="browseJobs.resultNotYet"/>
|
108 |
|
|
</s:else>
|
109 |
|
|
<%--<a href='<s:url action="prepareJobDetails"><s:param name="jobId" value="%{#job.id}"/></s:url>'><s:text name="browseJobs.go"/></a>--%>
|
110 |
|
|
</td>
|
111 |
|
|
</tr>
|
112 |
|
|
</s:iterator>
|
113 |
|
|
</tbody>
|
114 |
|
|
</table>
|
115 |
|
|
<!-- </div> -->
|
116 |
|
|
</div>
|
117 |
|
|
|
118 |
|
|
<div id="tab2" class="tab">
|
119 |
|
|
<!-- <div class="entry"> -->
|
120 |
|
|
|
121 |
|
|
<s:iterator value="jobs" var="job">
|
122 |
|
|
<table class="zebra" width="100%">
|
123 |
|
|
<%-- <tr class="${property % 2 == 0 ? 'even' : 'odd'}"> --%>
|
124 |
|
|
<tr class="${property % 2 == 0 ? 'even' : 'odd'}">
|
125 |
|
|
<td colspan=1 class="fieldName"><s:text name="browseJobs.type"/>:<td colspan=2><s:property value="type"/></td>
|
126 |
|
|
<td colspan=1 class="fieldName"><s:text name="browseJobs.status"/>:</td><td><s:property value="status"/></td>
|
127 |
|
|
<td colspan=1 class="fieldName"><s:text name="browseJobs.user"/>:<td> <s:property value="user"/></td>
|
128 |
|
|
<td colspan=1 class="fieldName"><s:text name="browseJobs.ruleset"/>:<td><s:property value="ruleset"/></td>
|
129 |
|
|
</tr>
|
130 |
|
|
|
131 |
|
|
<tr class="${property % 2 == 0 ? 'odd' : 'even'}">
|
132 |
|
|
<td class="fieldName"><s:text name="browseJobs.score"/>:<td><s:property value="score"/></td>
|
133 |
|
|
<td class="fieldName"><s:text name="browseJobs.started"/>:<td><s:property value="started"/></td>
|
134 |
|
|
<td class="fieldName"><s:text name="browseJobs.duration"/>:<td><s:property value="duration"/></td>
|
135 |
|
|
<td class="fieldName"><s:text name="browseJobs.repo"/>:<td><s:property value="repo"/></td>
|
136 |
|
|
|
137 |
|
|
<tr>
|
138 |
|
|
|
139 |
|
|
<!-- <td rowspan=2> -->
|
140 |
|
|
<%-- <s:if test="%{!#job.error.equals(\"no errors\")}"> --%>
|
141 |
|
|
<%-- <a href='<s:url action="prepareSummary"><s:param name="jobId" value="%{#job.id}"/><s:param name="groupBy" value="'all'"/></s:url>'><s:text name="browseJobs.link2errors"/></a> --%>
|
142 |
|
|
<%-- </s:if> --%>
|
143 |
|
|
<%-- <s:elseif test="%{#job.status.equals(\"finished\")}"> --%>
|
144 |
|
|
<%-- <a href='<s:url action="prepareSummary"><s:param name="jobId" value="%{#job.id}"/><s:param name="groupBy" value="'all'"/></s:url>'><s:text name="browseJobs.summary"/></a> --%>
|
145 |
|
|
<%-- </s:elseif> --%>
|
146 |
|
|
<%-- <s:elseif test="%{#job.status.equals(\"finished-failed\")}"> --%>
|
147 |
|
|
<%-- <s:property value="error_information"/> --%>
|
148 |
|
|
<%-- </s:elseif> --%>
|
149 |
|
|
<%-- <s:else> --%>
|
150 |
|
|
<%-- <s:text name="browseJobs.resultNotYet"/> --%>
|
151 |
|
|
<%-- </s:else> --%>
|
152 |
|
|
<%-- <a href='<s:url action="prepareJobDetails"><s:param name="jobId" value="%{#job.id}"/></s:url>'><s:text name="browseJobs.go"/></a> --%>
|
153 |
|
|
<!-- </td> -->
|
154 |
|
|
<!-- </tr> -->
|
155 |
|
|
</table>
|
156 |
|
|
</s:iterator>
|
157 |
|
|
|
158 |
|
|
<!-- </div> -->
|
159 |
|
|
</div>
|
160 |
|
|
</div>
|
161 |
|
|
</div>
|
162 |
|
|
|
163 |
|
|
</div>
|
164 |
|
|
</div>
|
165 |
|
|
</div>
|
166 |
|
|
</div>
|
167 |
|
|
</div>
|
168 |
|
|
</div>
|
169 |
|
|
</div>
|
170 |
|
|
<!-- NMI This needs to be the same in all pages and the text is some properties file -->
|
171 |
|
|
<div id="footer">
|
172 |
|
|
<jsp:include page="footer.jsp"/>
|
173 |
|
|
</div>
|
174 |
|
|
</div>
|
175 |
|
|
</div>
|
176 |
|
|
</body>
|
177 |
|
|
</html>
|