|
@@ -20,54 +20,76 @@
|
|
|
</div>
|
|
|
<%-- Message: END --%>
|
|
|
|
|
|
+ <div>
|
|
|
+ <h3>
|
|
|
+ <bean:message key="labels.system_title_system_status" />
|
|
|
+ </h3>
|
|
|
+ <table class="bordered-table zebra-striped">
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <th><bean:message key="labels.solr_current_select_server" />
|
|
|
+ </th>
|
|
|
+ <td>${f:h(currentServerForSelect)} (<c:if
|
|
|
+ test="${currentServerStatusForSelect=='ACTIVE'}">
|
|
|
+ <bean:message key="labels.solr_active" />
|
|
|
+ </c:if> <c:if test="${currentServerStatusForSelect!='ACTIVE'}">
|
|
|
+ <bean:message key="labels.solr_inactive" />
|
|
|
+ </c:if>)
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th><bean:message key="labels.solr_current_update_server" />
|
|
|
+ </th>
|
|
|
+ <td>${f:h(currentServerForUpdate)} (<c:if
|
|
|
+ test="${currentServerStatusForUpdate=='ACTIVE'}">
|
|
|
+ <bean:message key="labels.solr_active" />
|
|
|
+ </c:if> <c:if test="${currentServerStatusForUpdate!='ACTIVE'}">
|
|
|
+ <bean:message key="labels.solr_inactive" />
|
|
|
+ </c:if>)
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+
|
|
|
<s:form>
|
|
|
<div>
|
|
|
<h3>
|
|
|
- <bean:message key="labels.system_title_system_status" />
|
|
|
+ <bean:message key="labels.crawler_status_title" />
|
|
|
</h3>
|
|
|
<table class="bordered-table zebra-striped">
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<th style="width: 200px;"><bean:message
|
|
|
- key="labels.solr_process_running" /></th>
|
|
|
+ key="labels.crawler_process_running" /></th>
|
|
|
<td>
|
|
|
<span style="margin-right:20px;">
|
|
|
<c:if test="${crawlerRunning}">
|
|
|
- <bean:message key="labels.solr_running" />
|
|
|
- <c:if test="${runningSessionId!=null}">(${f:h(runningSessionId)})</c:if>
|
|
|
+ <bean:message key="labels.crawler_running" />
|
|
|
</c:if><c:if test="${!crawlerRunning}">
|
|
|
- <bean:message key="labels.solr_stopped" />
|
|
|
+ <bean:message key="labels.crawler_stopped" />
|
|
|
</c:if>
|
|
|
</span>
|
|
|
- <c:if test="${crawlerRunning}">
|
|
|
- <input type="submit" class="btn" name="stop"
|
|
|
- value="<bean:message key="labels.solr_button_stop"/>" />
|
|
|
- </c:if> <c:if test="${!crawlerRunning}">
|
|
|
- <input type="submit" class="btn" name="start"
|
|
|
- value="<bean:message key="labels.solr_button_start"/>" />
|
|
|
- </c:if>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th><bean:message key="labels.solr_current_select_server" />
|
|
|
- </th>
|
|
|
- <td>${f:h(currentServerForSelect)} (<c:if
|
|
|
- test="${currentServerStatusForSelect=='ACTIVE'}">
|
|
|
- <bean:message key="labels.solr_active" />
|
|
|
- </c:if> <c:if test="${currentServerStatusForSelect!='ACTIVE'}">
|
|
|
- <bean:message key="labels.solr_inactive" />
|
|
|
- </c:if>)
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th><bean:message key="labels.solr_current_update_server" />
|
|
|
- </th>
|
|
|
- <td>${f:h(currentServerForUpdate)} (<c:if
|
|
|
- test="${currentServerStatusForUpdate=='ACTIVE'}">
|
|
|
- <bean:message key="labels.solr_active" />
|
|
|
- </c:if> <c:if test="${currentServerStatusForUpdate!='ACTIVE'}">
|
|
|
- <bean:message key="labels.solr_inactive" />
|
|
|
- </c:if>)
|
|
|
+ <th style="width: 200px;"><bean:message
|
|
|
+ key="labels.crawler_process_action" /></th>
|
|
|
+ <td>
|
|
|
+ <c:if test="${!crawlerRunning}">
|
|
|
+ <input type="submit" class="btn" name="start"
|
|
|
+ value="<bean:message key="labels.crawler_button_start"/>" />
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${crawlerRunning}">
|
|
|
+ <html:select property="sessionId" style="width:100px">
|
|
|
+ <option value=""><bean:message key="labels.crawler_sessionid_all"/></option>
|
|
|
+ <c:forEach var="runningSessionId" items="${runningSessionIds}">
|
|
|
+ <option value="${f:h(runningSessionId)}">${f:h(runningSessionId)}</option>
|
|
|
+ </c:forEach>
|
|
|
+ </html:select>
|
|
|
+ <input type="submit" class="btn" name="stop"
|
|
|
+ value="<bean:message key="labels.crawler_button_stop"/>" />
|
|
|
+ </c:if>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|