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
f8b8a191
authored
Mar 27, 2017
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
日志Console
parent
6aab96d0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
xxl-job-admin/src/main/webapp/WEB-INF/template/joblog/joblog.detail.ftl
xxl-job-admin/src/main/webapp/static/js/joblog.detail.1.js
xxl-job-admin/src/main/webapp/WEB-INF/template/joblog/joblog.detail.ftl
View file @
f8b8a191
...
...
@@ -44,13 +44,18 @@
</header>
<div
class=
"content-wrapper"
>
<pre
style=
"font-size:12px;position: absolute; height:100%;width:100%;"
id=
"logConsolePre"
>
<section
class=
"content"
>
<pre
style=
"font-size:12px;position:relative;"
>
<div
id=
"logConsole"
></div>
<li
class=
"fa fa-refresh fa-spin"
style=
"font-size: 20px;float: left;"
id=
"logConsoleRunning"
></li>
<div><hr><hr></div>
</pre>
</section>
</div>
<!-- footer -->
<
@
netCommon
.
commonFooter
/>
</div>
<
@
netCommon
.
commonScript
/>
...
...
xxl-job-admin/src/main/webapp/static/js/joblog.detail.1.js
View file @
f8b8a191
...
...
@@ -58,8 +58,7 @@ $(function() {
pullFailCount
=
0
;
// scroll to bottom
//scrollTo(0, document.body.scrollHeight);
$
(
'#logConsolePre'
).
scrollTop
(
document
.
body
.
scrollHeight
+
300
);
scrollTo
(
0
,
document
.
body
.
scrollHeight
);
// $('#logConsolePre').scrollTop( document.body.scrollHeight + 300 );
}
else
{
console
.
log
(
'pullLog fail:'
+
data
.
msg
);
...
...
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