mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-13 13:38:14 +08:00
完美了
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
.power_pre{position:absolute;bottom:0;float:left;height:76px;width:0;border-left:1px solid #00ffff38;border-top:1px solid #000;}
|
.power_pre{position:absolute;bottom:0;float:left;height:76px;width:0;border-left:1px solid #00ffff38;border-top:1px solid #000;}
|
||||||
.power_by{text-align:center;}
|
.power_by{text-align:center;}
|
||||||
.power_by a{text-decoration:none;}
|
.power_by a{text-decoration:none;}
|
||||||
.log_div{min-inline-size:auto;overflow:hidden;}
|
.log_div{min-inline-size:auto;overflow:scroll;}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -191,7 +191,7 @@
|
|||||||
<button class="submit_bt" onclick="GetSysLog()">Refresh</button>
|
<button class="submit_bt" onclick="GetSysLog()">Refresh</button>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<p class="power_by">power by <a href="https://github.com/zogodo/zTC1" target="_blank">github/zTC1</a></p>
|
<p class="power_by">power by <a id="end" href="https://github.com/zogodo/zTC1" target="_blank">github/zTC1</a></p>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
@@ -430,6 +430,8 @@ function GetScanResult() {
|
|||||||
function GetSysLog() {
|
function GetSysLog() {
|
||||||
HttpGet("/log", function (re) {
|
HttpGet("/log", function (re) {
|
||||||
sys_log.innerHTML = re;
|
sys_log.innerHTML = re;
|
||||||
|
//document.body.scrollTop = document.body.scrollHeight;
|
||||||
|
document.getElementById("end").scrollIntoView();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user