Changeset 538 in tmcsimulator for trunk


Ignore:
Timestamp:
12/04/2019 12:55:35 PM (6 years ago)
Author:
jdalbey
Message:

Remove obsolete code from einotebook

Location:
trunk/webapps/einotebook/scripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/webapps/einotebook/scripts/Event.js

    r515 r538  
    4646 
    4747    // Color constants (TODO: assign incident numbers dynamically) 
    48     var incidentColor = { 
     48/*    var incidentColor = { 
    4949187: "#d8f0f3",        // PowderBlue 
    5050188: "#dfecdf",        // DarkSeaGreen 
     
    5353191: "#ffffcc",       // Dark Orange 
    5454181: "#d8f0f3" } 
    55  
     55*/ 
    5656         
    5757        //========== function definitions ===========// 
     
    146146        function html() 
    147147        { 
    148         //console.log("building html for event: ", this.eventHeaderID, this.incident.color); //incidentColor[this.incident.number]); 
    149  
    150148                return "<table class='event'>" + 
    151149                           "<tr>" + 
  • trunk/webapps/einotebook/scripts/Incidents.js

    r515 r538  
    1212"#fff5cc",        // CornSilk 
    1313"#ffe8e6",        // MistyRose 
    14 "#ffffcc",       // Dark Orange 
    15 "#d8f0f3" ]; 
     14"#ffffcc",        // Dark Orange 
     15"#A0CFEC"         // Jeans Blue 
     16]; 
    1617 
    1718//========== public methods ==========// 
  • trunk/webapps/einotebook/scripts/LoadEvents.js

    r515 r538  
    4747                            var palletteSize = incidents.colorpallette.length; 
    4848                            var currColor = incidents.colorpallette[incidents.size()]; // modulo palleteSize 
     49                            //console.log(incidents.size() + " " + incidentNum + " " + currColor); 
    4950                            // Construct the incident 
    5051                            var theIncident = new Incident(evtTime, incidentNum, incidentTitle, "", currColor);                         
Note: See TracChangeset for help on using the changeset viewer.