Merge pull request #1755 from morishima-k/page-transition

Page transition
This commit is contained in:
Shinsuke Sugaya 2018-07-20 22:08:20 +09:00 committed by GitHub
commit 5cd9e3802d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 65 additions and 4 deletions

View file

@ -70,6 +70,9 @@
<c:set var="pager" value="${accessTokenPager}"
scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/accesstoken/list/${pager.allPageCount}";</script>
</c:if>
</c:if>
</div>
<!-- /.box-body -->

View file

@ -96,6 +96,9 @@
<c:set var="pager" value="${badWordPager}"
scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/badword/list/${pager.allPageCount}";</script>
</c:if>
</c:if>
</div>
<!-- /.box-body -->

View file

@ -70,6 +70,9 @@
<c:set var="pager" value="${boostDocPager}"
scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/boostdoc/list/${pager.allPageCount}";</script>
</c:if>
</c:if>
</div>
<!-- /.box-body -->

View file

@ -107,6 +107,9 @@
<c:set var="pager" value="${crawlingInfoPager}"
scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/crawlinginfo/list/${pager.allPageCount}";</script>
</c:if>
<div class="row">
<la:form action="/admin/crawlinginfo/">
<div class="col-sm-12 center">

View file

@ -75,8 +75,10 @@
</tbody>
</table>
<c:set var="pager" value="${dataConfigPager}" scope="request" />
<c:import
url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/dataconfig/list/${pager.allPageCount}";</script>
</c:if>
</div>
</div>
</c:if>

View file

@ -71,6 +71,9 @@
<c:set var="pager" value="${duplicateHostPager}"
scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/duplicatehost/list/${pager.allPageCount}";</script>
</c:if>
</c:if>
</div>
<!-- /.box-body -->

View file

@ -96,6 +96,9 @@
<c:set var="pager" value="${elevateWordPager}"
scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/elevateword/list/${pager.allPageCount}";</script>
</c:if>
</c:if>
</div>
<!-- /.box-body -->

View file

@ -126,6 +126,9 @@
</div>
<c:set var="pager" value="${failureUrlPager}" scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/failureurl/list/${pager.allPageCount}";</script>
</c:if>
<div class="row">
<la:form action="/admin/failureurl/">
<div class="col-sm-12 center">

View file

@ -80,6 +80,9 @@
</table>
<c:set var="pager" value="${fileAuthPager}" scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/fileauth/list/${pager.allPageCount}";</script>
</c:if>
</c:if>
</div>
<!-- /.box-body -->

View file

@ -77,8 +77,10 @@
</tbody>
</table>
<c:set var="pager" value="${fileConfigPager}" scope="request" />
<c:import
url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/fileconfig/list/${pager.allPageCount}";</script>
</c:if>
</div>
</div>
</c:if>

View file

@ -67,6 +67,9 @@
</div>
<c:set var="pager" value="${groupPager}" scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/group/list/${pager.allPageCount}";</script>
</c:if>
</c:if>
</div>
<!-- /.box-body -->

View file

@ -105,6 +105,9 @@
</div>
<c:set var="pager" value="${jobLogPager}" scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/joblog/list/${pager.allPageCount}";</script>
</c:if>
<div class="row">
<la:form action="/admin/joblog/">
<div class="col-sm-12 center">

View file

@ -70,6 +70,9 @@
</div>
<c:set var="pager" value="${pathMapPager}" scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/pathmap/list/${pager.allPageCount}";</script>
</c:if>
</c:if>
</div>
<!-- /.box-body -->

View file

@ -70,6 +70,9 @@
<c:set var="pager" value="${relatedContentPager}"
scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/relatedcontent/list/${pager.allPageCount}";</script>
</c:if>
</c:if>
</div>
<!-- /.box-body -->

View file

@ -70,6 +70,9 @@
<c:set var="pager" value="${relatedQueryPager}"
scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/relatedquery/list/${pager.allPageCount}";</script>
</c:if>
</c:if>
</div>
<!-- /.box-body -->

View file

@ -74,6 +74,9 @@
<c:set var="pager" value="${reqHeaderPager}"
scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/reqheader/list/${pager.allPageCount}";</script>
</c:if>
</c:if>
</div>
<!-- /.box-body -->

View file

@ -67,6 +67,9 @@
</div>
<c:set var="pager" value="${rolePager}" scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/role/list/${pager.allPageCount}";</script>
</c:if>
</c:if>
</div>
<!-- /.box-body -->

View file

@ -89,6 +89,9 @@
</div>
<c:set var="pager" value="${schedulerPager}" scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/scheduler/list/${pager.allPageCount}";</script>
</c:if>
</c:if>
</div>
<!-- /.box-body -->

View file

@ -67,6 +67,9 @@
</div>
<c:set var="pager" value="${userPager}" scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/user/list/${pager.allPageCount}";</script>
</c:if>
</c:if>
</div>
<!-- /.box-body -->

View file

@ -80,6 +80,9 @@
</table>
<c:set var="pager" value="${webAuthPager}" scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/webauth/list/${pager.allPageCount}";</script>
</c:if>
</c:if>
</div>
<!-- /.box-body -->

View file

@ -78,6 +78,9 @@
</div>
<c:set var="pager" value="${webConfigPager}" scope="request" />
<c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp" />
<c:if test="${pager.currentPageNumber > pager.allPageCount}">
<script>location.href = "${contextPath}/admin/webconfig/list/${pager.allPageCount}";</script>
</c:if>
</c:if>
</div>
<!-- /.box-body -->