日志Console

pull/1/head v1.6.1
xueli.xue 8 years ago
parent 6aab96d014
commit f8b8a1918c

@ -44,13 +44,18 @@
</header> </header>
<div class="content-wrapper" > <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> <div id="logConsole"></div>
<li class="fa fa-refresh fa-spin" style="font-size: 20px;float: left;" id="logConsoleRunning" ></li> <li class="fa fa-refresh fa-spin" style="font-size: 20px;float: left;" id="logConsoleRunning" ></li>
<div><hr><hr></div> <div><hr><hr></div>
</pre> </pre>
</section>
</div> </div>
<!-- footer -->
<@netCommon.commonFooter />
</div> </div>
<@netCommon.commonScript /> <@netCommon.commonScript />

@ -58,8 +58,7 @@ $(function() {
pullFailCount = 0; pullFailCount = 0;
// scroll to bottom // scroll to bottom
//scrollTo(0, document.body.scrollHeight); scrollTo(0, document.body.scrollHeight); // $('#logConsolePre').scrollTop( document.body.scrollHeight + 300 );
$('#logConsolePre').scrollTop( document.body.scrollHeight + 300 );
} else { } else {
console.log('pullLog fail:'+data.msg); console.log('pullLog fail:'+data.msg);

Loading…
Cancel
Save