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
e0ed8daa
authored
Mar 22, 2017
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
GLUE源码编辑器优化
parent
6a8f42a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
xxl-job-admin/src/main/webapp/WEB-INF/template/jobcode/jobcode.index.ftl
xxl-job-admin/src/main/webapp/static/js/jobcode.index.1.js
xxl-job-admin/src/main/webapp/WEB-INF/template/jobcode/jobcode.index.ftl
View file @
e0ed8daa
...
...
@@ -29,9 +29,9 @@
<div
class=
"content-wrapper"
>
<!-- Content Header (Page header) -->
<section
class=
"content-header"
>
<
#
--
<
section
class=
"content-header"
>
<h1>
任务调度中心
<small>
任务GLUE管理
</small></h1>
</section>
</section>
-->
<!-- Main content -->
<section
class=
"content"
>
<div
class=
"row"
>
...
...
@@ -75,17 +75,17 @@
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-xs-12"
>
<div
class=
"row"
id=
"glueSource"
>
<
#
--
<
div
class=
"col-xs-12"
>
<div
class=
"box callout callout-info"
>
<textarea
id=
"glueSource"
></textarea>
</div>
</div>
</div>
-->
</div>
</section>
</div>
<!-- footer -->
<
@
netCommon
.
commonFooter
/
>
<
#
--
<@
netCommon
.
commonFooter
/>
--
>
</div>
<
@
netCommon
.
commonScript
/>
...
...
xxl-job-admin/src/main/webapp/static/js/jobcode.index.1.js
View file @
e0ed8daa
$
(
function
()
{
// init code editor
var
codeEditor
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"glueSource"
),
{
/*var codeEditor = CodeMirror.fromTextArea(document.getElementById("glueSource"), {
mode : "text/x-java",
lineNumbers : true,
matchBrackets : true
});*/
var
codeEditor
=
CodeMirror
(
document
.
getElementById
(
"glueSource"
),
{
mode
:
"text/x-java"
,
lineNumbers
:
true
,
matchBrackets
:
true
...
...
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