<%+header%>
<h2><%=translate("Traffic Statistics")%></h2>

<div>
    <p><%=translate("Interface")%>: <%=config.interface%></p>
    <p><%=translate("Max Traffic")%>: <%=config.max_traffic%> GB</p>
    <p><%=translate("Auto Reset")%>: <%=config.auto_reset and "Yes" or "No"%></p>
    <p><%=translate("Shutdown when limit reached")%>: <%=config.shutdown and "Yes" or "No"%></p>
</div>

<div>
    <h3><%=translate("Current Traffic")%></h3>
    <p><%=translate("Received")%>: <%=traffic.rx_bytes%> bytes</p>
    <p><%=translate("Sent")%>: <%=traffic.tx_bytes%> bytes</p>
</div>
<%+footer%>
