Update index_template.html

Update javascript for log console python3
This commit is contained in:
Waldek 2019-09-18 06:59:33 +02:00 committed by GitHub
parent 6eab98e0a9
commit e4d846f428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -5,10 +5,12 @@
<title>HBLink monitor</title> <title>HBLink monitor</title>
<script type="text/javascript"> <script type="text/javascript">
var sock = null; var sock = null;
var ellog = null;
window.onload = function() { window.onload = function() {
var wsuri; var wsuri;
ellog = document.getElementById('log');
hblink_table = document.getElementById('hblink'); hblink_table = document.getElementById('hblink');
confbridge_table = document.getElementById('bridge'); confbridge_table = document.getElementById('bridge');
@ -62,10 +64,11 @@
}; };
function log(_msg) { function log(_msg) {
ellog.innerHTML += _msg + '\n';
ellog.scrollTop = ellog.scrollHeight;
}; };
</script> </script>
<style> <style>
a:link { a:link {
color: brown; color: brown;