safe.ejs 1.09 KB
<h4>📷 CCTV 현황</h4>

<table class="table">
    <thead class="thead-dark">
        <tr>
            <th>도로명주소</th>
            <th>카메라대수</th>
        </tr>
    </thead>
    <tbody>
        <%for (var i =0; i <cctvs.length; i++){%>
            <tr>
                <td>
                    <%=cctvs[i].REFINE_LOTNO_ADDR%>
                </td>
                <td>
                    <%=cctvs[i].CAMERA_CNT%>
                </td>
            </tr>
            <%}%>
    </tbody>
</table>

<hr style = "border:dotted 1px gray; width : 50%;">

<h4>💡 보안등 현황</h4>
보안등 소재지 지번주소 :
<table class="table">
    <thead class="thead-dark">
        <tr>
            <th>도로명주소</th>
            <th>설치개수</th>
        </tr>
    </thead>
    <tbody>
        <%for (var i =0; i <lights.length; i++){%>
            <tr>
                <td>
                    <%=lights[i].REFINE_LOTNO_ADDR%>
                </td>
                <td>
                    <%=lights[i].INSTL_CNT	%>
                </td>
            </tr>
            <%}%>
    </tbody>
</table>