mirror of https://gitee.com/stylefeng/guns
【form.html】由于form单独样式,增加form模板,前端优化后可与container合并
parent
7e2b80a4ab
commit
3de825e330
|
@ -16,19 +16,26 @@
|
|||
<meta charset="utf-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<link href="${ctxPath}/assets/expand/images/favicon.ico" rel="icon">
|
||||
<title>${title!"管理系统"}</title>
|
||||
<link rel="stylesheet" href="${ctxPath}/assets/common/libs/layui/css/layui.css?v=${constants.getReleaseVersion()}"/>
|
||||
<link rel="stylesheet" href="${ctxPath}/assets/common/module/admin.css?v=${constants.getReleaseVersion()}" media="all"/>
|
||||
<link rel="stylesheet" href="${ctxPath}/assets/common/module/admin.css?v=${constants.getReleaseVersion()}"/>
|
||||
<!-- 扩展样式 -->
|
||||
<link rel="stylesheet" href="${ctxPath}/assets/expand/css/form.css?v=${constants.getReleaseVersion()}" media="all"/>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!--其他插件css-->
|
||||
<!--插件css-->
|
||||
@if(isNotEmpty(plugins)){
|
||||
<!-- 此处由layui模块注册 建议弃用 -->
|
||||
@if(array.contain(plugins,"ztree")){
|
||||
<link href="${ctxPath}/assets/expand/plugins/ztree/zTreeStyle.css?v=${constants.getReleaseVersion()}" rel="stylesheet" type="text/css" />
|
||||
<link href="${ctxPath}/assets/expand/plugins/ztree/zTreeStyle.css?v=${constants.getReleaseVersion()}" rel="stylesheet" type="text/css" />
|
||||
@}
|
||||
@}
|
||||
|
||||
@/* 其他业务用的css */
|
||||
<!--业务css-->
|
||||
@if(isNotEmpty(css)){
|
||||
@for(item in css){
|
||||
@if(strutil.startWith(item,"/")){
|
||||
|
@ -41,43 +48,41 @@
|
|||
|
||||
<body>
|
||||
|
||||
@/* 页面加载loading */
|
||||
@ include("/layout/loading.html"){}
|
||||
|
||||
@/* 正文 */
|
||||
<!-- 正文开始 -->
|
||||
${layoutContent}
|
||||
<!-- 正文结束 -->
|
||||
|
||||
@/* 加入contextPath属性和session超时的配置 */
|
||||
<!-- js全局变量 -->
|
||||
<script type="text/javascript">
|
||||
var Feng = {
|
||||
ctxPath: "${ctxPath}",
|
||||
version: '${constants.getReleaseVersion()}'
|
||||
};
|
||||
</script>
|
||||
|
||||
@/* js和业务用的js数组 */
|
||||
<script type="text/javascript" src="${ctxPath}/assets/common/libs/layui/layui.js?v=${constants.getReleaseVersion()}"></script>
|
||||
<script type="text/javascript" src="${ctxPath}/assets/common/js/common.js?v=${constants.getReleaseVersion()}"></script>
|
||||
|
||||
<!--其他插件js-->
|
||||
@if(isNotEmpty(plugins)){
|
||||
<!-- ztree 由layui模块注册 建议弃用 -->
|
||||
@if(array.contain(plugins,"ztree")){
|
||||
<script src="${ctxPath}/assets/expand/plugins/jquery/jquery-3.2.1.min.js?v=${constants.getReleaseVersion()}"></script>
|
||||
<script src="${ctxPath}/assets/expand/plugins/ztree/jquery.ztree.all.min.js?v=${constants.getReleaseVersion()}"></script>
|
||||
<script src="${ctxPath}/assets/expand/plugins/jquery/jquery-3.2.1.min.js?v=${constants.getReleaseVersion()}"></script>
|
||||
<script src="${ctxPath}/assets/expand/plugins/ztree/jquery.ztree.all.min.js?v=${constants.getReleaseVersion()}"></script>
|
||||
@}
|
||||
@if(array.contain(plugins,"ue")){
|
||||
<script src="${ctxPath}/assets/expand/plugins/jquery/jquery-3.2.1.min.js"></script>
|
||||
<script src="${ctxPath}/assets/expand/plugins/ueditor/ueditor.config.js"></script>
|
||||
<script src="${ctxPath}/assets/expand/plugins/ueditor/ueditor.all.js"></script>
|
||||
<script src="${ctxPath}/assets/expand/plugins/jquery/jquery-3.2.1.min.js"></script>
|
||||
<script src="${ctxPath}/assets/expand/plugins/ueditor/ueditor.config.js"></script>
|
||||
<script src="${ctxPath}/assets/expand/plugins/ueditor/ueditor.all.js"></script>
|
||||
@}
|
||||
@if(array.contain(plugins,"tinymce")){
|
||||
<script src="${ctxPath}/assets/common/libs/tinymce/tinymce.min.js"></script>
|
||||
<script src="${ctxPath}/assets/common/libs/tinymce/tinymce.min.js"></script>
|
||||
@}
|
||||
@if(array.contain(plugins,"pinyin")){
|
||||
<script type="text/javascript" src="${ctxPath}/assets/common/libs/py/ChinesePY.js"></script>
|
||||
<script type="text/javascript" src="${ctxPath}/assets/common/libs/py/ChinesePY.js"></script>
|
||||
@}
|
||||
@}
|
||||
|
||||
<!-- 业务js -->
|
||||
@if(isNotEmpty(js)){
|
||||
@for(item in js){
|
||||
@if(strutil.startWith(item,"/")){
|
||||
|
|
Loading…
Reference in New Issue