diff --git a/doc/screenshots/DashboardAIL.png b/doc/screenshots/DashboardAIL.png index 7a36b2e5..75386387 100644 Binary files a/doc/screenshots/DashboardAIL.png and b/doc/screenshots/DashboardAIL.png differ diff --git a/var/www/static/js/indexjavascript.js b/var/www/static/js/indexjavascript.js index c17e5f4b..90b4837e 100644 --- a/var/www/static/js/indexjavascript.js +++ b/var/www/static/js/indexjavascript.js @@ -22,6 +22,7 @@ source.onmessage = function(event) { function create_log_table(obj_json) { tableBody = document.getElementById("tab_body") var tr = document.createElement('TR') + var time = document.createElement('TD') var chan = document.createElement('TD') var level = document.createElement('TD') var scrpt = document.createElement('TD') @@ -56,15 +57,19 @@ function create_log_table(obj_json) { src.appendChild(source_link); + var now = new Date(); + var timepaste = now.getHours() + ":" + now.getMinutes() + ":" + now.getSeconds(); + + time.appendChild(document.createTextNode(timepaste)); chan.appendChild(document.createTextNode(chansplit[0])); level.appendChild(document.createTextNode(chansplit[1])); scrpt.appendChild(document.createTextNode(parsedmess[0])); - //src.appendChild(document.createTextNode(parsedmess[1])); pdate.appendChild(document.createTextNode(parsedmess[2])); nam.appendChild(document.createTextNode(parsedmess[3])); msage.appendChild(document.createTextNode(parsedmess[4])); + tr.appendChild(time) tr.appendChild(chan); tr.appendChild(level); tr.appendChild(scrpt); diff --git a/var/www/templates/index.html b/var/www/templates/index.html index ac06d919..019e8236 100644 --- a/var/www/templates/index.html +++ b/var/www/templates/index.html @@ -91,9 +91,9 @@ - INFO - WARNING - CRITICAL + INFO + WARNING + CRITICAL @@ -103,6 +103,7 @@ +
Time Channel Level Script Name