Changeset 621 in tmcsimulator for branches/LCSv2/views
- Timestamp:
- 08/19/2020 08:18:24 AM (6 years ago)
- Location:
- branches/LCSv2/views/default
- Files:
-
- 4 edited
-
results.html (modified) (3 diffs)
-
results.html.bak (modified) (4 diffs)
-
submit.html (modified) (1 diff)
-
submit.html.bak (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/LCSv2/views/default/results.html
r619 r621 8 8 lineout += "<table border='1' cellpadding='5'><tr><th>Event</th><th>User</th><th>Req Date</th><th>Status Date</th></tr>" 9 9 // Is there a 1097 status? 10 if (fields[ 3].length > 0)10 if (fields[6].length > 0) 11 11 { 12 12 lineout += "<tr>"; … … 18 18 } 19 19 // Is there a 1098 status? 20 if (fields[ 9].length > 0)20 if (fields[10].length > 0) 21 21 { 22 22 lineout += "<tr>"; … … 28 28 } 29 29 // Is there a 1022 status? 30 if (fields[1 3].length > 0)30 if (fields[14].length > 0) 31 31 { 32 32 lineout += "<tr>"; -
branches/LCSv2/views/default/results.html.bak
r619 r621 8 8 lineout += "<table border='1' cellpadding='5'><tr><th>Event</th><th>User</th><th>Req Date</th><th>Status Date</th></tr>" 9 9 // Is there a 1097 status? 10 if (fields[ 3].length > 0)10 if (fields[4].length > 0) 11 11 { 12 12 lineout += "<tr>"; … … 18 18 } 19 19 // Is there a 1098 status? 20 if (fields[ 9].length > 0)20 if (fields[10].length > 0) 21 21 { 22 22 lineout += "<tr>"; … … 28 28 } 29 29 // Is there a 1022 status? 30 if (fields[1 3].length > 0)30 if (fields[14].length > 0) 31 31 { 32 32 lineout += "<tr>"; … … 41 41 } 42 42 </script> 43 <h2> 44 Search Results 45 </h2> 46 <hr> 47 <!-- NB: Python code within comment is STILL executed --> 48 Query: {{=msg}} 49 <br> 50 Number of records found: {{=count}} 51 <br> 52 {{if (count > 0):}} 53 <!-- 54 <form action="statuslist.html" enctype="multipart/form-data" method="post"> 55 <input type="submit" value="show status form" /> 56 <button class="w2p-form-button" onclick="window.location='/HLD/default/showhistory';return false">show history</button><br> 43 <div style="margin: 0% 15% 0% 15%;"> 44 <div id="pageTitle" class="header"> Search Results </div> 45 <hr> 46 <!-- NB: Python code within comment is STILL executed --> 47 Query: {{=msg}} 48 <br> 49 Number of records found: {{=count}} 50 <hr> 57 51 <table border="1" cellpadding="5"> 58 <tr> 59 <th></th> 60 <th>DTM<br>Area</th> 61 <th>Closure ID / <br>Log No.</th> 62 <th>Route & Dir /<br>Type of Closure</th> 63 <th>Start Date<br>End Date<br>Est. Delay</th> 64 <th>Facility</th> 65 <th>Limits</th> 66 <th>Work<br>Description</th> 67 <th>TMP</th> 68 <th>Requestor/<br>Radio Call No.</th> 69 </tr> 70 {{for hwy in highways:}} 71 <tr> 72 <td><INPUT type="checkbox" name="ckb1" value="{{=hwy.closureid}}"/></td> 73 <td align="center">{{=hwy.closureid[0]}}</td> 74 <td align="center">{{=hwy.closureid}}<BR><HR>{{=hwy.lognum}}</td> 75 <td align="center">{{=hwy.route}} {{=hwy.direction}}<BR><HR>{{=hwy.closuretype}}</td> 76 <td align="center">{{=hwy.startdate}}<BR><HR>{{=hwy.enddate}}<BR><HR>{{=hwy.estdelay}}</td> 77 {{=TD(hwy.facility)}} 78 <td align="center">{{=hwy.startlocation}}<BR><HR>{{=hwy.endlocation}}</td> 79 {{=TD(hwy.worktype)}} 80 <td align="center">{{=hwy.tmpcozeep}}<BR>{{=hwy.tmpdetour}}</td> 81 {{=TD(hwy.supervisor)}} 82 {{pass}} 83 </tr> 52 {{=table}} 53 {{for item in multiform:}} 54 {{=item}} 55 {{pass}} 84 56 </table> 85 <div style="display:none;"> 86 <input name="_formkey" type="hidden" value="8138fabc-b5fc-4787-9f49-80e9ac931cf2" /> 87 <input name="_formname" type="hidden" value="default" /> 88 </div> 89 </form> 90 --> 91 {{pass}} 92 <HR> 93 <table border="1" cellpadding="5"> 94 {{=table}} 95 {{for item in multiform:}} 96 {{=item}} 97 {{pass}} 98 </table> 99 <HR> 57 <hr> 58 </div> -
branches/LCSv2/views/default/submit.html
r619 r621 66 66 } 67 67 </script> 68 68 <script> 69 // Handle a user click on a radio button for "existing incident" 70 function radioclicked() 71 { 72 var btngroup = document.getElementsByName('existing'); 73 // Is the YES button checked? 74 if(btngroup[1].checked) 75 { 76 // Turn on display of combo box to select a closure id 77 document.getElementById("closureselect").style.display = "block"; 78 } 79 else 80 { 81 // Turn off the combo box display 82 document.getElementById("closureselect").style.display = "none"; 83 } 84 } 85 </script> 69 86 <div id="main" role="main" class="mainflex"> 70 87 <div id="pageTitle" class="header"> Request Emergency Closure</div> -
branches/LCSv2/views/default/submit.html.bak
r619 r621 66 66 } 67 67 </script> 68 <h1>Request Emergency Closure</h1> 69 {{=form}} 68 <script> 69 function radioclicked() 70 { 71 var btngroup = document.getElementsByName('existing'); 72 // Is the YES button checked? 73 if(btngroup[1].checked) 74 { 75 // Turn on display of combo box to select a closure id 76 document.getElementById("closureselect").style.display = "block"; 77 } 78 else 79 { 80 // Turn off the combo box display 81 document.getElementById("closureselect").style.display = "none"; 82 } 83 } 84 </script> 85 <div id="main" role="main" class="mainflex"> 86 <div id="pageTitle" class="header"> Request Emergency Closure</div> 87 88 <div class="searchform"> 89 {{=form}} 90 </div> 91 </div>
Note: See TracChangeset
for help on using the changeset viewer.
