summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-polipo/luasrc/view/polipo_status.htm
blob: c2695ca82b71c9010484645a54827f7398c93a81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<%

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><a id="content" name="content"><%:Polipo Status%></a></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%>