Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
399cc2b1
authored
Jun 24, 2018
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
任务编辑界面调整
parent
caf38881
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
18 deletions
xxl-job-admin/src/main/resources/i18n/message.properties
xxl-job-admin/src/main/resources/i18n/message_en.properties
xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/jobinfo.index.ftl
xxl-job-admin/src/main/resources/i18n/message.properties
View file @
399cc2b1
...
...
@@ -129,6 +129,7 @@ jobinfo_glue_remark_limit=源码备注长度限制为4~100
jobinfo_glue_rollback
=
版本回溯
jobinfo_glue_jobid_unvalid
=
任务ID非法
jobinfo_glue_gluetype_unvalid
=
该任务非GLUE模式
jobinfo_field_executorTimeout_placeholder
=
任务超时时间,单位秒,大于零时生效
## job log
joblog_name
=
调度日志
...
...
xxl-job-admin/src/main/resources/i18n/message_en.properties
View file @
399cc2b1
...
...
@@ -129,6 +129,7 @@ jobinfo_glue_remark_limit=Resource Remark length is limited to 4~100
jobinfo_glue_rollback
=
Version Backtrack
jobinfo_glue_jobid_unvalid
=
Job ID is illegal
jobinfo_glue_gluetype_unvalid
=
The job is not GLUE Type
jobinfo_field_executorTimeout_placeholder
=
Job Timeout period,in seconds. effect if greater than zero
## job log
joblog_name
=
Trigger Log
...
...
xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/jobinfo.index.ftl
View file @
399cc2b1
...
...
@@ -145,14 +145,18 @@
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"childJobId"
placeholder=
"${I18n.jobinfo_field_childJobId_placeholder}"
maxlength=
"100"
></div>
</div>
<div
class=
"form-group"
>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_timeout}
<font
color=
"black"
>
*
</font></label>
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"executorTimeout"
placeholder=
"${I18n.jobinfo_field_executorTimeout_placeholder}"
maxlength=
"6"
></div>
<label
for=
"firstname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_executorBlockStrategy}
<font
color=
"red"
>
*
</font></label>
<div
class=
"col-sm-4"
>
<select
class=
"form-control"
name=
"executorBlockStrategy"
>
<
#
list
ExecutorBlockStrategyEnum
as
item
>
<option
value=
"${item}"
>
${item.title}
</option>
</
#
list>
<option
value=
"${item}"
>
${item.title}
</option>
</
#
list>
</select>
</div>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_executorFailStrategy}
<font
color=
"red"
>
*
</font></label>
<div
class=
"col-sm-4"
>
<select
class=
"form-control"
name=
"executorFailStrategy"
>
...
...
@@ -161,17 +165,12 @@
</
#
list>
</select>
</div>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_alarmemail}
<font
color=
"black"
>
*
</font></label>
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"alarmEmail"
placeholder=
"${I18n.jobinfo_field_alarmemail_placeholder}"
maxlength=
"100"
></div>
</div>
<div
class=
"form-group"
>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_author}
<font
color=
"red"
>
*
</font></label>
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"author"
placeholder=
"${I18n.system_please_input}${I18n.jobinfo_field_author}"
maxlength=
"50"
></div>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_alarmemail}
<font
color=
"black"
>
*
</font></label>
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"alarmEmail"
placeholder=
"${I18n.jobinfo_field_alarmemail_placeholder}"
maxlength=
"100"
></div>
</div>
<div
class=
"form-group"
>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_timeout}
<font
color=
"black"
>
*
</font></label>
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"executorTimeout"
placeholder=
"任务超时时间,单位秒,大于零时生效"
maxlength=
"6"
></div>
</div>
<hr>
...
...
@@ -318,14 +317,18 @@ process.exit(0)
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"childJobId"
placeholder=
"${I18n.jobinfo_field_childJobId_placeholder}"
maxlength=
"100"
></div>
</div>
<div
class=
"form-group"
>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_timeout}
<font
color=
"black"
>
*
</font></label>
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"executorTimeout"
placeholder=
"${I18n.jobinfo_field_executorTimeout_placeholder}"
maxlength=
"6"
></div>
<label
for=
"firstname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_executorBlockStrategy}
<font
color=
"red"
>
*
</font></label>
<div
class=
"col-sm-4"
>
<select
class=
"form-control"
name=
"executorBlockStrategy"
>
<
#
list
ExecutorBlockStrategyEnum
as
item
>
<option
value=
"${item}"
>
${item.title}
</option>
</
#
list>
</
#
list>
</select>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_executorFailStrategy}
<font
color=
"red"
>
*
</font></label>
<div
class=
"col-sm-4"
>
<select
class=
"form-control"
name=
"executorFailStrategy"
>
...
...
@@ -334,17 +337,13 @@ process.exit(0)
</
#
list>
</select>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_author}
<font
color=
"red"
>
*
</font></label>
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"author"
placeholder=
"${I18n.system_please_input}${I18n.jobinfo_field_author}"
maxlength=
"50"
></div>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_alarmemail}
<font
color=
"black"
>
*
</font></label>
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"alarmEmail"
placeholder=
"${I18n.jobinfo_field_alarmemail_placeholder}"
maxlength=
"100"
></div>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_
timeout}
<font
color=
"black
"
>
*
</font></label>
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"
executorTimeout"
placeholder=
"任务超时时间,单位秒,大于零时生效"
maxlength=
"6
"
></div>
<label
for=
"lastname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_
author}
<font
color=
"red
"
>
*
</font></label>
<div
class=
"col-sm-4"
><input
type=
"text"
class=
"form-control"
name=
"
author"
placeholder=
"${I18n.system_please_input}${I18n.jobinfo_field_author}"
maxlength=
"50
"
></div>
</div>
<hr>
...
...
Write
Preview
Markdown
is supported
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