<%

local uci = require "luci.model.uci".cursor()
local addr = "127.0.0.1"
local port = uci:get("polipo", "general", "proxyPort") or "8123"

-%>

<%+header%>

<div class="cbi-map">
	<h2 name="content"><%:Polipo Status%></h2>
	<div class="cbi-section">
		<iframe id="sf" src="http://<%=luci.http.getenv('SERVER_NAME')%>:<%=port%>/polipo/" style="width:100%; height:350px; border:none"></iframe>
	</div>
</div>

<%+footer%>