Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JeeSpringCloud
Commits
e2a64d42
Commit
e2a64d42
authored
Nov 12, 2018
by
Huang
Browse files
no commit message
parent
0844dd86
Changes
414
Hide whitespace changes
Inline
Side-by-side
Too many changes to show.
To preserve performance only
20 of 414+
files are displayed.
Plain diff
Email patch
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/cms/siteForm.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<html>
<head>
<title>
站点管理
</title>
<meta
name=
"decorator"
content=
"default"
/>
<%@ include
file=
"/WEB-INF/views/include/head.jsp"
%>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
$
(
"
#name
"
).
focus
();
$
(
"
#inputForm
"
).
validate
({
submitHandler
:
function
(
form
){
loading
(
'
正在提交,请稍等...
'
);
form
.
submit
();
},
errorContainer
:
"
#messageBox
"
,
errorPlacement
:
function
(
error
,
element
)
{
$
(
"
#messageBox
"
).
text
(
"
输入有误,请先更正。
"
);
if
(
element
.
is
(
"
:checkbox
"
)
||
element
.
is
(
"
:radio
"
)
||
element
.
parent
().
is
(
"
.input-append
"
)){
error
.
appendTo
(
element
.
parent
().
parent
());
}
else
{
error
.
insertAfter
(
element
);
}
}
});
});
</script>
</head>
<body>
<ul
class=
"nav nav-tabs"
>
<li><a
href=
"${ctx}/cms/site/"
>
站点列表
</a></li>
<li
class=
"active"
><a
href=
"${ctx}/cms/site/form?id=${site.id}"
>
站点
<shiro:hasPermission
name=
"cms:site:edit"
>
${not empty site.id?'修改':'添加'}
</shiro:hasPermission><shiro:lacksPermission
name=
"cms:site:edit"
>
查看
</shiro:lacksPermission></a></li>
</ul><br/>
<form:form
id=
"inputForm"
modelAttribute=
"site"
action=
"
${
ctx
}
/cms/site/save"
method=
"post"
class=
"form-horizontal"
>
<form:hidden
path=
"id"
/>
<sys:message
content=
"
${
message
}
"
/>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
站点名称:
</label>
<div
class=
"controls"
>
<form:input
path=
"name"
htmlEscape=
"false"
maxlength=
"200"
class=
"input-xlarge required"
/>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
站点标题:
</label>
<div
class=
"controls"
>
<form:input
path=
"title"
htmlEscape=
"false"
maxlength=
"200"
class=
"input-xlarge required"
/>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
站点Logo:
</label>
<div
class=
"controls"
>
<form:hidden
path=
"logo"
htmlEscape=
"false"
maxlength=
"255"
class=
"input-xlarge"
/>
<sys:ckfinder
input=
"logo"
type=
"images"
uploadPath=
"/cms/site"
/>
<span
class=
"help-inline"
>
建议Logo大小:1000 × 145(像素)
</span>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
描述:
</label>
<div
class=
"controls"
>
<form:textarea
path=
"description"
htmlEscape=
"false"
rows=
"4"
maxlength=
"200"
class=
"input-xxlarge"
/>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
关键字:
</label>
<div
class=
"controls"
>
<form:input
path=
"keywords"
htmlEscape=
"false"
maxlength=
"200"
/>
<span
class=
"help-inline"
>
填写描述及关键字,有助于搜索引擎优化
</span>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
默认主题:
</label>
<div
class=
"controls"
>
<form:select
path=
"theme"
class=
"input-medium"
>
<form:options
items=
"
${
fns:
getDictList
(
'cms_theme'
)
}
"
itemLabel=
"label"
itemValue=
"value"
htmlEscape=
"false"
/>
</form:select>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
版权信息:
</label>
<div
class=
"controls"
>
<form:textarea
id=
"copyright"
htmlEscape=
"true"
path=
"copyright"
rows=
"4"
maxlength=
"200"
class=
"input-xxlarge"
/>
<sys:ckeditor
replace=
"copyright"
uploadPath=
"/cms/site"
/>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
自定义首页视图:
</label>
<div
class=
"controls"
>
<form:input
path=
"customIndexView"
htmlEscape=
"false"
maxlength=
"200"
/>
</div>
</div>
<div
class=
"form-actions"
>
<shiro:hasPermission
name=
"cms:site:edit"
><input
id=
"btnSubmit"
class=
"btn btn-primary"
type=
"submit"
value=
"保 存"
/>
</shiro:hasPermission>
<input
id=
"btnCancel"
class=
"btn"
type=
"button"
value=
"返 回"
onclick=
"history.go(-1)"
/>
</div>
</form:form>
</body>
</html>
\ No newline at end of file
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/cms/siteList.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<html>
<head>
<title>
站点管理
</title>
<meta
name=
"decorator"
content=
"default"
/>
<%@ include
file=
"/WEB-INF/views/include/headMeta.jsp"
%>
<%@ include
file=
"/WEB-INF/views/include/headCss.jsp"
%>
<%@ include
file=
"/WEB-INF/views/include/headJs.jsp"
%>
<script
type=
"text/javascript"
>
function
page
(
n
,
s
)
{
$
(
"
#pageNo
"
).
val
(
n
);
$
(
"
#pageSize
"
).
val
(
s
);
$
(
"
#searchForm
"
).
submit
();
return
false
;
}
</script>
</head>
<body>
<!-- 内容-->
<div
class=
"wrapper"
>
<!-- 内容盒子-->
<div
class=
"box box-main"
>
<!-- 内容盒子头部 -->
<div
class=
"box-header"
>
<div
class=
"box-title"
><i
class=
"fa fa-edit"
></i>
站点列表
</div>
<div
class=
"box-tools pull-right"
>
<a
id=
"btnSearchView"
href=
"#"
class=
"btn btn-sm btn-default"
title=
"查询"
><i
class=
"fa fa-filter"
></i>
查询
</a>
<button
id=
"btnRefresh"
class=
"btn btn-default btn-sm"
title=
"刷新"
><i
class=
"glyphicon glyphicon-repeat"
></i>
刷新
</button>
<shiro:hasPermission
name=
"cms:site:edit"
><a
href=
"${ctx}/cms/site/form"
class=
"btn btn-default btn-sm"
>
添加
</a></shiro:hasPermission>
</div>
</div>
<!-- 内容盒子身体 -->
<div
class=
"box-body"
>
<!-- 查询条件 -->
<form:form
id=
"searchForm"
modelAttribute=
"site"
action=
"
${
ctx
}
/cms/site/"
method=
"post"
class=
"form-inline"
>
<input
id=
"pageNo"
name=
"pageNo"
type=
"hidden"
value=
"${page.pageNo}"
/>
<input
id=
"pageSize"
name=
"pageSize"
type=
"hidden"
value=
"${page.pageSize}"
/>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
名称:
</label>
<div
class=
"control-inline"
>
<form:input
path=
"name"
htmlEscape=
"false"
maxlength=
"50"
class=
"form-control input-sm "
/>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
状态:
</label>
<div
class=
"control-inline"
>
<form:radiobuttons
onclick=
"$('#searchForm').submit();"
path=
"delFlag"
items=
"
${
fns:
getDictList
(
'del_flag'
)
}
"
itemLabel=
"label"
itemValue=
"value"
htmlEscape=
"false"
/>
</div>
</div>
<input
id=
"btnSubmit"
class=
"btn btn-primary"
type=
"submit"
value=
"查询"
/>
</form:form>
<sys:message
content=
"
${
message
}
"
/>
<table
id=
"contentTable"
class=
"table table-striped table-bordered table-condensed"
>
<thead>
<tr>
<th>
名称
</th>
<th>
标题
</th>
<th>
描述
</th>
<th>
关键字
</th>
<th>
主题
</th>
<shiro:hasPermission
name=
"cms:site:edit"
>
<th>
操作
</th>
</shiro:hasPermission></tr>
</thead>
<tbody>
<c:forEach
items=
"
${
page
.
list
}
"
var=
"site"
>
<tr>
<td><a
href=
"${ctx}/cms/site/form?id=${site.id}"
title=
"${site.name}"
>
${fns:abbr(site.name,40)}
</a></td>
<td>
${fns:abbr(site.title,40)}
</td>
<td>
${fns:abbr(site.description,40)}
</td>
<td>
${fns:abbr(site.keywords,40)}
</td>
<td>
${site.theme}
</td>
<shiro:hasPermission
name=
"cms:site:edit"
>
<td>
<a
href=
"${ctx}/cms/site/form?id=${site.id}"
>
修改
</a>
<a
href=
"${ctx}/cms/site/delete?id=${site.id}${site.delFlag ne 0?'&isRe=true':''}"
onclick=
"return confirmx('确认要${site.delFlag ne 0?'恢复':''}删除该站点吗?', this.href)"
>
${site.delFlag ne 0?'恢复':''}删除
</a>
</td>
</shiro:hasPermission>
</tr>
</c:forEach>
</tbody>
</table>
<!-- 没有信息数据 -->
<%@ include
file=
"/WEB-INF/views/include/tableNoData.jsp"
%>
<!-- 分页代码 -->
${page.toStringPage()}
</div>
</div>
</div>
<!-- 信息-->
<div
id=
"messageBox"
>
${message}
</div>
<%@ include
file=
"/WEB-INF/views/include/footJs.jsp"
%>
<script
src=
"/staticViews/viewBase.js"
></script></body>
</html>
\ No newline at end of file
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/cms/siteSelect.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<html>
<head>
<title>
站点切换
</title>
<meta
name=
"decorator"
content=
"default"
/>
<%@ include
file=
"/WEB-INF/views/include/headMeta.jsp"
%>
<%@ include
file=
"/WEB-INF/views/include/headCss.jsp"
%>
<%@ include
file=
"/WEB-INF/views/include/headJs.jsp"
%>
<script
type=
"text/javascript"
>
function
page
(
n
,
s
)
{
$
(
"
#pageNo
"
).
val
(
n
);
$
(
"
#pageSize
"
).
val
(
s
);
$
(
"
#searchForm
"
).
submit
();
return
false
;
}
</script>
</head>
<body>
<!-- 内容-->
<div
class=
"wrapper"
>
<!-- 内容盒子-->
<div
class=
"box box-main"
>
<!-- 内容盒子头部 -->
<div
class=
"box-header"
>
<div
class=
"box-title"
><i
class=
"fa fa-edit"
></i>
站点切换
</div>
<div
class=
"box-tools pull-right"
>
<a
id=
"btnSearchView"
href=
"#"
class=
"btn btn-sm btn-default"
title=
"查询"
><i
class=
"fa fa-filter"
></i>
查询
</a>
<button
id=
"btnRefresh"
class=
"btn btn-default btn-sm"
title=
"刷新"
><i
class=
"glyphicon glyphicon-repeat"
></i>
刷新
</button>
</div>
</div>
<!-- 内容盒子身体 -->
<div
class=
"box-body"
>
<!-- 查询条件 -->
<table
id=
"contentTable"
class=
"table table-striped table-bordered table-condensed"
>
<thead>
<tr>
<th>
名称
</th>
<shiro:hasPermission
name=
"cms:view"
>
<th>
操作
</th>
</shiro:hasPermission></tr>
</thead>
<tbody>
<c:forEach
items=
"
${
fnc:
getSiteList
()
}
"
var=
"site"
>
<tr>
<td>
<a
href=
"${ctx}/cms/site/select?id=${site.id}"
>
${site.name}
</a>
${fnc:getCurrentSiteId() eq site.id ? '
<font
color=
"red"
>
[当前站点]
</font>
' : ''}
</td>
<shiro:hasPermission
name=
"cms:view"
>
<td>
<a
href=
"${ctx}/cms/site/select?id=${site.id}"
>
切换
</a>
</td>
</shiro:hasPermission>
</tr>
</c:forEach>
</tbody>
</table>
<!-- 分页代码 -->
${page.toStringPage()}
</div>
</div>
</div>
<!-- 信息-->
<div
id=
"messageBox"
>
${message}
</div>
<%@ include
file=
"/WEB-INF/views/include/footJs.jsp"
%>
<script
src=
"/staticViews/viewBase.js"
></script></body>
</html>
\ No newline at end of file
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/cms/statsArticle.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<html>
<head>
<title>
信息量统计
</title>
<meta
name=
"decorator"
content=
"default"
/>
<%@ include
file=
"/WEB-INF/views/include/headMeta.jsp"
%>
<%@ include
file=
"/WEB-INF/views/include/headCss.jsp"
%>
<%@ include
file=
"/WEB-INF/views/include/headJs.jsp"
%>
<script
type=
"text/javascript"
>
function
autoRowSpan
(
tb
,
row
,
col
)
{
var
lastValue
=
""
,
value
=
""
,
pos
=
1
;
for
(
var
i
=
row
;
i
<
tb
.
rows
.
length
;
i
++
)
{
value
=
tb
.
rows
[
i
].
cells
[
col
].
innerText
;
if
(
lastValue
==
value
)
{
tb
.
rows
[
i
].
deleteCell
(
col
);
tb
.
rows
[
i
-
pos
].
cells
[
col
].
rowSpan
=
tb
.
rows
[
i
-
pos
].
cells
[
col
].
rowSpan
+
1
;
pos
++
;
}
else
{
lastValue
=
value
;
pos
=
1
;
}
}
}
$
(
document
).
ready
(
function
()
{
autoRowSpan
(
contentTable
,
0
,
0
);
$
(
"
td,th
"
).
css
({
"
text-align
"
:
"
center
"
,
"
vertical-align
"
:
"
middle
"
});
});
</script>
</head>
<body>
<!-- 内容-->
<div
class=
"wrapper"
>
<!-- 内容盒子-->
<div
class=
"box box-main"
>
<!-- 内容盒子头部 -->
<div
class=
"box-header"
>
<div
class=
"box-title"
><i
class=
"fa fa-edit"
></i>
信息量统计
</div>
<div
class=
"box-tools pull-right"
>
<a
id=
"btnSearchView"
href=
"#"
class=
"btn btn-sm btn-default"
title=
"查询"
><i
class=
"fa fa-filter"
></i>
查询
</a>
<button
id=
"btnRefresh"
class=
"btn btn-default btn-sm"
title=
"刷新"
><i
class=
"glyphicon glyphicon-repeat"
></i>
刷新
</button>
</div>
</div>
<!-- 内容盒子身体 -->
<div
class=
"box-body"
>
<!-- 查询条件 -->
<form:form
id=
"searchForm"
modelAttribute=
"article"
action=
"
${
ctx
}
/cms/stats/article"
method=
"post"
class=
"form-inline"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
归属栏目:
</label>
<sys:treeselect
id=
"category"
name=
"categoryId"
value=
"
${
paramMap
.
id
}
"
labelName=
"categoryName"
labelValue=
"
${
paramMap
.
name
}
"
title=
"栏目"
url=
"/cms/category/treeData"
module=
"article"
cssClass=
"form-control input-sm"
allowClear=
"true"
/>
<label
class=
"control-label"
>
归属机构:
</label>
<sys:treeselect
id=
"office"
name=
"officeId"
value=
"
${
paramMap
.
office
.
id
}
"
labelName=
"officeName"
labelValue=
"
${
paramMap
.
office
.
name
}
"
title=
"机构"
url=
"/sys/office/treeData"
cssClass=
"form-control input-sm"
allowClear=
"true"
/>
<label
class=
"control-label"
>
开始日期:
</label>
<div
class=
"control-inline"
>
<input
id=
"beginDate"
name=
"beginDate"
type=
"text"
readonly=
"readonly"
maxlength=
"20"
class=
"laydate-icon form-control layer-date input-sm Wdate"
value=
"${paramMap.beginDate}"
onclick=
"WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"
/>
</div>
<label
class=
"control-label"
>
结束日期:
</label>
<div
class=
"control-inline"
>
<input
id=
"endDate"
name=
"endDate"
type=
"text"
readonly=
"readonly"
maxlength=
"20"
class=
"laydate-icon form-control layer-date input-sm Wdate"
value=
"${paramMap.endDate}"
onclick=
"WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"
/>
</div>
<input
id=
"btnSubmit"
class=
"btn btn-primary"
type=
"submit"
value=
"查询"
/>
</div>
</form:form>
<table
id=
"contentTable"
class=
"table table-striped table-bordered table-condensed"
>
<thead>
<tr>
<th>
父级栏目
</th>
<th>
栏目名称
</th>
<th>
信息量
</th>
<th>
点击量
</th>
<th>
最后更新时间
</th>
<th>
归属机构
</th>
<tbody>
<c:forEach
items=
"
${
list
}
"
var=
"stats"
>
<tr>
<td><a
href=
"javascript:"
onclick=
"$('#categoryId').val('${stats.parent.id}');$('#categoryName').val('${stats.parent.name}');$('#searchForm').submit();return false;"
>
${stats.parent.name}
</a>
</td>
<td><a
href=
"javascript:"
onclick=
"$('#categoryId').val('${stats.id}');$('#categoryName').val('${stats.name}');$('#searchForm').submit();return false;"
>
${stats.name}
</a>
</td>
<td>
${stats.cnt}
</td>
<td>
${stats.hits}
</td>
<td><fmt:formatDate
value=
"
${
stats
.
updateDate
}
"
type=
"both"
/></td>
<td><a
href=
"javascript:"
onclick=
"$('#officeId').val('${stats.office.id}');$('#officeName').val('${stats.office.name}');$('#searchForm').submit();return false;"
>
${stats.office.name}
</a>
</td>
</tr>
</c:forEach>
</tbody>
</table>
<!-- 分页代码 -->
${page.toStringPage()}
</div>
</div>
</div>
<!-- 信息-->
<div
id=
"messageBox"
>
${message}
</div>
<%@ include
file=
"/WEB-INF/views/include/footJs.jsp"
%>
<script
src=
"/staticViews/viewBase.js"
></script></body>
</html>
\ No newline at end of file
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/cms/tplForm.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<html>
<head>
<title>
模板管理
</title>
<meta
name=
"decorator"
content=
"default"
/>
<%@ include
file=
"/WEB-INF/views/include/head.jsp"
%>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
$
(
"
#value
"
).
focus
();
$
(
"
#inputForm
"
).
validate
({
submitHandler
:
function
(
form
){
loading
(
'
正在提交,请稍等...
'
);
form
.
submit
();
},
errorContainer
:
"
#messageBox
"
,
errorPlacement
:
function
(
error
,
element
)
{
$
(
"
#messageBox
"
).
text
(
"
输入有误,请先更正。
"
);
if
(
element
.
is
(
"
:checkbox
"
)
||
element
.
is
(
"
:radio
"
)
||
element
.
parent
().
is
(
"
.input-append
"
)){
error
.
appendTo
(
element
.
parent
().
parent
());
}
else
{
error
.
insertAfter
(
element
);
}
}
});
});
</script>
</head>
<body>
<ul
class=
"nav nav-tabs"
>
<li
class=
"active"
><a>
模板管理
</a></li>
</ul><br/>
<form:form
id=
"inputForm"
modelAttribute=
"template"
action=
"
${
ctx
}
/cms/template/save"
method=
"post"
class=
"form-horizontal"
>
<form:hidden
path=
"name"
/>
<sys:message
content=
"
${
message
}
"
/>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
文件名:
</label>
<div
class=
"controls"
>
<form:input
path=
"filename"
htmlEscape=
"false"
maxlength=
"50"
class=
"required"
/>
</div>
</div>
<div
class=
"control-group"
>
<form:textarea
id=
"source"
path=
"source"
htmlEscape=
"true"
cssStyle=
"width:100%;height:460px;"
/>
<%--<sys:ckeditor replace="source" uploadPath="/cms/template" />--%>
</div>
<div
class=
"form-actions"
>
<shiro:hasPermission
name=
"cms:template:edit"
><input
id=
"btnSubmit"
class=
"btn btn-primary"
type=
"submit"
value=
"保 存"
/>
</shiro:hasPermission>
<input
id=
"btnCancel"
class=
"btn"
type=
"button"
value=
"返 回"
onclick=
"history.go(-1)"
/>
</div>
</form:form>
</body>
</html>
\ No newline at end of file
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/cms/tplHelp.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<html>
<head>
<title>
模板帮助文档
</title>
<meta
name=
"decorator"
content=
"default"
/>
<%@ include
file=
"/WEB-INF/views/include/head.jsp"
%>
<style>
h1
,
h2
,
h3
,
.masthead
p
,
.subhead
p
,
.marketing
h2
,
.lead
{
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
"Microsoft Yahei UI"
,
"Microsoft YaHei"
,
SimHei
,
"\5B8B\4F53"
,
simsun
,
sans-serif
;
font-weight
:
normal
;
}
</style>
</head>
<body>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"span12"
>
<section
id=
"download-bootstrap"
>
<div
class=
"page-header"
>
<h1>
1. 下载
</h1>
</div>
<p
class=
"lead"
>
下载之前先检查一下是否准备好了一个代码编辑器(我们推荐使用
<a
href=
"http://sublimetext.com/2"
>
Sublime Text 2
</a>
) ,你是否已经掌握了足够的HTML和CSS知识以开展工作。这里我们不详述源码文件,但是它们可以随时被下载。在这里我们只着重介绍使用已经编译好的Bootstrap文件进行入门讲解。
</p>
<div
class=
"row-fluid"
>
<div
class=
"span6"
>
<h2>
下载编译好的文件
</h2>
<p><strong>
快速开始:
</strong>
立即下载编译好的版本吧,里面已经包含了CSS、JS和图片文件了,而且所有文件已经经过了压缩处理。不过,文档和源码文件不包含哦。
</p>
<p><a
class=
"btn btn-large btn-primary"
href=
"assets/bootstrap.zip"
>
下载Bootstrap
</a></p>
</div>
<div
class=
"span6"
>
<h2>
下载源码
</h2>
<p>
从GitHub直接下载到的最新版的源码包括CSS、JavaScript的源文件,以及一份文档。
</p>
<p><a
class=
"btn btn-large"
href=
"https://github.com/twitter/bootstrap/zipball/master"
>
下载Bootstrap源码
</a></p>
</div>
</div>
</section>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/cms/tplIndex.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<html>
<head>
<title>
模板管理
</title>
<meta
name=
"decorator"
content=
"default"
/>
<%@ include
file=
"/WEB-INF/views/include/head.jsp"
%>
</head>
<body>
<div
id=
"content"
class=
"row-fluid"
>
<div
id=
"left"
>
<iframe
id=
"cmsMenuFrame"
name=
"cmsMenuFrame"
src=
"${ctx}/cms/template/tree"
style=
"overflow:visible;"
scrolling=
"yes"
frameborder=
"no"
width=
"100%"
></iframe>
</div>
<div
id=
"openClose"
class=
"close"
>
</div>
<div
id=
"right"
>
<iframe
id=
"cmsMainFrame"
name=
"cmsMainFrame"
src=
"${ctx}/cms/template/help"
style=
"overflow:visible;"
scrolling=
"yes"
frameborder=
"no"
width=
"100%"
></iframe>
</div>
</div>
<script
type=
"text/javascript"
>
var
leftWidth
=
"
160
"
;
// 左侧窗口大小
function
wSize
(){
var
strs
=
getWindowSize
().
toString
().
split
(
"
,
"
);
$
(
"
#cmsMenuFrame, #cmsMainFrame, #openClose
"
).
height
(
strs
[
0
]
-
5
);
$
(
"
#right
"
).
width
(
$
(
"
body
"
).
width
()
-
$
(
"
#left
"
).
width
()
-
$
(
"
#openClose
"
).
width
()
-
5
);
}
</script>
<script
src=
"${ctxStatic}/common/wsize.min.js"
type=
"text/javascript"
></script>
</body>
</html>
\ No newline at end of file
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/cms/tplTree.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<html>
<head>
<title>
模板列表
</title>
<meta
name=
"decorator"
content=
"default"
/>
<%@ include
file=
"/WEB-INF/views/include/head.jsp"
%>
<%@include
file=
"/WEB-INF/views/include/treeview.jsp"
%>
<style
type=
"text/css"
>
.ztree
{
overflow
:
auto
;
margin
:
0
;
_margin-top
:
10px
;
padding
:
10px
0
0
0
;}
<%--
.ztree li span.button.level0, .ztree li a.level0 {display:none;height:0;}
.ztree li ul.level0 {padding:0;background:none;}--%>
.accordion-inner
{
padding
:
2px
;}
</style>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
(){
var
setting
=
{
view
:{
selectedMulti
:
false
},
data
:{
simpleData
:{
enable
:
true
}},
callback
:
{
onClick
:
treeOnClick
}};
var
zNodes
=
[
<c:forEach
items=
"
${
templateList
}
"
var=
"tpl"
>
{
id
:
"
${tpl.name}
"
,
pId
:
"
${not empty tpl.parent?tpl.parent:0}
"
,
name
:
"
${tpl.filename}
"
,
fullName
:
"
${tpl.name}
"
,
isDirectory
:
$
{
tpl
.
directory
}},
</c:forEach>
];
// 初始化树结构
var
tree
=
$
.
fn
.
zTree
.
init
(
$
(
"
#tree
"
),
setting
,
zNodes
);
// 展开第一级节点
var
nodes
=
tree
.
getNodesByParam
(
"
level
"
,
0
);
for
(
var
i
=
0
;
i
<
nodes
.
length
;
i
++
)
{
tree
.
expandNode
(
nodes
[
i
],
true
,
true
,
false
);
}
wSize
();
});
$
(
window
).
resize
(
function
(){
wSize
();
});
//点击选择项回调
function
treeOnClick
(
event
,
treeId
,
treeNode
,
clickFlag
){
//noinspection JSUnresolvedVariable
if
(
!
treeNode
.
isDirectory
){
window
.
open
(
"
${ctx}/cms/template/form?name=
"
+
treeNode
.
fullName
,
"
cmsMainFrame
"
);
}
}
function
wSize
(){
$
(
"
.ztree
"
).
width
(
$
(
window
).
width
()
-
16
).
height
(
$
(
window
).
height
()
-
62
);
$
(
"
.ztree
"
).
css
({
"
overflow
"
:
"
auto
"
,
"
overflow-x
"
:
"
auto
"
,
"
overflow-y
"
:
"
auto
"
});
$
(
"
html,body
"
).
css
({
"
overflow
"
:
"
hidden
"
,
"
overflow-x
"
:
"
hidden
"
,
"
overflow-y
"
:
"
hidden
"
});
}
</script>
</head>
<body>
<div
class=
"accordion-group"
>
<div
class=
"accordion-heading"
>
<a
class=
"accordion-toggle"
>
模板列表
</a>
</div>
<div
class=
"accordion-body"
>
<div
class=
"accordion-inner"
>
<div
id=
"tree"
class=
"ztree"
></div>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/echarts/bar.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<%@ include
file=
"/WEB-INF/views/include/echarts.jsp"
%>
单轴:
<div
id=
"line_normal"
class=
"main000"
></div>
<echarts:bar
id=
"line_normal"
title=
"短期预测数据对比曲线"
subtitle=
"短期预测数据对比曲线"
xAxisData=
"
${
xAxisData
}
"
yAxisData=
"
${
yAxisData
}
"
xAxisName=
"预测时间"
yAxisName=
"实际电量(MW)"
/>
双轴:
<div
id=
"line_yAxisIndex"
class=
"main000"
></div>
<echarts:bar
id=
"line_yAxisIndex"
title=
"短期预测数据对比曲线"
subtitle=
"短期预测数据对比曲线"
xAxisData=
"
${
xAxisData
}
"
yAxisData=
"
${
yAxisData
}
"
xAxisName=
"预测时间"
yAxisName=
"实际电量(MW),实际总辐射(w/㎡)"
yAxisIndex=
"
${
yAxisIndex
}
"
/>
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/echarts/chinaWeatherDataBeanForm.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<html>
<head>
<title>
城市气温管理
</title>
<meta
name=
"decorator"
content=
"default"
/>
<%@ include
file=
"/WEB-INF/views/include/head.jsp"
%>
<script
type=
"text/javascript"
>
var
validateForm
;
function
doSubmit
(){
//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
if
(
validateForm
.
form
()){
$
(
"
#inputForm
"
).
submit
();
return
true
;
}
return
false
;
}
$
(
document
).
ready
(
function
()
{
validateForm
=
$
(
"
#inputForm
"
).
validate
({
submitHandler
:
function
(
form
){
loading
(
'
正在提交,请稍等...
'
);
form
.
submit
();
},
errorContainer
:
"
#messageBox
"
,
errorPlacement
:
function
(
error
,
element
)
{
$
(
"
#messageBox
"
).
text
(
"
输入有误,请先更正。
"
);
if
(
element
.
is
(
"
:checkbox
"
)
||
element
.
is
(
"
:radio
"
)
||
element
.
parent
().
is
(
"
.input-append
"
)){
error
.
appendTo
(
element
.
parent
().
parent
());
}
else
{
error
.
insertAfter
(
element
);
}
}
});
laydate
({
elem
:
'
#datestr
'
,
//目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
event
:
'
focus
'
//响应事件。如果没有传入event,则按照默认的click
});
});
</script>
</head>
<body>
<form:form
id=
"inputForm"
modelAttribute=
"chinaWeatherDataBean"
action=
"
${
ctx
}
/echarts/chinaWeatherDataBean/save"
method=
"post"
class=
"form-horizontal"
>
<form:hidden
path=
"id"
/>
<sys:message
content=
"
${
message
}
"
/>
<table
class=
"table table-bordered table-condensed dataTables-example dataTable no-footer"
>
<tbody>
<tr>
<td
class=
"width-15 active"
><label
class=
"pull-right"
>
日期:
</label></td>
<td
class=
"width-35"
>
<input
id=
"datestr"
name=
"datestr"
type=
"text"
maxlength=
"20"
class=
"laydate-icon form-control layer-date "
value=
"
<fmt:formatDate
value=
"
${
chinaWeatherDataBean
.
datestr
}
"
pattern=
"yyyy-MM-dd HH:mm:ss"
/>
"
/>
</td>
<td
class=
"width-15 active"
><label
class=
"pull-right"
>
北京最高气温:
</label></td>
<td
class=
"width-35"
>
<form:input
path=
"beijingMaxTemp"
htmlEscape=
"false"
class=
"form-control number"
/>
</td>
</tr>
<tr>
<td
class=
"width-15 active"
><label
class=
"pull-right"
>
北京最低气温:
</label></td>
<td
class=
"width-35"
>
<form:input
path=
"beijingMinTemp"
htmlEscape=
"false"
class=
"form-control number"
/>
</td>
<td
class=
"width-15 active"
><label
class=
"pull-right"
>
长春最高气温:
</label></td>
<td
class=
"width-35"
>
<form:input
path=
"changchunMaxTemp"
htmlEscape=
"false"
class=
"form-control number"
/>
</td>
</tr>
<tr>
<td
class=
"width-15 active"
><label
class=
"pull-right"
>
长春最低气温:
</label></td>
<td
class=
"width-35"
>
<form:input
path=
"changchunMinTemp"
htmlEscape=
"false"
class=
"form-control number"
/>
</td>
<td
class=
"width-15 active"
><label
class=
"pull-right"
>
沈阳最高气温:
</label></td>
<td
class=
"width-35"
>
<form:input
path=
"shenyangMaxTemp"
htmlEscape=
"false"
class=
"form-control number"
/>
</td>
</tr>
<tr>
<td
class=
"width-15 active"
><label
class=
"pull-right"
>
沈阳最低气温:
</label></td>
<td
class=
"width-35"
>
<form:input
path=
"shenyangMinTemp"
htmlEscape=
"false"
class=
"form-control number"
/>
</td>
<td
class=
"width-15 active"
><label
class=
"pull-right"
>
哈尔滨最高气温:
</label></td>
<td
class=
"width-35"
>
<form:input
path=
"haerbinMaxTemp"
htmlEscape=
"false"
class=
"form-control number"
/>
</td>
</tr>
<tr>
<td
class=
"width-15 active"
><label
class=
"pull-right"
>
哈尔滨最低气温:
</label></td>
<td
class=
"width-35"
>
<form:input
path=
"haerbinMinTemp"
htmlEscape=
"false"
class=
"form-control number"
/>
</td>
<td
class=
"width-15 active"
></td>
<td
class=
"width-35"
></td>
</tr>
</tbody>
</table>
</form:form>
</body>
</html>
\ No newline at end of file
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/echarts/chinaWeatherDataBeanList.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<%@ include
file=
"/WEB-INF/views/include/echarts.jsp"
%>
<meta
name=
"decorator"
content=
"default"
/>
<%@ include
file=
"/WEB-INF/views/include/head.jsp"
%>
<div
class=
"tabs-container"
>
<ul
class=
"nav nav-tabs"
>
<li
class=
"active"
><a
data-toggle=
"tab"
href=
"#tab-1"
aria-expanded=
"true"
>
统计图表
</a>
</li>
<li
class=
""
><a
data-toggle=
"tab"
href=
"#tab-2"
aria-expanded=
"false"
>
数据列表
</a>
</li>
</ul>
<div
class=
"tab-content"
>
<div
id=
"tab-1"
class=
"tab-pane active"
>
<div
class=
"panel-body"
>
单轴:
<div
id=
"line_normal"
class=
"main000"
></div>
<echarts:line
id=
"line_normal"
title=
"2011年温度对比曲线"
subtitle=
"主要城市的温度对比曲线"
xAxisData=
"
${
xAxisData
}
"
yAxisData=
"
${
yAxisData
}
"
xAxisName=
"预测时间"
yAxisName=
"温度(℃)"
/>
双轴:
<div
id=
"line_yAxisIndex"
class=
"main000"
></div>
<echarts:line
id=
"line_yAxisIndex"
title=
"2011年温度对比曲线"
subtitle=
"主要城市的温度对比曲线"
xAxisData=
"
${
xAxisData
}
"
yAxisData=
"
${
yAxisData
}
"
xAxisName=
"预测时间"
yAxisName=
"最高温度(℃),最低温度(℃)"
yAxisIndex=
"
${
yAxisIndex
}
"
/>
</div>
</div>
<div
id=
"tab-2"
class=
"tab-pane"
>
<div
class=
"panel-body"
>
<div
class=
"wrapper wrapper-content"
>
<div
class=
"ibox"
>
<div
class=
"ibox-title"
>
<h5>
城市气温列表
</h5>
<div
class=
"ibox-tools"
>
<a
class=
"collapse-link"
>
<i
class=
"fa fa-chevron-up"
></i>
</a>
<a
class=
"dropdown-toggle"
data-toggle=
"dropdown"
href=
"#"
>
<i
class=
"fa fa-wrench"
></i>
</a>
<ul
class=
"dropdown-menu dropdown-user"
>
<li><a
href=
"#"
>
选项1
</a>
</li>
<li><a
href=
"#"
>
选项2
</a>
</li>
</ul>
<a
class=
"close-link"
>
<i
class=
"fa fa-times"
></i>
</a>
</div>
</div>
<div
class=
"ibox-content"
>
<sys:message
content=
"
${
message
}
"
/>
<!--查询条件-->
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<form:form
id=
"searchForm"
modelAttribute=
"chinaWeatherDataBean"
action=
"
${
ctx
}
/echarts/chinaWeatherDataBean/"
method=
"post"
class=
"form-inline"
>
<input
id=
"pageNo"
name=
"pageNo"
type=
"hidden"
value=
"${page.pageNo}"
/>
<input
id=
"pageSize"
name=
"pageSize"
type=
"hidden"
value=
"${page.pageSize}"
/>
<table:sortColumn
id=
"orderBy"
name=
"orderBy"
value=
"
${
page
.
orderBy
}
"
callback=
"sortOrRefresh();"
/>
<!-- 支持排序 -->
<div
class=
"form-group"
>
</div>
</form:form>
<br/>
</div>
</div>
<!-- 工具栏 -->
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"pull-left"
>
<shiro:hasPermission
name=
"echarts:chinaWeatherDataBean:add"
>
<table:addRow
url=
"
${
ctx
}
/echarts/chinaWeatherDataBean/form"
title=
"城市气温"
></table:addRow>
<!-- 增加按钮 -->
</shiro:hasPermission>
<shiro:hasPermission
name=
"echarts:chinaWeatherDataBean:edit"
>
<table:editRow
url=
"
${
ctx
}
/echarts/chinaWeatherDataBean/form"
title=
"城市气温"
id=
"contentTable"
></table:editRow>
<!-- 编辑按钮 -->
</shiro:hasPermission>
<shiro:hasPermission
name=
"echarts:chinaWeatherDataBean:del"
>
<table:delRow
url=
"
${
ctx
}
/echarts/chinaWeatherDataBean/deleteAll"
id=
"contentTable"
></table:delRow>
<!-- 删除按钮 -->
</shiro:hasPermission>
<shiro:hasPermission
name=
"echarts:chinaWeatherDataBean:import"
>
<table:importExcel
url=
"
${
ctx
}
/echarts/chinaWeatherDataBean/import"
></table:importExcel>
<!-- 导入按钮 -->
</shiro:hasPermission>
<shiro:hasPermission
name=
"echarts:chinaWeatherDataBean:export"
>
<table:exportExcel
url=
"
${
ctx
}
/echarts/chinaWeatherDataBean/export"
></table:exportExcel>
<!-- 导出按钮 -->
</shiro:hasPermission>
<button
class=
"btn btn-white btn-sm "
data-toggle=
"tooltip"
data-placement=
"left"
onclick=
"sortOrRefresh()"
title=
"刷新"
><i
class=
"glyphicon glyphicon-repeat"
></i>
刷新
</button>
</div>
<div
class=
"pull-right"
>
<button
class=
"btn btn-primary btn-rounded btn-outline btn-sm "
onclick=
"search()"
><i
class=
"fa fa-search"
></i>
查询
</button>
<button
class=
"btn btn-primary btn-rounded btn-outline btn-sm "
onclick=
"reset()"
><i
class=
"fa fa-refresh"
></i>
重置
</button>
</div>
</div>
</div>
<!-- 表格 -->
<table
id=
"contentTable"
class=
"table table-striped table-bordered table-hover table-condensed dataTables-example dataTable"
>
<thead>
<tr>
<th>
<input
type=
"checkbox"
class=
"i-checks"
></th>
<th
class=
"sort-column datestr"
>
日期
</th>
<th
class=
"sort-column beijingMaxTemp"
>
北京最高气温
</th>
<th
class=
"sort-column beijingMinTemp"
>
北京最低气温
</th>
<th
class=
"sort-column changchunMaxTemp"
>
长春最高气温
</th>
<th
class=
"sort-column changchunMinTemp"
>
长春最低气温
</th>
<th
class=
"sort-column shenyangMaxTemp"
>
沈阳最高气温
</th>
<th
class=
"sort-column shenyangMinTemp"
>
沈阳最低气温
</th>
<th
class=
"sort-column haerbinMaxTemp"
>
哈尔滨最高气温
</th>
<th
class=
"sort-column haerbinMinTemp"
>
哈尔滨最低气温
</th>
<th>
操作
</th>
</tr>
</thead>
<tbody>
<c:forEach
items=
"
${
page
.
list
}
"
var=
"chinaWeatherDataBean"
>
<tr>
<td>
<input
type=
"checkbox"
id=
"${chinaWeatherDataBean.id}"
class=
"i-checks"
></td>
<td><a
href=
"#"
onclick=
"openDialogView('查看城市气温', '${ctx}/echarts/chinaWeatherDataBean/form?id=${chinaWeatherDataBean.id}','800px', '500px')"
>
<fmt:formatDate
value=
"
${
chinaWeatherDataBean
.
datestr
}
"
pattern=
"yyyy-MM-dd "
/>
</a></td>
<td>
${chinaWeatherDataBean.beijingMaxTemp}
</td>
<td>
${chinaWeatherDataBean.beijingMinTemp}
</td>
<td>
${chinaWeatherDataBean.changchunMaxTemp}
</td>
<td>
${chinaWeatherDataBean.changchunMinTemp}
</td>
<td>
${chinaWeatherDataBean.shenyangMaxTemp}
</td>
<td>
${chinaWeatherDataBean.shenyangMinTemp}
</td>
<td>
${chinaWeatherDataBean.haerbinMaxTemp}
</td>
<td>
${chinaWeatherDataBean.haerbinMinTemp}
</td>
<td>
<shiro:hasPermission
name=
"echarts:chinaWeatherDataBean:view"
>
<a
href=
"#"
onclick=
"openDialogView('查看城市气温', '${ctx}/echarts/chinaWeatherDataBean/form?id=${chinaWeatherDataBean.id}','800px', '500px')"
class=
"btn btn-info btn-xs"
><i
class=
"fa fa-search-plus"
></i>
查看
</a>
</shiro:hasPermission>
<shiro:hasPermission
name=
"echarts:chinaWeatherDataBean:edit"
>
<a
href=
"#"
onclick=
"openDialog('修改城市气温', '${ctx}/echarts/chinaWeatherDataBean/form?id=${chinaWeatherDataBean.id}','800px', '500px')"
class=
"btn btn-success btn-xs"
><i
class=
"fa fa-edit"
></i>
修改
</a>
</shiro:hasPermission>
<shiro:hasPermission
name=
"echarts:chinaWeatherDataBean:del"
>
<a
href=
"${ctx}/echarts/chinaWeatherDataBean/delete?id=${chinaWeatherDataBean.id}"
onclick=
"return confirmx('确认要删除该城市气温吗?', this.href)"
class=
"btn btn-danger btn-xs"
><i
class=
"fa fa-trash"
></i>
删除
</a>
</shiro:hasPermission>
</td>
</tr>
</c:forEach>
</tbody>
</table>
<!-- 分页代码 -->
<table:page
page=
"
${
page
}
"
></table:page>
<br/>
<br/>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/echarts/line.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<%@ include
file=
"/WEB-INF/views/include/echarts.jsp"
%>
<meta
name=
"decorator"
content=
"default"
/>
<%@ include
file=
"/WEB-INF/views/include/head.jsp"
%>
单轴:
<div
id=
"line_normal"
class=
"main000"
></div>
<echarts:line
id=
"line_normal"
title=
"2011年温度对比曲线"
subtitle=
"主要城市的温度对比曲线"
xAxisData=
"
${
xAxisData
}
"
yAxisData=
"
${
yAxisData
}
"
xAxisName=
"预测时间"
yAxisName=
"温度(℃)"
/>
双轴:
<div
id=
"line_yAxisIndex"
class=
"main000"
></div>
<echarts:line
id=
"line_yAxisIndex"
title=
"2011年温度对比曲线"
subtitle=
"主要城市的温度对比曲线"
xAxisData=
"
${
xAxisData
}
"
yAxisData=
"
${
yAxisData
}
"
xAxisName=
"预测时间"
yAxisName=
"最高温度(℃),最低温度(℃)"
yAxisIndex=
"
${
yAxisIndex
}
"
/>
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/echarts/lineDoubleNum.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<%@ include
file=
"/WEB-INF/views/include/echarts.jsp"
%>
<meta
name=
"decorator"
content=
"default"
/>
<%@ include
file=
"/WEB-INF/views/include/head.jsp"
%>
双数值轴折线:
<div
id=
"line_doubleNum"
class=
"main000"
></div>
<echarts:lineDoubleNum
id=
"line_doubleNum"
title=
"双数值轴折线"
subtitle=
"短期预测数据对比曲线"
xAxisName=
"预测时间"
yAxisName=
"实际电量(MW)"
axisDataArr=
"
${
axisDataArr
}
"
/>
\ No newline at end of file
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/echarts/lineTimeLine.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<%@ include
file=
"/WEB-INF/views/include/echarts.jsp"
%>
<meta
name=
"decorator"
content=
"default"
/>
<%@ include
file=
"/WEB-INF/views/include/head.jsp"
%>
单轴:
<div
id=
line_normal
class=
"main000"
></div>
<echarts:lineTimeLine
id=
"line_normal"
title=
"2011年温度对比曲线"
subtitle=
"主要城市的温度对比曲线"
xAxisName=
"预测时间"
yAxisName=
"温度(℃)"
xAxisData=
"
${
xAxisData
}
"
yAxisData=
"
${
yAxisData
}
"
timelineData=
"
${
timelineData
}
"
timelineAxisData=
"
${
timelineAxisData
}
"
/>
双轴:
<div
id=
"line_yAxisIndex"
class=
"main000"
></div>
<echarts:lineTimeLine
id=
"line_yAxisIndex"
title=
"2011年温度对比曲线"
subtitle=
"主要城市的温度对比曲线"
xAxisName=
"预测时间"
yAxisName=
"最高温度(℃),最低温度(℃)"
xAxisData=
"
${
xAxisData
}
"
yAxisData=
"
${
yAxisData
}
"
timelineData=
"
${
timelineData
}
"
timelineAxisData=
"
${
timelineAxisData
}
"
yAxisIndex=
"
${
yAxisIndex
}
"
/>
\ No newline at end of file
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/echarts/pie.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<%@ include
file=
"/WEB-INF/views/include/echarts.jsp"
%>
<div
id=
"pie"
class=
"main000"
></div>
<echarts:pie
id=
"pie"
title=
"某站点用户访问来源"
subtitle=
"纯属虚构"
orientData=
"
${
orientData
}
"
/>
\ No newline at end of file
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/echarts/pieClassForm.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<html>
<head>
<title>
班级管理
</title>
<meta
name=
"decorator"
content=
"default"
/>
<%@ include
file=
"/WEB-INF/views/include/head.jsp"
%>
<script
type=
"text/javascript"
>
var
validateForm
;
function
doSubmit
(){
//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
if
(
validateForm
.
form
()){
$
(
"
#inputForm
"
).
submit
();
return
true
;
}
return
false
;
}
$
(
document
).
ready
(
function
()
{
validateForm
=
$
(
"
#inputForm
"
).
validate
({
submitHandler
:
function
(
form
){
loading
(
'
正在提交,请稍等...
'
);
form
.
submit
();
},
errorContainer
:
"
#messageBox
"
,
errorPlacement
:
function
(
error
,
element
)
{
$
(
"
#messageBox
"
).
text
(
"
输入有误,请先更正。
"
);
if
(
element
.
is
(
"
:checkbox
"
)
||
element
.
is
(
"
:radio
"
)
||
element
.
parent
().
is
(
"
.input-append
"
)){
error
.
appendTo
(
element
.
parent
().
parent
());
}
else
{
error
.
insertAfter
(
element
);
}
}
});
});
</script>
</head>
<body>
<form:form
id=
"inputForm"
modelAttribute=
"pieClass"
action=
"
${
ctx
}
/echarts/pieClass/save"
method=
"post"
class=
"form-horizontal"
>
<form:hidden
path=
"id"
/>
<sys:message
content=
"
${
message
}
"
/>
<table
class=
"table table-bordered table-condensed dataTables-example dataTable no-footer"
>
<tbody>
<tr>
<td
class=
"width-15 active"
><label
class=
"pull-right"
>
班级:
</label></td>
<td
class=
"width-35"
>
<form:input
path=
"className"
htmlEscape=
"false"
maxlength=
"64"
class=
"form-control "
/>
</td>
<td
class=
"width-15 active"
><label
class=
"pull-right"
>
人数:
</label></td>
<td
class=
"width-35"
>
<form:input
path=
"num"
htmlEscape=
"false"
class=
"form-control digits"
/>
</td>
</tr>
<tr>
<td
class=
"width-15 active"
><label
class=
"pull-right"
>
备注信息:
</label></td>
<td
class=
"width-35"
>
<form:textarea
path=
"remarks"
htmlEscape=
"false"
rows=
"4"
maxlength=
"255"
class=
"form-control "
/>
</td>
<td
class=
"width-15 active"
></td>
<td
class=
"width-35"
></td>
</tr>
</tbody>
</table>
</form:form>
</body>
</html>
\ No newline at end of file
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/echarts/pieClassList.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<html>
<head>
<title>
班级管理
</title>
<meta
name=
"decorator"
content=
"default"
/>
<%@ include
file=
"/WEB-INF/views/include/head.jsp"
%>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
});
</script>
</head>
<body
class=
"gray-bg"
>
<%@ include
file=
"/WEB-INF/views/include/echarts.jsp"
%>
<div
class=
"wrapper wrapper-content"
>
<div
id=
"pie"
class=
"main000"
></div>
<echarts:pie
id=
"pie"
title=
"班级统计"
subtitle=
"人数统计"
orientData=
"
${
orientData
}
"
/>
<div
class=
"ibox"
>
<div
class=
"ibox-title"
>
<h5>
班级列表
</h5>
<div
class=
"ibox-tools"
>
<a
class=
"collapse-link"
>
<i
class=
"fa fa-chevron-up"
></i>
</a>
<a
class=
"dropdown-toggle"
data-toggle=
"dropdown"
href=
"#"
>
<i
class=
"fa fa-wrench"
></i>
</a>
<ul
class=
"dropdown-menu dropdown-user"
>
<li><a
href=
"#"
>
选项1
</a>
</li>
<li><a
href=
"#"
>
选项2
</a>
</li>
</ul>
<a
class=
"close-link"
>
<i
class=
"fa fa-times"
></i>
</a>
</div>
</div>
<div
class=
"ibox-content"
>
<sys:message
content=
"
${
message
}
"
/>
<!--查询条件-->
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<form:form
id=
"searchForm"
modelAttribute=
"pieClass"
action=
"
${
ctx
}
/echarts/pieClass/"
method=
"post"
class=
"form-inline"
>
<input
id=
"pageNo"
name=
"pageNo"
type=
"hidden"
value=
"${page.pageNo}"
/>
<input
id=
"pageSize"
name=
"pageSize"
type=
"hidden"
value=
"${page.pageSize}"
/>
<table:sortColumn
id=
"orderBy"
name=
"orderBy"
value=
"
${
page
.
orderBy
}
"
callback=
"sortOrRefresh();"
/>
<!-- 支持排序 -->
<div
class=
"form-group"
>
<span>
班级:
</span>
<form:input
path=
"className"
htmlEscape=
"false"
maxlength=
"64"
class=
" form-control input-sm"
/>
</div>
</form:form>
<br/>
</div>
</div>
<!-- 工具栏 -->
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"pull-left"
>
<shiro:hasPermission
name=
"echarts:pieClass:add"
>
<table:addRow
url=
"
${
ctx
}
/echarts/pieClass/form"
title=
"班级"
></table:addRow>
<!-- 增加按钮 -->
</shiro:hasPermission>
<shiro:hasPermission
name=
"echarts:pieClass:edit"
>
<table:editRow
url=
"
${
ctx
}
/echarts/pieClass/form"
title=
"班级"
id=
"contentTable"
></table:editRow>
<!-- 编辑按钮 -->
</shiro:hasPermission>
<shiro:hasPermission
name=
"echarts:pieClass:del"
>
<table:delRow
url=
"
${
ctx
}
/echarts/pieClass/deleteAll"
id=
"contentTable"
></table:delRow>
<!-- 删除按钮 -->
</shiro:hasPermission>
<shiro:hasPermission
name=
"echarts:pieClass:import"
>
<table:importExcel
url=
"
${
ctx
}
/echarts/pieClass/import"
></table:importExcel>
<!-- 导入按钮 -->
</shiro:hasPermission>
<shiro:hasPermission
name=
"echarts:pieClass:export"
>
<table:exportExcel
url=
"
${
ctx
}
/echarts/pieClass/export"
></table:exportExcel>
<!-- 导出按钮 -->
</shiro:hasPermission>
<button
class=
"btn btn-white btn-sm "
data-toggle=
"tooltip"
data-placement=
"left"
onclick=
"sortOrRefresh()"
title=
"刷新"
><i
class=
"glyphicon glyphicon-repeat"
></i>
刷新
</button>
</div>
<div
class=
"pull-right"
>
<button
class=
"btn btn-primary btn-rounded btn-outline btn-sm "
onclick=
"search()"
><i
class=
"fa fa-search"
></i>
查询
</button>
<button
class=
"btn btn-primary btn-rounded btn-outline btn-sm "
onclick=
"reset()"
><i
class=
"fa fa-refresh"
></i>
重置
</button>
</div>
</div>
</div>
<!-- 表格 -->
<table
id=
"contentTable"
class=
"table table-striped table-bordered table-hover table-condensed dataTables-example dataTable"
>
<thead>
<tr>
<th>
<input
type=
"checkbox"
class=
"i-checks"
></th>
<th
class=
"sort-column className"
>
班级
</th>
<th
class=
"sort-column num"
>
人数
</th>
<th
class=
"sort-column remarks"
>
备注信息
</th>
<th>
操作
</th>
</tr>
</thead>
<tbody>
<c:forEach
items=
"
${
page
.
list
}
"
var=
"pieClass"
>
<tr>
<td>
<input
type=
"checkbox"
id=
"${pieClass.id}"
class=
"i-checks"
></td>
<td><a
href=
"#"
onclick=
"openDialogView('查看班级', '${ctx}/echarts/pieClass/form?id=${pieClass.id}','800px', '500px')"
>
${pieClass.className}
</a></td>
<td>
${pieClass.num}
</td>
<td>
${pieClass.remarks}
</td>
<td>
<shiro:hasPermission
name=
"echarts:pieClass:view"
>
<a
href=
"#"
onclick=
"openDialogView('查看班级', '${ctx}/echarts/pieClass/form?id=${pieClass.id}','800px', '500px')"
class=
"btn btn-info btn-xs"
><i
class=
"fa fa-search-plus"
></i>
查看
</a>
</shiro:hasPermission>
<shiro:hasPermission
name=
"echarts:pieClass:edit"
>
<a
href=
"#"
onclick=
"openDialog('修改班级', '${ctx}/echarts/pieClass/form?id=${pieClass.id}','800px', '500px')"
class=
"btn btn-success btn-xs"
><i
class=
"fa fa-edit"
></i>
修改
</a>
</shiro:hasPermission>
<shiro:hasPermission
name=
"echarts:pieClass:del"
>
<a
href=
"${ctx}/echarts/pieClass/delete?id=${pieClass.id}"
onclick=
"return confirmx('确认要删除该班级吗?', this.href)"
class=
"btn btn-danger btn-xs"
><i
class=
"fa fa-trash"
></i>
删除
</a>
</shiro:hasPermission>
</td>
</tr>
</c:forEach>
</tbody>
</table>
<!-- 分页代码 -->
<table:page
page=
"
${
page
}
"
></table:page>
<br/>
<br/>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/echarts/radar.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<%@ include
file=
"/WEB-INF/views/include/echarts.jsp"
%>
<meta
name=
"decorator"
content=
"default"
/>
<%@ include
file=
"/WEB-INF/views/include/head.jsp"
%>
8方位:
<div
id=
"radar8"
class=
"main000"
></div>
<echarts:radar
id=
"radar8"
title=
"气象预测风向玫瑰图8方位"
subtitle=
"预测时间"
orientData=
"
${
orientData
}
"
polarType=
"8"
/>
16方位:
<div
id=
"radar16"
class=
"main000"
></div>
<echarts:radar
id=
"radar16"
title=
"气象预测风向玫瑰图16方位"
subtitle=
"预测时间"
orientData=
"
${
orientData
}
"
polarType=
"16"
/>
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/gen/genCodeForm.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<html>
<head>
<title>
生成代码
</title>
<%@ include
file=
"/WEB-INF/views/include/headMeta.jsp"
%>
<%@ include
file=
"/WEB-INF/views/include/headCss.jsp"
%>
<%@ include
file=
"/WEB-INF/views/include/headJs.jsp"
%>
</head>
<body>
<!-- 内容-->
<div
class=
"wrapper"
>
<!-- 内容盒子-->
<div
class=
"box box-main"
>
<!-- 内容盒子头部 -->
<div
class=
"box-header"
>
<div
class=
"box-title"
><i
class=
"fa fa-edit"
></i>
生成代码
</div>
</div>
<!-- 内容盒子身体 -->
<div
class=
"box-body"
>
<form:form
id=
"inputForm"
modelAttribute=
"genScheme"
action=
"
${
ctx
}
/gen/genTable/genCode"
method=
"post"
class=
"form-horizontal content-background"
>
<div
class=
"content"
>
<form:hidden
path=
"id"
value=
"
${
genScheme
.
id
}
"
/>
<sys:message
content=
"
${
message
}
"
/>
<div
class=
"form-group"
>
<label>
代码生成:单表、主附表、树表、列表和表单、增删改查云接口、redis高速缓存对接代码、图表统计、地图统计、vue.js
</label>
</div>
<div
class=
"form-group"
>
<label
class=
"control-label col-sm-2 pull-left"
><font
color=
"red"
>
*
</font>
代码模式
</label>
<div
class=
"col-sm-9 col-lg-10 col-xs-12"
>
<form:select
path=
"category"
class=
"required form-control"
>
<form:options
items=
"
${
config
.
categoryList
}
"
itemLabel=
"label"
itemValue=
"value"
htmlEscape=
"false"
/>
</form:select>
<span
class=
"help-inline"
>
生成结构:{包名}/{模块名}/{分层(dao,entity,service,web)}/{子模块名}/{java类}
</span>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"control-label col-sm-2 pull-left"
><font
color=
"red"
>
*
</font>
包路径
</label>
<div
class=
"col-sm-9 col-lg-10 col-xs-12"
>
<form:input
path=
"packageName"
htmlEscape=
"false"
maxlength=
"500"
class=
"required form-control"
/>
<span
class=
"help-inline"
>
建议项目模块包:com.company.project.modules;
</span>
<span
class=
"help-inline"
>
建议框架模块包:com.jeespring.modules;
</span><br>
<span
class=
"help-inline"
>
如果自定义框架模块包:com.*.*;
</span><br>
<span
class=
"help-inline"
>
需要在application.xml内配置type-aliases-package:com.jeespring,com.company,com.*.*;
</span><br>
<span
class=
"help-inline"
>
需要在JeeSpringDriver.java里面配置@ServletComponentScan;@ComponentScan;@MapperScan
</span>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"control-label col-sm-2 pull-left"
><font
color=
"red"
>
*
</font>
模块名
</label>
<div
class=
"col-sm-9 col-lg-10 col-xs-12"
>
<form:input
path=
"moduleName"
htmlEscape=
"false"
maxlength=
"500"
class=
"required form-control"
/>
<span
class=
"help-inline"
>
可理解为子系统名,例如 sys、ticket、order...
</span>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"control-label col-sm-2 pull-left"
>
子模块名
</label>
<div
class=
"col-sm-9 col-lg-10 col-xs-12"
>
<form:input
path=
"subModuleName"
htmlEscape=
"false"
maxlength=
"500"
class=
"form-control"
/>
<span
class=
"help-inline"
>
可选,分层下的文件夹,例如
</span>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"control-label col-sm-2 pull-left"
><font
color=
"red"
>
*
</font>
功能描述
</label>
<div
class=
"col-sm-9 col-lg-10 col-xs-12"
>
<form:input
path=
"functionName"
htmlEscape=
"false"
maxlength=
"500"
class=
"required form-control"
/>
<span
class=
"help-inline"
>
将设置到类描述
</span>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"control-label col-sm-2 pull-left"
><font
color=
"red"
>
*
</font>
功能名
</label>
<div
class=
"col-sm-9 col-lg-10 col-xs-12"
>
<form:input
path=
"functionNameSimple"
htmlEscape=
"false"
maxlength=
"500"
class=
"required form-control"
/>
<span
class=
"help-inline"
>
用作功能提示,如:保存“某某”成功
</span>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"control-label col-sm-2 pull-left"
><font
color=
"red"
>
*
</font>
作者
</label>
<div
class=
"contcol-sm-9 col-lg-10 col-xs-12rols"
>
<form:input
path=
"functionAuthor"
htmlEscape=
"false"
maxlength=
"500"
class=
"required form-control"
/>
<span
class=
"help-inline"
>
功能开发者
</span>
</div>
</div>
<input
type=
"hidden"
name=
"genTable.id"
value=
"${genScheme.genTable.id}"
/>
<!--
<div class="control-group">
<label class="control-label"><font color="red">*</font>业务表名:</label>
<div class="controls">
<form:select
path=
"genTable.id"
class=
"required form-control"
>
<form:options
items=
"
${
tableList
}
"
itemLabel=
"nameAndComments"
itemValue=
"id"
htmlEscape=
"false"
/>
</form:select>
<span class="help-inline">生成的数据表,一对多情况下请选择主表。</span>
</div>
</div>
-->
<div
class=
"form-group"
>
<c:if
test=
"
${
action
ne
'view'
}
"
>
<a
id=
"btnSubmit"
class=
"btn btn-primary"
>
保存
</a>
</c:if>
<a
id=
"btnBack"
class=
"btn btn-default"
>
返回
</a>
<!--a class="btn btn-primary" onclick="top.closeSelectTabs()">关闭</a-->
</div>
</div>
</form:form>
</div>
</div>
</div>
<div
id=
"messageBox"
>
${message}
</div>
<%@ include
file=
"/WEB-INF/views/include/footJs.jsp"
%>
<script
src=
"/staticViews/viewBase.js"
></script>
</body>
</html>
JeeSpringCloud/jeespring-web/src/main/webapp/WEB-INF/views/modules/gen/genSchemeForm.jsp
0 → 100644
View file @
e2a64d42
<%@ page
contentType=
"text/html;charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/views/include/taglib.jsp"
%>
<html>
<head>
<title>
生成方案管理
</title>
<meta
name=
"decorator"
content=
"default"
/>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
$
(
"
#name
"
).
focus
();
$
(
"
#inputForm
"
).
validate
({
submitHandler
:
function
(
form
){
loading
(
'
正在提交,请稍等...
'
);
form
.
submit
();
},
errorContainer
:
"
#messageBox
"
,
errorPlacement
:
function
(
error
,
element
)
{
$
(
"
#messageBox
"
).
text
(
"
输入有误,请先更正。
"
);
if
(
element
.
is
(
"
:checkbox
"
)
||
element
.
is
(
"
:radio
"
)
||
element
.
parent
().
is
(
"
.input-append
"
)){
error
.
appendTo
(
element
.
parent
().
parent
());
}
else
{
error
.
insertAfter
(
element
);
}
}
});
});
</script>
</head>
<body>
<ul
class=
"nav nav-tabs"
>
<li><a
href=
"${ctx}/gen/genScheme/"
>
生成方案列表
</a></li>
<li
class=
"active"
><a
href=
"${ctx}/gen/genScheme/form?id=${genScheme.id}"
>
生成方案
<shiro:hasPermission
name=
"gen:genScheme:edit"
>
${not empty genScheme.id?'修改':'添加'}
</shiro:hasPermission><shiro:lacksPermission
name=
"gen:genScheme:edit"
>
查看
</shiro:lacksPermission></a></li>
</ul><br/>
<form:form
id=
"inputForm"
modelAttribute=
"genScheme"
action=
"
${
ctx
}
/gen/genScheme/save"
method=
"post"
class=
"form-horizontal"
>
<form:hidden
path=
"id"
/><form:hidden
path=
"flag"
/>
<sys:message
content=
"
${
message
}
"
/>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
方案名称:
</label>
<div
class=
"controls"
>
<form:input
path=
"name"
htmlEscape=
"false"
maxlength=
"200"
class=
"required"
/>
<span
class=
"help-inline"
></span>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
模板分类:
</label>
<div
class=
"controls"
>
<form:select
path=
"category"
class=
"required input-xlarge"
>
<form:options
items=
"
${
config
.
categoryList
}
"
itemLabel=
"label"
itemValue=
"value"
htmlEscape=
"false"
/>
</form:select>
<span
class=
"help-inline"
>
生成结构:{包名}/{模块名}/{分层(dao,entity,service,web)}/{子模块名}/{java类}
</span>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
生成包路径:
</label>
<div
class=
"controls"
>
<form:input
path=
"packageName"
htmlEscape=
"false"
maxlength=
"500"
class=
"required input-xlarge"
/>
<span
class=
"help-inline"
>
建议模块包:com.thinkgem.jeesite.modules
</span>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
生成模块名:
</label>
<div
class=
"controls"
>
<form:input
path=
"moduleName"
htmlEscape=
"false"
maxlength=
"500"
class=
"required input-xlarge"
/>
<span
class=
"help-inline"
>
可理解为子系统名,例如 sys
</span>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
生成子模块名:
</label>
<div
class=
"controls"
>
<form:input
path=
"subModuleName"
htmlEscape=
"false"
maxlength=
"500"
class=
"input-xlarge"
/>
<span
class=
"help-inline"
>
可选,分层下的文件夹,例如
</span>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
生成功能描述:
</label>
<div
class=
"controls"
>
<form:input
path=
"functionName"
htmlEscape=
"false"
maxlength=
"500"
class=
"required input-xlarge"
/>
<span
class=
"help-inline"
>
将设置到类描述
</span>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
生成功能名:
</label>
<div
class=
"controls"
>
<form:input
path=
"functionNameSimple"
htmlEscape=
"false"
maxlength=
"500"
class=
"required input-xlarge"
/>
<span
class=
"help-inline"
>
用作功能提示,如:保存“某某”成功
</span>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
生成功能作者:
</label>
<div
class=
"controls"
>
<form:input
path=
"functionAuthor"
htmlEscape=
"false"
maxlength=
"500"
class=
"required input-xlarge"
/>
<span
class=
"help-inline"
>
功能开发者
</span>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
业务表名:
</label>
<div
class=
"controls"
>
<form:select
path=
"genTable.id"
class=
"required input-xlarge"
>
<form:options
items=
"
${
tableList
}
"
itemLabel=
"nameAndComments"
itemValue=
"id"
htmlEscape=
"false"
/>
</form:select>
<span
class=
"help-inline"
>
生成的数据表,一对多情况下请选择主表。
</span>
</div>
</div>
<div
class=
"control-group hide"
>
<label
class=
"control-label"
>
备注:
</label>
<div
class=
"controls"
>
<form:textarea
path=
"remarks"
htmlEscape=
"false"
rows=
"4"
maxlength=
"200"
class=
"input-xxlarge"
/>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
生成选项:
</label>
<div
class=
"controls"
>
<form:checkbox
path=
"replaceFile"
label=
"是否替换现有文件"
/>
</div>
</div>
<div
class=
"form-actions"
>
<shiro:hasPermission
name=
"gen:genScheme:edit"
>
<input
id=
"btnSubmit"
class=
"btn btn-primary"
type=
"submit"
value=
"保存方案"
onclick=
"$('#flag').val('0');"
/>
<input
id=
"btnSubmit"
class=
"btn btn-danger"
type=
"submit"
value=
"保存并生成代码"
onclick=
"$('#flag').val('1');"
/>
</shiro:hasPermission>
<input
id=
"btnCancel"
class=
"btn"
type=
"button"
value=
"返 回"
onclick=
"history.go(-1)"
/>
</div>
</form:form>
</body>
</html>
Prev
1
…
5
6
7
8
9
10
11
12
13
…
21
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment