Changeset 468 in tmcsimulator for trunk/webapps/einotebook/index.html


Ignore:
Timestamp:
07/28/2019 05:27:26 AM (7 years ago)
Author:
jdalbey
Message:

einotebook - multifile commit. Redesign to fix timing problem on some machines as well as improve file naming. Fixed #176.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/webapps/einotebook/index.html

    r401 r468  
    2121    <script type="text/javascript" src="scripts/Incident.js"></script> 
    2222    <script type="text/javascript" src="scripts/Incidents.js"></script> 
    23     <script type="text/javascript" src="scripts/LoadEvents.js"></script>  
    24     <!--script type="text/javascript" src="scripts/PopulateIncidents.js"></script--> 
    25     <!--script type="text/javascript" src="scripts/PopulateEvents.js"></script--> 
    2623    <script type="text/javascript" src="summary/summary.js"></script>  
    2724    <script type="text/javascript" src="notebook.js"></script>  
     25    <!-- LoadEvents contains init() function, the main entry point --> 
     26    <script type="text/javascript" src="scripts/LoadEvents.js"></script>  
    2827  </head> 
    29   <body onLoad="showRevision(); setupNotebook(); run();"> 
     28  <body onLoad="showRevision(); init()"> 
    3029     
    3130    <table class="notebook"> 
    32      <!-- The header which contains the number of evaluations, simulation status,  
    33                and time  
    34       <tr style="height: 20px"> 
    35         <td> 
    36           <table class="header">      
    37             <tr> 
    38              
    39               <td class="updateStatusBox"> 
    40                 <table> 
    41                   <tr> 
    42                     <td class="updateStatus" id="updateStatus">New Event</td> 
    43                   </tr> 
    44                 </table> 
    45               </td> 
    46          
    47               <td class="statusBox"> 
    48                 <center><table> 
    49                   <tr> 
    50                     <td class="simulationStatus" id="simulationStatus">NOT STARTED</td> 
    51                   </tr> 
    52                 </table></center> 
    53               </td>  
    54  
    55               <td class="simulationTime" id="simulationTime"> 
    56                 0:00:00 
    57               </td> 
    58  
    59             </tr> 
    60           </table> 
    61         </td> 
    62       </tr> 
    63 --> 
    6431      <tr style="height: 80px"> 
    6532        <td colspan='3' class="tabMenu"> 
     
    7744              Simulation Script 
    7845            </li> 
    79             <li class="notActive" id="CADTab"  
    80                 onClick="changeTab(this.id); showContent('cadPageContent')"> 
     46            <li class="notActive" id="currentTab"  
     47                onClick="changeTab(this.id); showContent('currentEventPageContent')"> 
    8148              Current Event 
    8249            </li> 
     
    9461      <tr> 
    9562            <td class='tabPageContent' id='summaryPageContent' style="display:inline"> 
    96             <iframe id='summaryTabPage' src='summary/summary.html' frameborder='0' scrolling='yes' 
    97                     height='100%' width='100%' 
    98                     onLoad='incidents.doc = getDocumentFromFrame(&quot;summaryTabPage&quot;); 
    99                     window.frames[0].loadSummary(incidents);'></iframe> 
     63            <iframe id='summaryTabPage' src='summary/index.html' frameborder='0' scrolling='yes' 
     64                    height='100%' width='100%'> 
     65            </iframe> 
    10066                  </td> 
    10167          <td class='tabPageContent' id='scriptPageContent' style="display:none;"> 
    102             <iframe id='tabPage' src='script/script.html' frameborder='0'  
    103             scrolling='yes' height='100%' width='100%' 
    104             onLoad='window.frames[1].loadScript(events, incidents);' 
    105             > 
     68            <iframe id='tabPage' src='script/index.html' frameborder='0'  
     69            scrolling='yes' height='100%' width='100%'> 
    10670                    </iframe> 
    10771                  </td> 
    108                   <td class='tabPageContent' id='cadPageContent' style="display:none;"> 
    109                     <iframe src='cad/index.html' frameborder='0'  
    110              scrolling='yes' height='100%' width='100%'  
    111             onLoad='window.frames[2].loadScript(events, incidents);'> 
     72                  <td class='tabPageContent' id='currentEventPageContent' style="display:none;"> 
     73                    <iframe id='currentEventPage' src='currentEvent/index.html' frameborder='0'  
     74             scrolling='yes' height='100%' width='100%'>  
    11275                    </iframe> 
    11376                  </td> 
    11477          <td class='tabPageContent' id='mapsPageContent' style="display:none;"> 
    11578            <iframe src='maps/index.html' frameborder='0'  
    116                              scrolling='no' height='100%' width='100%' > 
     79            scrolling='no' height='100%' width='100%' > 
    11780                    </iframe> 
    11881          </td> 
Note: See TracChangeset for help on using the changeset viewer.