- Timestamp:
- 11/07/2019 07:19:13 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/webapps/unifiedlogmonitor.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/webapps/unifiedlogmonitor.html
r442 r512 12 12 color: goldenrod 13 13 } 14 15 /* Color Code for unified logger */ 16 .CAD-log{ 17 color: #00FFFF; 18 } 19 .Activity-log{ 20 color: #32CD32; 21 } 22 .CMS-Activated{ 23 color: #FFFF00; 24 } 25 14 26 /* Padding for table cells */ 15 27 td { padding-top:2px; padding-right:10px; padding-bottom:2px; padding-left:10px; } … … 48 60 for (var singleRow = allRows.length-1; singleRow >= 0; singleRow--) 49 61 { 50 table += '<tr>';51 62 var rowCells = allRows[singleRow].split(','); 63 var msg_type = ""; 64 65 // trimming white space in the type of messages 66 // ingore the emtpy line 67 if (rowCells.length > 1) { 68 console.log("row cell " , rowCells[1]); 69 rowCells[1] = rowCells[1].trim(); 70 } 71 // Implement ticket #190 72 // Checking for the type of logging information 73 if (rowCells[1] == "CAD log") { 74 msg_type = "class=\"CAD-log\""; 75 } else if (rowCells[1] == "Activity Log.") { 76 msg_type = "class=\"Activity-log\""; 77 } else if (rowCells[1] == "CMS Activated.") { 78 msg_type = "class=\"CMS-Activated\""; 79 } 80 // add the message type class to that row 81 table += '<tr ' + msg_type + '>'; 52 82 for (var rowCell = 0; rowCell < rowCells.length; rowCell++) 53 83 {
Note: See TracChangeset
for help on using the changeset viewer.
