#288 overlappingHost
This commit is contained in:
parent
9895f2c0d0
commit
f3e722716d
4 changed files with 399 additions and 298 deletions
|
@ -1,110 +1,148 @@
|
|||
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><tiles:insert template="/WEB-INF/view/common/admin/layout.jsp"
|
||||
flush="true">
|
||||
<tiles:put name="title">
|
||||
<bean:message key="labels.overlapping_host_configuration" />
|
||||
</tiles:put>
|
||||
<tiles:put name="header" value="/WEB-INF/view/common/admin/header.jsp" />
|
||||
<tiles:put name="footer" value="/WEB-INF/view/common/admin/footer.jsp" />
|
||||
<tiles:put name="menu" value="/WEB-INF/view/common/admin/menu.jsp" />
|
||||
<tiles:put name="menuType" value="overlappingHost" />
|
||||
<tiles:put name="headerScript" type="string"></tiles:put>
|
||||
<tiles:put name="body" type="string">
|
||||
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Fess | <bean:message key="labels.overlapping_host_configuration" /></title>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/head.jsp"></jsp:include>
|
||||
</head>
|
||||
<body class="skin-blue sidebar-mini">
|
||||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuType" value="overlapping_host" />
|
||||
</jsp:include>
|
||||
|
||||
<h3>
|
||||
<bean:message key="labels.overlapping_host_title_confirm" />
|
||||
</h3>
|
||||
<div class="content-wrapper">
|
||||
|
||||
<%-- Message: BEGIN --%>
|
||||
<div>
|
||||
<html:messages id="msg" message="true">
|
||||
<div class="alert-message info"><bean:write name="msg" ignore="true" /></div>
|
||||
</html:messages>
|
||||
<html:errors />
|
||||
</div>
|
||||
<%-- Message: END --%>
|
||||
|
||||
<div>
|
||||
<ul class="pills">
|
||||
<%-- Content Header --%>
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<bean:message key="labels.overlapping_host_title_details" />
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><s:link href="index">
|
||||
<bean:message key="labels.overlapping_host_link_list" />
|
||||
</s:link></li>
|
||||
<c:if test="${crudMode == 1}">
|
||||
<li class="active"><a href="#"><bean:message
|
||||
key="labels.overlapping_host_link_create" /></a></li>
|
||||
<li class="active"><a href="#"><bean:message key="labels.overlapping_host_link_create" /></a></li>
|
||||
</c:if>
|
||||
<c:if test="${crudMode == 2}">
|
||||
<li class="active"><a href="#"><bean:message
|
||||
key="labels.overlapping_host_link_update" /></a></li>
|
||||
<li class="active"><a href="#"><bean:message key="labels.overlapping_host_link_update" /></a></li>
|
||||
</c:if>
|
||||
<c:if test="${crudMode == 3}">
|
||||
<li class="active"><a href="#"><bean:message
|
||||
key="labels.overlapping_host_link_delete" /></a></li>
|
||||
<li class="active"><a href="#"><bean:message key="labels.overlapping_host_link_delete" /></a></li>
|
||||
</c:if>
|
||||
<c:if test="${crudMode == 4}">
|
||||
<li class="active"><a href="#"><bean:message
|
||||
key="labels.overlapping_host_link_confirm" /></a></li>
|
||||
<li class="active"><a href="#"><bean:message key="labels.overlapping_host_link_confirm" /></a></li>
|
||||
</c:if>
|
||||
</ul>
|
||||
</div>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<%-- Confirm Form: BEGIN --%>
|
||||
<s:form>
|
||||
<html:hidden property="crudMode" />
|
||||
<div>
|
||||
<c:if test="${crudMode==2 || crudMode==3 || crudMode==4}">
|
||||
<html:hidden property="id" />
|
||||
<html:hidden property="versionNo" />
|
||||
</c:if>
|
||||
<html:hidden property="createdBy" />
|
||||
<html:hidden property="createdTime" />
|
||||
<html:hidden property="sortOrder" />
|
||||
<table class="bordered-table zebra-striped" style="width: 500px;">
|
||||
<tbody>
|
||||
<section class="content">
|
||||
|
||||
<tr>
|
||||
<th style="width: 150px;"><bean:message
|
||||
key="labels.regular_name" /></th>
|
||||
<td>${f:h(regularName)}<html:hidden property="regularName" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><bean:message key="labels.overlapping_name" /></th>
|
||||
<td>${f:h(overlappingName)}<html:hidden
|
||||
property="overlappingName" /></td>
|
||||
</tr>
|
||||
<%-- Form --%>
|
||||
<s:form>
|
||||
<html:hidden property="crudMode" />
|
||||
<c:if test="${crudMode==2 || crudMode==3 || crudMode==4}">
|
||||
<html:hidden property="id" />
|
||||
<html:hidden property="versionNo" />
|
||||
</c:if>
|
||||
<html:hidden property="createdBy" />
|
||||
<html:hidden property="createdTime" />
|
||||
<html:hidden property="sortOrder" />
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box">
|
||||
<%-- Box Header --%>
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">
|
||||
<c:if test="${crudMode == 1}">
|
||||
<bean:message key="labels.overlapping_host_link_create" />
|
||||
</c:if>
|
||||
<c:if test="${crudMode == 2}">
|
||||
<bean:message key="labels.overlapping_host_link_update" />
|
||||
</c:if>
|
||||
<c:if test="${crudMode == 3}">
|
||||
<bean:message key="labels.overlapping_host_link_delete" />
|
||||
</c:if>
|
||||
<c:if test="${crudMode == 4}">
|
||||
<bean:message key="labels.overlapping_host_link_confirm" />
|
||||
</c:if>
|
||||
</h3>
|
||||
<div class="box-tools pull-right">
|
||||
<span class="label label-default"><s:link href="index">
|
||||
<bean:message key="labels.overlapping_host_link_list" />
|
||||
</s:link></span>
|
||||
</div>
|
||||
</div>
|
||||
<%-- Box Body --%>
|
||||
<div class="box-body">
|
||||
<%-- Message --%>
|
||||
<div>
|
||||
<html:messages id="msg" message="true">
|
||||
<div class="alert-message info">
|
||||
<bean:write name="msg" ignore="true" />
|
||||
</div>
|
||||
</html:messages>
|
||||
<html:errors />
|
||||
</div>
|
||||
|
||||
<%-- Form Fields --%>
|
||||
<table class="table table-bordered">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th class="col-xs-3"><bean:message key="labels.regular_name" /></th>
|
||||
<td>${f:h(regularName)}<html:hidden property="regularName" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><bean:message key="labels.overlapping_name" /></th>
|
||||
<td>${f:h(overlappingName)}<html:hidden property="overlappingName" /></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2"><c:if test="${crudMode == 1}">
|
||||
<input type="submit" class="btn small" name="create"
|
||||
value="<bean:message key="labels.overlapping_host_button_create"/>" />
|
||||
<input type="submit" class="btn small" name="editagain"
|
||||
value="<bean:message key="labels.overlapping_host_button_back"/>" />
|
||||
</c:if> <c:if test="${crudMode == 2}">
|
||||
<input type="submit" class="btn small" name="update"
|
||||
value="<bean:message key="labels.overlapping_host_button_update"/>" />
|
||||
<input type="submit" class="btn small" name="editagain"
|
||||
value="<bean:message key="labels.overlapping_host_button_back"/>" />
|
||||
</c:if> <c:if test="${crudMode == 3}">
|
||||
<input type="submit" class="btn small" name="delete"
|
||||
value="<bean:message key="labels.overlapping_host_button_delete"/>" />
|
||||
<input type="submit" class="btn small" name="back"
|
||||
value="<bean:message key="labels.overlapping_host_button_back"/>" />
|
||||
</c:if> <c:if test="${crudMode == 4}">
|
||||
<input type="submit" class="btn small" name="back"
|
||||
value="<bean:message key="labels.overlapping_host_button_back"/>" />
|
||||
<input type="submit" class="btn small" name="editfromconfirm"
|
||||
value="<bean:message key="labels.overlapping_host_button_edit"/>" />
|
||||
<input type="submit" class="btn small" name="deletefromconfirm"
|
||||
value="<bean:message key="labels.overlapping_host_button_delete"/>" />
|
||||
</c:if></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
</s:form>
|
||||
<%-- Confirm Form: BEGIN --%>
|
||||
<%-- Box Footer --%>
|
||||
<div class="box-footer">
|
||||
<c:if test="${crudMode == 1}">
|
||||
<input type="submit" class="btn" name="editagain" value="<bean:message key="labels.overlapping_host_button_back"/>" />
|
||||
<input type="submit" class="btn btn-primary" name="create"
|
||||
value="<bean:message key="labels.overlapping_host_button_create"/>"
|
||||
/>
|
||||
</c:if>
|
||||
<c:if test="${crudMode == 2}">
|
||||
<input type="submit" class="btn" name="editagain" value="<bean:message key="labels.overlapping_host_button_back"/>" />
|
||||
<input type="submit" class="btn btn-primary" name="update"
|
||||
value="<bean:message key="labels.overlapping_host_button_update"/>"
|
||||
/>
|
||||
</c:if>
|
||||
<c:if test="${crudMode == 3}">
|
||||
<input type="submit" class="btn" name="back" value="<bean:message key="labels.overlapping_host_button_back"/>" />
|
||||
<input type="submit" class="btn btn-primary" name="delete"
|
||||
value="<bean:message key="labels.overlapping_host_button_delete"/>"
|
||||
/>
|
||||
</c:if>
|
||||
<c:if test="${crudMode == 4}">
|
||||
<input type="submit" class="btn" name="back" value="<bean:message key="labels.overlapping_host_button_back"/>" />
|
||||
<input type="submit" class="btn" name="editfromconfirm"
|
||||
value="<bean:message key="labels.overlapping_host_button_edit"/>"
|
||||
/>
|
||||
<input type="submit" class="btn" name="deletefromconfirm"
|
||||
value="<bean:message key="labels.overlapping_host_button_delete"/>"
|
||||
/>
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</s:form>
|
||||
|
||||
</tiles:put>
|
||||
</tiles:insert>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/footer.jsp"></jsp:include>
|
||||
</div>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/foot.jsp"></jsp:include>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,97 +1,122 @@
|
|||
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><tiles:insert template="/WEB-INF/view/common/admin/layout.jsp"
|
||||
flush="true">
|
||||
<tiles:put name="title">
|
||||
<bean:message key="labels.overlapping_host_configuration" />
|
||||
</tiles:put>
|
||||
<tiles:put name="header" value="/WEB-INF/view/common/admin/header.jsp" />
|
||||
<tiles:put name="footer" value="/WEB-INF/view/common/admin/footer.jsp" />
|
||||
<tiles:put name="menu" value="/WEB-INF/view/common/admin/menu.jsp" />
|
||||
<tiles:put name="menuType" value="overlappingHost" />
|
||||
<tiles:put name="headerScript" type="string"></tiles:put>
|
||||
<tiles:put name="body" type="string">
|
||||
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Fess | <bean:message key="labels.overlapping_host_configuration" /></title>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/head.jsp"></jsp:include>
|
||||
</head>
|
||||
<body class="skin-blue sidebar-mini">
|
||||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuType" value="overlappintHost" />
|
||||
</jsp:include>
|
||||
|
||||
<h3>
|
||||
<bean:message key="labels.overlapping_host_title_details" />
|
||||
</h3>
|
||||
<div class="content-wrapper">
|
||||
|
||||
<%-- Message: BEGIN --%>
|
||||
<div>
|
||||
<html:messages id="msg" message="true">
|
||||
<div class="alert-message info"><bean:write name="msg" ignore="true" /></div>
|
||||
</html:messages>
|
||||
<html:errors />
|
||||
</div>
|
||||
<%-- Message: END --%>
|
||||
|
||||
<div>
|
||||
<ul class="pills">
|
||||
<%-- Content Header --%>
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<bean:message key="labels.overlapping_host_title_details" />
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><s:link href="index">
|
||||
<bean:message key="labels.overlapping_host_link_list" />
|
||||
</s:link></li>
|
||||
<c:if test="${crudMode == 1}">
|
||||
<li class="active"><a href="#"><bean:message
|
||||
key="labels.overlapping_host_link_create" /></a></li>
|
||||
<li class="active"><a href="#"><bean:message key="labels.overlapping_host_link_create" /></a></li>
|
||||
</c:if>
|
||||
<c:if test="${crudMode == 2}">
|
||||
<li class="active"><a href="#"><bean:message
|
||||
key="labels.overlapping_host_link_update" /></a></li>
|
||||
<li class="active"><a href="#"><bean:message key="labels.overlapping_host_link_update" /></a></li>
|
||||
</c:if>
|
||||
<c:if test="${crudMode == 3}">
|
||||
<li class="active"><a href="#"><bean:message
|
||||
key="labels.overlapping_host_link_delete" /></a></li>
|
||||
<li class="active"><a href="#"><bean:message key="labels.overlapping_host_link_delete" /></a></li>
|
||||
</c:if>
|
||||
<c:if test="${crudMode == 4}">
|
||||
<li class="active"><a href="#"><bean:message
|
||||
key="labels.overlapping_host_link_confirm" /></a></li>
|
||||
<li class="active"><a href="#"><bean:message key="labels.overlapping_host_link_confirm" /></a></li>
|
||||
</c:if>
|
||||
</ul>
|
||||
</div>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<%-- Edit Form: BEGIN --%>
|
||||
<s:form>
|
||||
<html:hidden property="crudMode" />
|
||||
<div>
|
||||
<c:if test="${crudMode==2}">
|
||||
<html:hidden property="id" />
|
||||
<html:hidden property="versionNo" />
|
||||
</c:if>
|
||||
<html:hidden property="createdBy" />
|
||||
<html:hidden property="createdTime" />
|
||||
<html:hidden property="sortOrder" />
|
||||
<table class="bordered-table zebra-striped" style="width: 500px;">
|
||||
<tbody>
|
||||
<section class="content">
|
||||
|
||||
<tr>
|
||||
<th style="width: 150px;"><bean:message
|
||||
key="labels.regular_name" /></th>
|
||||
<td><html:text property="regularName" style="width:98%" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><bean:message key="labels.overlapping_name" /></th>
|
||||
<td><html:text property="overlappingName" style="width:98%" /></td>
|
||||
</tr>
|
||||
<%-- Form --%>
|
||||
<s:form>
|
||||
<html:hidden property="crudMode" />
|
||||
<c:if test="${crudMode==2}">
|
||||
<html:hidden property="id" />
|
||||
<html:hidden property="versionNo" />
|
||||
</c:if>
|
||||
<html:hidden property="createdBy" />
|
||||
<html:hidden property="createdTime" />
|
||||
<html:hidden property="sortOrder" />
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box">
|
||||
<%-- Box Header --%>
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">
|
||||
<c:if test="${crudMode == 1}">
|
||||
<bean:message key="labels.overlapping_host_link_create" />
|
||||
</c:if>
|
||||
<c:if test="${crudMode == 2}">
|
||||
<bean:message key="labels.overlapping_host_link_update" />
|
||||
</c:if>
|
||||
</h3>
|
||||
<div class="box-tools pull-right">
|
||||
<span class="label label-default"><s:link href="index">
|
||||
<bean:message key="labels.overlapping_host_link_list" />
|
||||
</s:link></span>
|
||||
</div>
|
||||
</div>
|
||||
<%-- Box Body --%>
|
||||
<div class="box-body">
|
||||
<%-- Message --%>
|
||||
<div>
|
||||
<html:messages id="msg" message="true">
|
||||
<div class="alert-message info">
|
||||
<bean:write name="msg" ignore="true" />
|
||||
</div>
|
||||
</html:messages>
|
||||
<html:errors />
|
||||
</div>
|
||||
|
||||
<%-- Form Fields --%>
|
||||
<div class="form-group">
|
||||
<label for="regularName"><bean:message key="labels.regular_name" /></label>
|
||||
<html:text property="regularName" styleClass="form-control" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="overlappingName"><bean:message key="labels.overlapping_name" /></label>
|
||||
<html:text property="overlappingName" styleClass="form-control" />
|
||||
</div>
|
||||
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2"><c:if test="${crudMode == 1}">
|
||||
<input type="submit" class="btn small" name="confirmfromcreate"
|
||||
value="<bean:message key="labels.overlapping_host_button_create"/>" />
|
||||
<input type="submit" class="btn small" name="back"
|
||||
value="<bean:message key="labels.overlapping_host_button_back"/>" />
|
||||
</c:if> <c:if test="${crudMode == 2}">
|
||||
<input type="submit" class="btn small" name="confirmfromupdate"
|
||||
value="<bean:message key="labels.overlapping_host_button_confirm"/>" />
|
||||
<input type="submit" class="btn small" name="back"
|
||||
value="<bean:message key="labels.overlapping_host_button_back"/>" />
|
||||
</c:if></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
</s:form>
|
||||
<%-- Edit Form: BEGIN --%>
|
||||
<%-- Box Footer --%>
|
||||
<div class="box-footer">
|
||||
<c:if test="${crudMode == 1}">
|
||||
<input type="submit" class="btn" name="back" value="<bean:message key="labels.overlapping_host_button_back"/>" />
|
||||
<input type="submit" class="btn btn-primary" name="confirmfromcreate"
|
||||
value="<bean:message key="labels.overlapping_host_button_create"/>"
|
||||
/>
|
||||
</c:if>
|
||||
<c:if test="${crudMode == 2}">
|
||||
<input type="submit" class="btn" name="back" value="<bean:message key="labels.overlapping_host_button_back"/>" />
|
||||
<input type="submit" class="btn btn-primary" name="confirmfromupdate"
|
||||
value="<bean:message key="labels.overlapping_host_button_confirm"/>"
|
||||
/>
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</s:form>
|
||||
|
||||
</tiles:put>
|
||||
</tiles:insert>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/footer.jsp"></jsp:include>
|
||||
</div>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/foot.jsp"></jsp:include>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,20 +1,50 @@
|
|||
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><tiles:insert template="/WEB-INF/view/common/admin/layout.jsp" flush="true">
|
||||
<tiles:put name="title"><bean:message key="labels.overlapping_host_configuration" /></tiles:put>
|
||||
<tiles:put name="header" value="/WEB-INF/view/common/admin/header.jsp" />
|
||||
<tiles:put name="footer" value="/WEB-INF/view/common/admin/footer.jsp" />
|
||||
<tiles:put name="menu" value="/WEB-INF/view/common/admin/menu.jsp" />
|
||||
<tiles:put name="menuType" value="fileoverlappingHost" />
|
||||
<tiles:put name="headerScript" type="string"></tiles:put>
|
||||
<tiles:put name="body" type="string">
|
||||
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Fess | <bean:message key="labels.overlapping_host_configuration" /></title>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/head.jsp"></jsp:include>
|
||||
</head>
|
||||
<body class="skin-blue sidebar-mini">
|
||||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuType" value="overlappintHost" />
|
||||
</jsp:include>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<html:errors/>
|
||||
<br>
|
||||
<s:link href="index"><bean:message key="labels.overlapping_host_button_back"/></s:link>
|
||||
<div class="content-wrapper">
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<bean:message key="labels.wizard_start_title" />
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li class="active"><s:link href="/admin/overlappingHost/">
|
||||
<bean:message key="labels.overlapping_host_link_list" />
|
||||
</s:link></li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
<section class="content">
|
||||
|
||||
</tiles:put>
|
||||
</tiles:insert>
|
||||
<div class="callout callout-danger lead">
|
||||
<h4>Error</h4>
|
||||
<p>
|
||||
<html:errors />
|
||||
</p>
|
||||
<p>
|
||||
<s:link href="index">
|
||||
<bean:message key="labels.overlapping_host_button_back" />
|
||||
</s:link>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/footer.jsp"></jsp:include>
|
||||
|
||||
</div>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/foot.jsp"></jsp:include>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,119 +1,127 @@
|
|||
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><tiles:insert template="/WEB-INF/view/common/admin/layout.jsp"
|
||||
flush="true">
|
||||
<tiles:put name="title">
|
||||
<bean:message key="labels.overlapping_host_configuration" />
|
||||
</tiles:put>
|
||||
<tiles:put name="header" value="/WEB-INF/view/common/admin/header.jsp" />
|
||||
<tiles:put name="footer" value="/WEB-INF/view/common/admin/footer.jsp" />
|
||||
<tiles:put name="menu" value="/WEB-INF/view/common/admin/menu.jsp" />
|
||||
<tiles:put name="menuType" value="overlappingHost" />
|
||||
<tiles:put name="headerScript" type="string"></tiles:put>
|
||||
<tiles:put name="body" type="string">
|
||||
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Fess | <bean:message key="labels.overlapping_host_configuration" /></title>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/head.jsp"></jsp:include>
|
||||
</head>
|
||||
<body class="skin-blue sidebar-mini">
|
||||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="crawl" />
|
||||
<jsp:param name="menuType" value="overlappingHost" />
|
||||
</jsp:include>
|
||||
|
||||
<h3>
|
||||
<bean:message key="labels.overlapping_host_title_details" />
|
||||
</h3>
|
||||
<div class="content-wrapper">
|
||||
|
||||
<%-- Message: BEGIN --%>
|
||||
<div>
|
||||
<html:messages id="msg" message="true">
|
||||
<div class="alert-message info"><bean:write name="msg" ignore="true" /></div>
|
||||
</html:messages>
|
||||
<html:errors />
|
||||
</div>
|
||||
<%-- Message: END --%>
|
||||
|
||||
<%-- List: BEGIN --%>
|
||||
<div class="list-table">
|
||||
<div>
|
||||
<ul class="pills">
|
||||
<li class="active"><a href="#"><bean:message
|
||||
key="labels.overlapping_host_link_list" /></a></li>
|
||||
<li><s:link href="createpage">
|
||||
<bean:message key="labels.overlapping_host_link_create_new" />
|
||||
<%-- Content Header --%>
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<bean:message key="labels.overlapping_host_configuration" />
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li class="active"><s:link href="index">
|
||||
<bean:message key="labels.overlapping_host_link_list" />
|
||||
</s:link></li>
|
||||
</ul>
|
||||
</div>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<c:if test="${overlappingHostPager.allRecordCount == 0}">
|
||||
<p class="alert-message warning">
|
||||
<bean:message key="labels.list_could_not_find_crud_table" />
|
||||
</p>
|
||||
</c:if>
|
||||
<c:if test="${overlappingHostPager.allRecordCount > 0}">
|
||||
<table class="bordered-table zebra-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align: center;"><bean:message
|
||||
key="labels.regular_name" /></th>
|
||||
<th style="text-align: center;"><bean:message
|
||||
key="labels.overlapping_name" /></th>
|
||||
<th style="text-align: center;"> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="data" varStatus="s"
|
||||
items="${overlappingHostItems}">
|
||||
<tr class="${s.index % 2 == 0 ? 'row1' : 'row2'}">
|
||||
<td>${f:h(data.regularName)}</td>
|
||||
<td>${f:h(data.overlappingName)}</td>
|
||||
<td style="text-align: center;"><s:link
|
||||
href="confirmpage/4/${f:u(data.id)}">
|
||||
<bean:message key="labels.overlapping_host_link_details" />
|
||||
</s:link> <s:link href="editpage/2/${f:u(data.id)}">
|
||||
<bean:message key="labels.overlapping_host_link_edit" />
|
||||
</s:link> <s:link href="deletepage/3/${f:u(data.id)}">
|
||||
<bean:message key="labels.overlapping_host_link_delete" />
|
||||
</s:link></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
<%-- Page Navigation: BEGIN --%>
|
||||
<div class="row center">
|
||||
<div class="pagination">
|
||||
<ul>
|
||||
<c:if test="${overlappingHostPager.existPrePage}">
|
||||
<li class="prev"><s:link
|
||||
href="list/${overlappingHostPager.currentPageNumber - 1}">
|
||||
<bean:message key="labels.overlapping_host_link_prev_page" />
|
||||
</s:link></li>
|
||||
</c:if>
|
||||
<c:if test="${!overlappingHostPager.existPrePage}">
|
||||
<li class="prev disabled"><a href="#"><bean:message
|
||||
key="labels.overlapping_host_link_prev_page" /></a></li>
|
||||
</c:if>
|
||||
<c:forEach var="p" varStatus="s"
|
||||
items="${overlappingHostPager.pageNumberList}">
|
||||
<li
|
||||
<c:if test="${p == overlappingHostPager.currentPageNumber}">class="active"</c:if>>
|
||||
<s:link href="list/${p}">${p}</s:link>
|
||||
</li>
|
||||
</c:forEach>
|
||||
<c:if test="${overlappingHostPager.existNextPage}">
|
||||
<li class="next"><s:link
|
||||
href="list/${overlappingHostPager.currentPageNumber + 1}">
|
||||
<bean:message key="labels.overlapping_host_link_next_page" />
|
||||
</s:link></li>
|
||||
</c:if>
|
||||
<c:if test="${!overlappingHostPager.existNextPage}">
|
||||
<li class="next disabled"><a href="#"><bean:message
|
||||
key="labels.overlapping_host_link_next_page" /></a></li>
|
||||
</c:if>
|
||||
</ul>
|
||||
</div>
|
||||
<section class="content">
|
||||
|
||||
<div>
|
||||
<span><bean:message key="labels.pagination_page_guide_msg"
|
||||
arg0="${f:h(overlappingHostPager.currentPageNumber)}"
|
||||
arg1="${f:h(overlappingHostPager.allPageCount)}"
|
||||
arg2="${f:h(overlappingHostPager.allRecordCount)}" /></span>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box">
|
||||
<%-- Box Header --%>
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">
|
||||
<bean:message key="labels.overlapping_host_link_list" />
|
||||
</h3>
|
||||
<div class="box-tools pull-right">
|
||||
<span class="label label-default"><s:link href="createpage">
|
||||
<bean:message key="labels.overlapping_host_link_create_new" />
|
||||
</s:link></span>
|
||||
</div>
|
||||
</div>
|
||||
<%-- Box Body --%>
|
||||
<div class="box-body">
|
||||
<%-- Message --%>
|
||||
<div>
|
||||
<html:messages id="msg" message="true">
|
||||
<div class="alert-message info">
|
||||
<bean:write name="msg" ignore="true" />
|
||||
</div>
|
||||
</html:messages>
|
||||
<html:errors />
|
||||
</div>
|
||||
|
||||
<%-- List --%>
|
||||
<c:if test="${overlappingHostPager.allRecordCount == 0}">
|
||||
<p class="alert-message warning">
|
||||
<bean:message key="labels.list_could_not_find_crud_table" />
|
||||
</p>
|
||||
</c:if>
|
||||
<c:if test="${overlappingHostPager.allRecordCount > 0}">
|
||||
<table class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><bean:message key="labels.regular_name" /></th>
|
||||
<th><bean:message key="labels.overlapping_name" /></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="data" varStatus="s" items="${overlappingHostItems}">
|
||||
<tr class="${s.index % 2 == 0 ? 'row1' : 'row2'}" data-href="confirmpage/4/${f:u(data.id)}">
|
||||
<td>${f:h(data.regularName)}</td>
|
||||
<td>${f:h(data.overlappingName)}</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</c:if>
|
||||
|
||||
</div>
|
||||
<%-- Box Footer --%>
|
||||
<div class="box-footer">
|
||||
<%-- Paging Info --%>
|
||||
<span><bean:message key="labels.pagination_page_guide_msg" arg0="${f:h(overlappingHostPager.currentPageNumber)}"
|
||||
arg1="${f:h(overlappingHostPager.allPageCount)}" arg2="${f:h(overlappingHostPager.allRecordCount)}"
|
||||
/></span>
|
||||
|
||||
<%-- Paging Navigation --%>
|
||||
<ul class="pagination pagination-sm no-margin pull-right">
|
||||
<c:if test="${overlappingHostPager.existPrePage}">
|
||||
<li class="prev"><s:link href="list/${overlappingHostPager.currentPageNumber - 1}">
|
||||
<bean:message key="labels.overlapping_host_link_prev_page" />
|
||||
</s:link></li>
|
||||
</c:if>
|
||||
<c:if test="${!overlappingHostPager.existPrePage}">
|
||||
<li class="prev disabled"><a href="#"><bean:message key="labels.overlapping_host_link_prev_page" /></a></li>
|
||||
</c:if>
|
||||
<c:forEach var="p" varStatus="s" items="${overlappingHostPager.pageNumberList}">
|
||||
<li <c:if test="${p == overlappingHostPager.currentPageNumber}">class="active"</c:if>><s:link href="list/${p}">${p}</s:link>
|
||||
</li>
|
||||
</c:forEach>
|
||||
<c:if test="${overlappingHostPager.existNextPage}">
|
||||
<li class="next"><s:link href="list/${overlappingHostPager.currentPageNumber + 1}">
|
||||
<bean:message key="labels.overlapping_host_link_next_page" />
|
||||
</s:link></li>
|
||||
</c:if>
|
||||
<c:if test="${!overlappingHostPager.existNextPage}">
|
||||
<li class="next disabled"><a href="#"><bean:message key="labels.overlapping_host_link_next_page" /></a></li>
|
||||
</c:if>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%-- Page Navigation: END --%>
|
||||
</c:if>
|
||||
</div>
|
||||
<%-- List: END --%>
|
||||
|
||||
</tiles:put>
|
||||
</tiles:insert>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/footer.jsp"></jsp:include>
|
||||
</div>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/foot.jsp"></jsp:include>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Reference in a new issue