Просмотр исходного кода

zheng-cms-admin引入公共头尾部

shuzheng 9 лет назад
Родитель
Сommit
7c2914f461

+ 18 - 0
zheng-cms/zheng-cms-admin/src/main/webapp/resources/inc/footer.jsp

@@ -0,0 +1,18 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<script>var BASE_PATH = '${basePath}';</script>
+<script src="${basePath}/resources/zheng-ui/plugins/jquery.1.12.4.min.js"></script>
+<script src="${basePath}/resources/zheng-ui/plugins/bootstrap-3.3.0/js/bootstrap.min.js"></script>
+<script src="${basePath}/resources/zheng-ui/plugins/bootstrap-table-1.11.0/bootstrap-table.min.js"></script>
+<script src="${basePath}/resources/zheng-ui/plugins/bootstrap-table-1.11.0/locale/bootstrap-table-zh-CN.min.js"></script>
+<script src="${basePath}/resources/zheng-ui/plugins/waves-0.7.5/waves.min.js"></script>
+<script src="${basePath}/resources/zheng-ui/plugins/jquery-confirm/jquery-confirm.min.js"></script>
+<script src="${basePath}/resources/zheng-ui/plugins/select2/js/select2.min.js"></script>
+<script src="${basePath}/resources/zheng-ui/plugins/zTree_v3/js/jquery.ztree.all.min.js"></script>
+<script src="${basePath}/resources/zheng-ui/js/common.js"></script>

+ 19 - 0
zheng-cms/zheng-cms-admin/src/main/webapp/resources/inc/head.jsp

@@ -0,0 +1,19 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<link href="${basePath}/resources/zheng-ui/plugins/bootstrap-3.3.0/css/bootstrap.min.css" rel="stylesheet"/>
+<link href="${basePath}/resources/zheng-ui/plugins/material-design-iconic-font-2.2.0/css/material-design-iconic-font.min.css" rel="stylesheet"/>
+<link href="${basePath}/resources/zheng-ui/plugins/bootstrap-table-1.11.0/bootstrap-table.min.css" rel="stylesheet"/>
+<link href="${basePath}/resources/zheng-ui/plugins/waves-0.7.5/waves.min.css" rel="stylesheet"/>
+<link href="${basePath}/resources/zheng-ui/plugins/jquery-confirm/jquery-confirm.min.css" rel="stylesheet"/>
+<link href="${basePath}/resources/zheng-ui/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet"/>
+<link href="${basePath}/resources/zheng-ui/plugins/jquery-confirm/jquery-confirm.min.css" rel="stylesheet"/>
+<link href="${basePath}/resources/zheng-ui/plugins/select2/css/select2.min.css" rel="stylesheet"/>
+<link href="${basePath}/resources/zheng-ui/plugins/select2/theme/select2-bootstrap.min.css" rel="stylesheet"/>
+<link href="${basePath}/resources/zheng-ui/plugins/zTree_v3/css/zTreeStyle/zTreeStyle.css" rel="stylesheet"/>
+<link href="${basePath}/resources/zheng-ui/css/common.css" rel="stylesheet"/>