{{extend 'layout.html'}}
<h1>List of Current Log Entries</h1>
<ul>
{{for hwy in highways:}}
{{=LI(A(hwy.closureid, _href=URL("show", args=hwy.closureid)) )}}

{{pass}}
</ul>
    <table border="1" cellpadding="5">
        <tr>
        <th></th>
        <th>DTM<br>Area</th>
        <th>Closure ID / <br>Log No.</th>
        <th>Route &amp; Dir /<br>Type of Closure</th>
        <th>Start Date<br>End Date<br>Est. Delay</th>
        <th>Facility</th>
        <th>Limits</th>
        <th>Work<br>Description</th>
        <th>TMP</th>
        <th>Requestor/<br>Radio Call No.</th>
        </tr>
{{for hwy in highways:}}
        <tr>
<td><INPUT type="checkbox"/></td>
<td align="center">{{=hwy.closureid[0]}}</td>
<td align="center">{{=hwy.closureid}}<BR><HR>{{=hwy.lognum}}</td>
<td align="center">{{=hwy.route}}&nbsp;{{=hwy.direction}}<BR><HR>{{=hwy.closuretype}}</td>
<!-- Format date from YYYYMMDD into MMDDYYY -->
<td align="center">{{=hwy.startdate[4:8]}}{{=hwy.startdate[0:4]}}<BR><HR>{{=hwy.enddate[4:8]}}{{=hwy.enddate[0:4]}}<BR><HR>{{=hwy.estdelay}}</td>
{{=TD(hwy.facility)}}
<td align="center">{{=hwy.startlocation}}<BR><HR>{{=hwy.endlocation}}</td>
{{=TD(hwy.worktype)}}
    <td align="center">{{=hwy.tmpcozeep}}<BR>{{=hwy.tmpdetour}}</td>
{{=TD(hwy.supervisor)}}
{{pass}}
        </tr>
    </table>
