整理页面ftl源码文件,合并部分同一功能但分开的html,js文件

This commit is contained in:
datagear 2021-04-30 10:46:23 +08:00
parent cbe2a30315
commit 5994d076af
49 changed files with 92 additions and 121 deletions

View File

@ -15,6 +15,7 @@
<title><#include "include/html_title_app_name.ftl"><@spring.message code='about.about' /></title>
</head>
<body>
<#include "include/page_js_obj.ftl" >
<div id="${pageId}" class="page page-about">
<form id="${pageId}-form">
<div class="form-content">
@ -53,7 +54,6 @@
</div>
</form>
</div>
<#include "include/page_js_obj.ftl" >
<#include "include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -22,6 +22,7 @@ readonly 是否只读操作允许为null
<title><#include "../../include/html_title_app_name.ftl"><@spring.message code='${titleMessageKey}' /></title>
</head>
<body>
<#include "../../include/page_js_obj.ftl" >
<div id="${pageId}" class="page-form page-form-analysisProject">
<form id="${pageId}-form" action="${contextPath}/analysis/project/${formAction}" method="POST">
<div class="form-head"></div>
@ -51,7 +52,6 @@ readonly 是否只读操作允许为null
</div>
</form>
</div>
<#include "../../include/page_js_obj.ftl" >
<#include "../../include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -22,10 +22,11 @@ selectOperation 是否选择操作允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../../include/page_js_obj.ftl">
<div id="${pageId}" class="page-grid page-grid-hidden-foot page-grid-chartPlugin">
<div class="head">
<div class="search">
<#include "../../include/page_obj_searchform.html.ftl">
<#include "../../include/page_obj_searchform.ftl">
</div>
<div class="operation">
<#if selectOperation>
@ -51,8 +52,6 @@ selectOperation 是否选择操作允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../../include/page_js_obj.ftl">
<#include "../../include/page_obj_searchform_js.ftl">
<#include "../../include/page_obj_grid.ftl">
<script type="text/javascript">
(function(po)

View File

@ -17,10 +17,11 @@
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../../include/page_js_obj.ftl">
<div id="${pageId}" class="page-grid page-grid-chartPlugin-select">
<div class="head">
<div class="search">
<#include "../../include/page_obj_searchform.html.ftl">
<#include "../../include/page_obj_searchform.ftl">
</div>
<div class="operation">
<input name="confirmButton" type="button" class="recommended" value="<@spring.message code='confirm' />" />
@ -42,8 +43,6 @@
<#if !isAjaxRequest>
</div>
</#if>
<#include "../../include/page_js_obj.ftl">
<#include "../../include/page_obj_searchform_js.ftl">
<script type="text/javascript">
(function(po)
{

View File

@ -14,6 +14,7 @@
<title><#include "../../include/html_title_app_name.ftl"><@spring.message code='chartPlugin.uploadChartPlugin' /></title>
</head>
<body>
<#include "../../include/page_js_obj.ftl" >
<div id="${pageId}" class="page-form page-form-uploadChartPlugin">
<form id="${pageId}-form" action="${contextPath}/analysis/chartPlugin/saveUpload" method="POST">
<div class="form-head"></div>
@ -45,7 +46,6 @@
</div>
</form>
</div>
<#include "../../include/page_js_obj.ftl" >
<#include "../../include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -10,7 +10,7 @@
数据分析项目相关表格页:扩展数据分析项目查询参数
依赖:
page_obj_searchform_js.ftl 或者 page_obj_searchform_data_filter.ftl
page_obj_searchform.ftl 或者 page_obj_searchform_data_filter.ftl
-->
<script type="text/javascript">
(function(po)

View File

@ -37,6 +37,7 @@ readonly 是否只读操作允许为null
<title><#include "../include/html_title_app_name.ftl"><@spring.message code='${titleMessageKey}' /> - <@spring.message code='${resourceMeta.resouceTypeLabel}' /></title>
</head>
<body>
<#include "../include/page_js_obj.ftl" >
<div id="${pageId}" class="page-form page-form-authorization">
<form id="${pageId}-form" action="${contextPath}/authorization/${resourceMeta.resourceType}/${formAction}" method="POST">
<div class="form-head"></div>
@ -215,7 +216,6 @@ readonly 是否只读操作允许为null
</div>
</form>
</div>
<#include "../include/page_js_obj.ftl" >
<#include "../include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -23,10 +23,11 @@ ResourceMeta resourceMeta 资源元信息不允许null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-grid page-grid-hidden-foot page-grid-authorization">
<div class="head">
<div class="search">
<#include "../include/page_obj_searchform.html.ftl">
<#include "../include/page_obj_searchform.ftl">
</div>
<div class="operation">
<input name="addButton" type="button" value="<@spring.message code='add' />" />
@ -48,8 +49,6 @@ ResourceMeta resourceMeta 资源元信息不允许null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<#include "../include/page_obj_searchform_js.ftl">
<#include "../include/page_obj_grid.ftl">
<#include "../include/page_obj_data_permission.ftl">
<script type="text/javascript">

View File

@ -14,6 +14,7 @@
<title><#include "include/html_title_app_name.ftl"><@spring.message code='changelog.changelog' /></title>
</head>
<body>
<#include "include/page_js_obj.ftl" >
<div id="${pageId}">
<#if !isAjaxRequest>
<div class="main-page-head">
@ -54,7 +55,6 @@
</form>
</div>
</div>
<#include "include/page_js_obj.ftl" >
<#include "include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -21,6 +21,7 @@ readonly 是否只读操作允许为null
<title><#include "../include/html_title_app_name.ftl"><@spring.message code='${titleMessageKey}' /></title>
</head>
<body>
<#include "../include/page_js_obj.ftl" >
<div id="${pageId}" class="page-form page-form-dashboardGlobalResContent">
<form id="${pageId}-form" action="${contextPath}/dashboardGlobalRes/${formAction}" method="POST">
<input type="hidden" name="initSavePath" value="${resourcePath}" />
@ -57,7 +58,6 @@ readonly 是否只读操作允许为null
</div>
</form>
</div>
<#include "../include/page_js_obj.ftl" >
<#include "../include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -22,10 +22,11 @@ selectOperation 是否选择操作允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-grid page-grid-hidden-foot page-grid-dashboardGlobalRes">
<div class="head">
<div class="search">
<#include "../include/page_obj_searchform.html.ftl">
<#include "../include/page_obj_searchform.ftl">
</div>
<div class="operation">
<#if selectOperation>
@ -54,8 +55,6 @@ selectOperation 是否选择操作允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<#include "../include/page_obj_searchform_js.ftl">
<#include "../include/page_obj_grid.ftl">
<script type="text/javascript">
(function(po)

View File

@ -21,6 +21,7 @@ readonly 是否只读操作允许为null
<title><#include "../include/html_title_app_name.ftl"><@spring.message code='${titleMessageKey}' /></title>
</head>
<body>
<#include "../include/page_js_obj.ftl" >
<div id="${pageId}" class="page-form page-form-dashboardGlobalRes">
<form id="${pageId}-form" action="${contextPath}/dashboardGlobalRes/${formAction}" method="POST">
<div class="form-head"></div>
@ -75,7 +76,6 @@ readonly 是否只读操作允许为null
</div>
</form>
</div>
<#include "../include/page_js_obj.ftl" >
<#include "../include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -47,6 +47,7 @@ boolean batchSet 是否开启批量执行功能默认为false
</title>
</head>
<body>
<#include "include/data_page_obj.ftl">
<div id="${pageId}" class="page-form">
<div class="head">
</div>
@ -57,7 +58,6 @@ boolean batchSet 是否开启批量执行功能默认为false
<div class="foot">
</div>
</div>
<#include "include/data_page_obj.ftl">
<#include "include/data_page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -48,10 +48,11 @@ boolean readonly 是否只读操作默认为false
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "include/data_page_obj.ftl">
<div id="${pageId}" class="page-grid page-grid-query">
<div class="head">
<div class="search">
<#include "include/data_page_obj_searchform_html.ftl">
<#include "include/data_page_obj_searchform.ftl">
</div>
<div class="operation">
<#if selectOperation>
@ -88,8 +89,6 @@ boolean readonly 是否只读操作默认为false
<#if !isAjaxRequest>
</div>
</#if>
<#include "include/data_page_obj.ftl">
<#include "include/data_page_obj_searchform_js.ftl">
<#include "../include/page_obj_pagination.ftl">
<#include "include/data_page_obj_grid.ftl">
<#if !readonly>

View File

@ -7,11 +7,10 @@
*
-->
<#--
查询表单JS片段。
查询表单片段。
依赖:
data_page_obj.ftl
data_page_obj_searchform_html.ftl
变量:
//查询回调函数不允许为null格式为function(searchParam){}
@ -19,6 +18,31 @@ po.search = undefined;
//查询条件autocomplete初始数据不允许为null
po.conditionAutocompleteSource = undefined;
-->
<form id="${pageId}-searchForm" class="search-form" action="#" tabindex="0">
<div class="ui-widget ui-widget-content keyword-widget">
<span class="ui-icon like-switch-icon ui-icon-radio-off" title="<@spring.message code='data.likeTitle' />"></span><div class="keyword-input-parent"><input name="keyword" type="text" class="ui-widget ui-widget-content keyword-input" tabindex="2" title="<@spring.message code='data.keywordTitle' />" /></div>
<input type="hidden" name="notLike" value="" />
</div>
<div class="search-condition-icon-parent" title="<@spring.message code='data.conditionPanelWithShortcut' />">
<span class="ui-icon ui-icon-caret-1-s search-condition-icon"></span>
<span class="ui-icon ui-icon-bullet search-condition-icon-tip"></span>
</div>
<button type="submit" class="ui-button ui-corner-all ui-widget" tabindex="3"><@spring.message code='query' /></button>
<div class="condition-panel-parent">
<div class="ui-widget ui-widget-content ui-widget-shadow condition-panel" tabindex="0">
<div class="ui-corner-all ui-widget-header ui-helper-clearfix ui-draggable-handle condition-panel-title-bar">
<span class="ui-icon ui-icon-arrowthickstop-1-n condition-panel-resetpos-icon" title="<@spring.message code='restoration' />"></span>
</div>
<div class="condition-parent">
<textarea name="condition" tabindex="5" class="ui-widget ui-widget-content" title="<@spring.message code='data.conditionTitle' />"></textarea>
</div>
<div class="condition-action">
<span class="ui-icon ui-icon-trash condition-panel-clear-icon" title="<@spring.message code='data.clearWithShortcut' />"></span>
<span class="ui-icon ui-icon-search condition-panel-submit-icon" title="<@spring.message code='data.queryWithShortcut' />"></span>
</div>
</div>
</div>
</form>
<script type="text/javascript">
(function(po)
{

View File

@ -1,36 +0,0 @@
<#--
*
* Copyright 2018 datagear.tech
*
* Licensed under the LGPLv3 license:
* http://www.gnu.org/licenses/lgpl-3.0.html
*
-->
<#--
查询表单HTML片段。
-->
<form id="${pageId}-searchForm" class="search-form" action="#" tabindex="0">
<div class="ui-widget ui-widget-content keyword-widget">
<span class="ui-icon like-switch-icon ui-icon-radio-off" title="<@spring.message code='data.likeTitle' />"></span><div class="keyword-input-parent"><input name="keyword" type="text" class="ui-widget ui-widget-content keyword-input" tabindex="2" title="<@spring.message code='data.keywordTitle' />" /></div>
<input type="hidden" name="notLike" value="" />
</div>
<div class="search-condition-icon-parent" title="<@spring.message code='data.conditionPanelWithShortcut' />">
<span class="ui-icon ui-icon-caret-1-s search-condition-icon"></span>
<span class="ui-icon ui-icon-bullet search-condition-icon-tip"></span>
</div>
<button type="submit" class="ui-button ui-corner-all ui-widget" tabindex="3"><@spring.message code='query' /></button>
<div class="condition-panel-parent">
<div class="ui-widget ui-widget-content ui-widget-shadow condition-panel" tabindex="0">
<div class="ui-corner-all ui-widget-header ui-helper-clearfix ui-draggable-handle condition-panel-title-bar">
<span class="ui-icon ui-icon-arrowthickstop-1-n condition-panel-resetpos-icon" title="<@spring.message code='restoration' />"></span>
</div>
<div class="condition-parent">
<textarea name="condition" tabindex="5" class="ui-widget ui-widget-content" title="<@spring.message code='data.conditionTitle' />"></textarea>
</div>
<div class="condition-action">
<span class="ui-icon ui-icon-trash condition-panel-clear-icon" title="<@spring.message code='data.clearWithShortcut' />"></span>
<span class="ui-icon ui-icon-search condition-panel-submit-icon" title="<@spring.message code='data.queryWithShortcut' />"></span>
</div>
</div>
</div>
</form>

View File

@ -22,6 +22,7 @@ readonly 是否只读操作允许为null
<title><#include "../include/html_title_app_name.ftl"><@spring.message code='${titleMessageKey}' /></title>
</head>
<body>
<#include "../include/page_js_obj.ftl" >
<div id="${pageId}" class="page-form page-form-dataSetResDirectory">
<form id="${pageId}-form" action="${contextPath}/dataSetResDirectory/${formAction}" method="POST">
<div class="form-head"></div>
@ -53,7 +54,6 @@ readonly 是否只读操作允许为null
</div>
</form>
</div>
<#include "../include/page_js_obj.ftl" >
<#include "../include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -27,7 +27,7 @@ selectOperation 是否选择操作允许为null
<div id="${pageId}" class="page-grid page-grid-dataSetResDirectory">
<div class="head">
<div class="search search-dataSetResDirectory">
<#include "../include/page_obj_searchform.html.ftl">
<#include "../include/page_obj_searchform.ftl">
</div>
<div class="operation">
<#if selectOperation>
@ -57,7 +57,6 @@ selectOperation 是否选择操作允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_obj_searchform_js.ftl">
<#include "../include/page_obj_pagination.ftl">
<#include "../include/page_obj_grid.ftl">
<#include "../include/page_obj_data_permission.ftl" >

View File

@ -26,6 +26,7 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-dataexchange-type page-dataexport-type">
<div class="head">
</div>
@ -96,8 +97,6 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<script type="text/javascript">
(function(po)
{

View File

@ -26,6 +26,7 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-dataexchange page-dataexport-text page-dataexport-csv">
<div class="head">
<@spring.message code='dataExport.exportCsvData' />
@ -105,8 +106,6 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<#include "../include/page_obj_grid.ftl">
<#include "../include/page_obj_format_time.ftl" >
<#include "include/dataExchange_js.ftl" >

View File

@ -26,6 +26,7 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-dataexchange page-dataexport-text page-dataexport-excel">
<div class="head">
<@spring.message code='dataExport.exportExcelData' />
@ -107,8 +108,6 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<#include "../include/page_obj_grid.ftl">
<#include "../include/page_obj_format_time.ftl" >
<#include "include/dataExchange_js.ftl" >

View File

@ -26,6 +26,7 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-dataexchange page-dataexport-text page-dataexport-json">
<div class="head">
<@spring.message code='dataExport.exportJsonData' />
@ -116,8 +117,6 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<#include "../include/page_obj_grid.ftl">
<#include "../include/page_obj_format_time.ftl" >
<#include "include/dataExchange_js.ftl" >

View File

@ -26,6 +26,7 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-dataexchange page-dataexport-text page-dataexport-sql">
<div class="head">
<@spring.message code='dataExport.exportSqlData' />
@ -116,8 +117,6 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<#include "../include/page_obj_grid.ftl">
<#include "../include/page_obj_format_time.ftl" >
<#include "include/dataExchange_js.ftl" >

View File

@ -26,6 +26,7 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-dataexchange-type page-dataimport-type">
<div class="head">
</div>
@ -101,8 +102,6 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<script type="text/javascript">
(function(po)
{

View File

@ -26,6 +26,7 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-dataexchange page-dataimport-text page-dataimport-csv">
<div class="head">
<@spring.message code='dataImport.importCsvData' />
@ -126,8 +127,6 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<#include "../include/page_obj_grid.ftl">
<#include "../include/page_obj_format_time.ftl" >
<#include "include/dataExchange_js.ftl" >

View File

@ -26,6 +26,7 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-dataimport">
<div class="head">
</div>
@ -53,8 +54,6 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<script type="text/javascript">
(function(po)
{

View File

@ -26,6 +26,7 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-dataexchange page-dataimport-text page-dataimport-excel">
<div class="head">
<@spring.message code='dataImport.importExcelData' />
@ -128,8 +129,6 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<#include "../include/page_obj_grid.ftl">
<#include "../include/page_obj_format_time.ftl" >
<#include "include/dataExchange_js.ftl" >

View File

@ -26,6 +26,7 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-dataexchange page-dataimport-text page-dataimport-json">
<div class="head">
<@spring.message code='dataImport.importJsonData' />
@ -137,8 +138,6 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<#include "../include/page_obj_grid.ftl">
<#include "../include/page_obj_format_time.ftl" >
<#include "include/dataExchange_js.ftl" >

View File

@ -26,6 +26,7 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-dataexchange page-dataimport-text page-dataimport-csv">
<div class="head">
<@spring.message code='dataImport.importSqlData' />
@ -102,8 +103,6 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<#include "../include/page_obj_grid.ftl">
<#include "../include/page_obj_format_time.ftl" >
<#include "include/dataExchange_js.ftl" >

View File

@ -26,6 +26,7 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-dataexchange-log">
<div class="head">
</div>
@ -40,8 +41,6 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<script type="text/javascript">
(function(po)
{

View File

@ -21,6 +21,7 @@ readonly 是否只读操作允许为null
<title><#include "../include/html_title_app_name.ftl"><@spring.message code='${titleMessageKey}' /></title>
</head>
<body>
<#include "../include/page_js_obj.ftl" >
<div id="${pageId}" class="page-form page-form-driverEntity">
<form id="${pageId}-form" action="${contextPath}/driverEntity/${formAction}" method="POST">
<div class="form-head"></div>
@ -87,7 +88,6 @@ readonly 是否只读操作允许为null
</div>
</form>
</div>
<#include "../include/page_js_obj.ftl" >
<#include "../include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -22,10 +22,11 @@ selectOperation 是否选择操作允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-grid page-grid-hidden-foot page-grid-driverEntity">
<div class="head">
<div class="search">
<#include "../include/page_obj_searchform.html.ftl">
<#include "../include/page_obj_searchform.ftl">
</div>
<div class="operation">
<#if selectOperation>
@ -56,8 +57,6 @@ selectOperation 是否选择操作允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<#include "../include/page_obj_searchform_js.ftl">
<#include "../include/page_obj_grid.ftl">
<script type="text/javascript">
(function(po)

View File

@ -14,6 +14,7 @@
<title><#include "../include/html_title_app_name.ftl"><@spring.message code='driverEntity.importDriverEntity' /></title>
</head>
<body>
<#include "../include/page_js_obj.ftl" >
<div id="${pageId}" class="page-form page-form-driverEntityImport">
<form id="${pageId}-form" action="${contextPath}/driverEntity/saveImport" method="POST">
<div class="form-head"></div>
@ -45,7 +46,6 @@
</div>
</form>
</div>
<#include "../include/page_js_obj.ftl" >
<#include "../include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -61,7 +61,7 @@ page_js_obj.ftl
};
/**
* 集成data_page_obj_searchform_js.ftl的默认实现。
* 集成page_obj_searchform.ftl的默认实现。
*/
po.search = function(searchParam)
{

View File

@ -7,7 +7,14 @@
*
-->
<#--
查询表单HTML片段。
查询表单片段。
依赖:
page_js_obj.ftl
变量:
//查询回调函数不允许为null格式为function(searchParam){}
po.search = undefined;
-->
<form id="${pageId}-searchForm" class="search-form" action="#">
<div class="ui-widget ui-widget-content keyword-widget simple">
@ -17,3 +24,4 @@
</div>
<input name="submit" type="submit" value="<@spring.message code='query' />" />
</form>
<#include "page_obj_searchform_js.ftl">

View File

@ -7,11 +7,10 @@
*
-->
<#--
查询表单JS片段。
查询表单片段。
依赖:
page_js_obj.ftl
page_obj_searchform_html.ftl
变量:
//查询回调函数不允许为null格式为function(searchParam){}
@ -29,7 +28,7 @@ po.search = undefined;
return false;
});
po.getSearchParam = function()
{
var param =

View File

@ -14,6 +14,7 @@
<title><#include "include/html_title_app_name.ftl"><@spring.message code='login.login' /></title>
</head>
<body>
<#include "include/page_js_obj.ftl">
<div id="${pageId}">
<div class="main-page-head">
<#include "include/html_logo.ftl">
@ -58,7 +59,6 @@
</form>
</div>
</div>
<#include "include/page_js_obj.ftl">
<#include "include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -14,6 +14,7 @@
<title><#include "include/html_title_app_name.ftl"><@spring.message code='register.register' /></title>
</head>
<body>
<#include "include/page_js_obj.ftl" >
<div id="${pageId}">
<div class="main-page-head">
<#include "include/html_logo.ftl">
@ -67,7 +68,6 @@
</form>
</div>
</div>
<#include "include/page_js_obj.ftl" >
<#include "include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -18,6 +18,7 @@
<title><#include "include/html_title_app_name.ftl"><@spring.message code='resetPassword.resetPassword' /></title>
</head>
<body>
<#include "include/page_js_obj.ftl">
<div id="${pageId}">
<div class="main-page-head main-page-head-reset-passord">
<#include "include/html_logo.ftl">
@ -106,7 +107,6 @@
</div>
</div>
</div>
<#include "include/page_js_obj.ftl">
<#include "include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -22,6 +22,7 @@ readonly 是否只读操作允许为null
<title><#include "../include/html_title_app_name.ftl"><@spring.message code='${titleMessageKey}' /></title>
</head>
<body>
<#include "../include/page_js_obj.ftl" >
<div id="${pageId}" class="page-form page-form-role">
<form id="${pageId}-form" action="${contextPath}/role/${formAction}" method="POST">
<div class="form-head"></div>
@ -66,7 +67,6 @@ readonly 是否只读操作允许为null
</div>
</form>
</div>
<#include "../include/page_js_obj.ftl" >
<#include "../include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -22,10 +22,11 @@ selectOperation 是否选择操作允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-grid page-grid-role">
<div class="head">
<div class="search">
<#include "../include/page_obj_searchform.html.ftl">
<#include "../include/page_obj_searchform.ftl">
</div>
<div class="operation">
<#if selectOperation>
@ -55,9 +56,7 @@ selectOperation 是否选择操作允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<#include "../include/page_obj_pagination.ftl">
<#include "../include/page_obj_searchform_js.ftl">
<#include "../include/page_obj_grid.ftl">
<script type="text/javascript">
(function(po)

View File

@ -17,10 +17,11 @@
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-grid page-grid-role-user">
<div class="head">
<div class="search">
<#include "../include/page_obj_searchform.html.ftl">
<#include "../include/page_obj_searchform.ftl">
</div>
<div class="operation">
<input name="addButton" type="button" value="<@spring.message code='add' />" />
@ -40,9 +41,7 @@
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<#include "../include/page_obj_pagination.ftl">
<#include "../include/page_obj_searchform_js.ftl">
<#include "../include/page_obj_grid.ftl">
<script type="text/javascript">
(function(po)

View File

@ -18,6 +18,7 @@ preview 是否是预览请求允许为null
<title><#include "../include/html_title_app_name.ftl"><@spring.message code='schema.schemaBuildUrl' /></title>
</head>
<body>
<#include "../include/page_js_obj.ftl" >
<div id="${pageId}" class="page-form page-form-buildSchemaUrl">
<div id="dbUrlBuilderScriptCode" style="display: none;">
${scriptCode!''}
@ -70,7 +71,6 @@ preview 是否是预览请求允许为null
<div class="url-preview"></div>
</#if>
</div>
<#include "../include/page_js_obj.ftl" >
<#include "../include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -21,6 +21,7 @@ readonly 是否只读操作允许为null
<title><#include "../include/html_title_app_name.ftl"><@spring.message code='${titleMessageKey}' /></title>
</head>
<body>
<#include "../include/page_js_obj.ftl" >
<div id="${pageId}" class="schema-form">
<form id="${pageId}-form" action="${contextPath}/schema/${formAction}" method="POST">
<div class="form-head"></div>
@ -131,7 +132,6 @@ readonly 是否只读操作允许为null
</div>
</form>
</div>
<#include "../include/page_js_obj.ftl" >
<#include "../include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -24,10 +24,11 @@ boolean readonly 是否只读操作默认为false
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-grid page-grid-hidden-foot page-grid-schema">
<div class="head">
<div class="search">
<#include "../include/page_obj_searchform.html.ftl">
<#include "../include/page_obj_searchform.ftl">
</div>
<div class="operation">
<#if selectOperation>
@ -60,8 +61,6 @@ boolean readonly 是否只读操作默认为false
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<#include "../include/page_obj_searchform_js.ftl">
<#include "../include/page_obj_grid.ftl">
<script type="text/javascript">
(function(po)

View File

@ -14,6 +14,7 @@
<title><#include "include/html_title_app_name.ftl"><@spring.message code='schemaUrlBuilder.schemaUrlBuilder' /></title>
</head>
<body>
<#include "include/page_js_obj.ftl">
<div id="${pageId}" class="page-form page-form-schemaUrlBuilder">
<form id="${pageId}-form" action="${contextPath}/schemaUrlBuilder/saveScriptCode" method="POST">
<div class="form-head"></div>
@ -57,7 +58,6 @@
</div>
</form>
</div>
<#include "include/page_js_obj.ftl">
<#include "include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -26,6 +26,7 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-sqlpad">
<div class="head button-operation">
<button id="executeSqlButton" class="ui-button ui-corner-all ui-widget ui-button-icon-only first" title="<@spring.message code='sqlpad.executeWithShortcut' />"><span class="ui-button-icon ui-icon ui-icon-play"></span><span class="ui-button-icon-space"> </span><@spring.message code='execute' /></button>
@ -175,8 +176,6 @@ Schema schema 数据库不允许为null
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<#include "../include/page_obj_tabs.ftl" >
<#include "../include/page_obj_format_time.ftl" >
<#include "../include/page_obj_data_permission.ftl">

View File

@ -22,6 +22,7 @@ readonly 是否只读操作允许为null
<title><#include "../include/html_title_app_name.ftl"><@spring.message code='${titleMessageKey}' /></title>
</head>
<body>
<#include "../include/page_js_obj.ftl" >
<div id="${pageId}" class="page-form page-form-user">
<form id="${pageId}-form" action="${contextPath}/user/${formAction}" method="POST">
<div class="form-head"></div>
@ -87,7 +88,6 @@ readonly 是否只读操作允许为null
</div>
</form>
</div>
<#include "../include/page_js_obj.ftl" >
<#include "../include/page_obj_form.ftl">
<script type="text/javascript">
(function(po)

View File

@ -24,10 +24,11 @@ boolean readonly 是否只读操作默认为false
<#if !isAjaxRequest>
<div class="fill-parent">
</#if>
<#include "../include/page_js_obj.ftl">
<div id="${pageId}" class="page-grid page-grid-user">
<div class="head">
<div class="search">
<#include "../include/page_obj_searchform.html.ftl">
<#include "../include/page_obj_searchform.ftl">
</div>
<div class="operation">
<#if selectOperation>
@ -56,9 +57,7 @@ boolean readonly 是否只读操作默认为false
<#if !isAjaxRequest>
</div>
</#if>
<#include "../include/page_js_obj.ftl">
<#include "../include/page_obj_pagination.ftl">
<#include "../include/page_obj_searchform_js.ftl">
<#include "../include/page_obj_grid.ftl">
<script type="text/javascript">
(function(po)