source: tmcsimulator/trunk/webapps/unifiedlogdisplay.html @ 551

Revision 551, 887 bytes checked in by jdalbey, 6 years ago (diff)

Multi-file commit to implement saving evaluation ratings from einotebook to a log file and merging with unified log. Also fix defect #212. cgi-bin/saveEvals.py cgi-bin/saveRatingsToLog.py common/js/displayutils.js common/js/fileutils.js common/js/revision_number.dat common/unifiedlog.css dynamicdata/CADcomments.log dynamicdata/caddetails.csv dynamicdata cms_messages.json dynamicdata/har_messages.json dynamicdata highway_status.json dynamicdata/ratings.csv dynamicdata/unifiedlog.csv dynamicdata/unifiedlog_final.csv einotebook/roles/index.html einotebook roles/roles.js einotebook/script/index.html einotebook/script scrollframe.js einotebook/scripts/Evaluation.js einotebook/scripts/Event.js mergelogs.bash unifiedlogdisplay.html unifiedlogmonitor.html

Line 
1<!DOCTYPE html>
2<html>
3  <head>
4  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
5    <title>Unified Log Display v</title> 
6
7<link href="common/unifiedlog.css" rel="stylesheet" type="text/css">
8</head>
9<body>
10<div class="row">
11    <p id="display"></p>   <!-- There is a css style for this id -->
12</div>
13    <script  src="common/js/fileutils.js"></script>
14    <script  src="common/js/revision_number.dat"></script>
15    <script  src="common/js/displayutils.js"></script> 
16   <script>
17function showLog(filename)
18{
19    var display = document.getElementById("display");
20    loadLog(filename, display)
21}
22// Start
23showRevision();
24parms = getQueryParms();
25// See if a file parameter was provided by the user
26// if not, use the default file
27if (parms['file'] == null)
28{
29    showLog("unifiedlog_final.csv");
30}
31else
32{
33    showLog(parms['file']);
34}
35   </script>
36  </body>
37</html>
Note: See TracBrowser for help on using the repository browser.