Merge pull request #396 from fanthos/master
[project/luci.git] / applications / luci-app-polipo / luasrc / view / polipo_status.htm
1 <%
2
3 local uci = require "luci.model.uci".cursor()
4 local addr = "127.0.0.1"
5 local port = uci:get("polipo", "general", "proxyPort") or "8123"
6
7 -%>
8
9 <%+header%>
10
11 <div class="cbi-map">
12         <h2 name="content"><%:Polipo Status%></h2>
13         <div class="cbi-section">
14                 <iframe id="sf" src="http://<%=luci.http.getenv('SERVER_NAME')%>:<%=port%>/polipo/" style="width:100%; height:350px; border:none"></iframe>
15         </div>
16 </div>
17
18 <%+footer%>