summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ffwizard-leipzig/luasrc/view/freifunk/wizard.htm
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-ffwizard-leipzig/luasrc/view/freifunk/wizard.htm')
-rw-r--r--applications/luci-ffwizard-leipzig/luasrc/view/freifunk/wizard.htm72
1 files changed, 0 insertions, 72 deletions
diff --git a/applications/luci-ffwizard-leipzig/luasrc/view/freifunk/wizard.htm b/applications/luci-ffwizard-leipzig/luasrc/view/freifunk/wizard.htm
deleted file mode 100644
index 26a575e9b..000000000
--- a/applications/luci-ffwizard-leipzig/luasrc/view/freifunk/wizard.htm
+++ /dev/null
@@ -1,72 +0,0 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-$Id$
-
--%>
-<%+header%>
-<h1><%:ffwizard%></h1>
-<p><%:ffwizard1%></p>
-<br />
-<form method="post" action="<%=controller%>/admin/index/wizard">
- <div class="cbi-section-node">
- <div class="cbi-value">
- <div class="cbi-value-title"><%:ip%></div>
- <div class="cbi-value-field"><input type="text" size="20" name="ip" /></div>
- </div>
- <% for i, k in ipairs(ifaces) do %>
- <div class="cbi-value">
- <div class="cbi-value-title"><%:wificfg%>: <%=k%></div>
- <div class="cbi-value-field"><input type="checkbox" name="wifi.<%=k%>" value="1" checked="checked" /></div>
- </div>
- <% end %>
- <div class="cbi-value">
- <div class="cbi-value-title"><%:cfgolsr%></div>
- <div class="cbi-value-field"><input type="checkbox" name="olsr" value="1" checked="checked" /></div>
- </div>
- <div class="cbi-value">
- <div class="cbi-value-title"><%:cfgdhcp%></div>
- <div class="cbi-value-field"><input type="checkbox" name="dhcp" value="1" checked="checked" /></div>
- </div>
- <div class="cbi-value">
- <div class="cbi-value-title"><%:cfginternal%>:</div>
- <div class="cbi-value-field"><select name="frominternal">
- <option value=""></option>
-<% for k, v in pairs(luci.model.uci.get_all("network")) do
- if v[".type"] == "interface" and k ~= "loopback" then %>
-<option value="<%=k%>"<% if k == "lan" then %> selected="selected"<% end %>><%=k%></option>
-<% end
-end %>
- </select></div>
- </div>
- <div class="cbi-value">
- <div class="cbi-value-title"><%:cfgexternal%>:</div>
- <div class="cbi-value-field"><select name="toexternal">
- <option value=""></option>
-<% for k, v in pairs(luci.model.uci.get_all("network")) do
- if v[".type"] == "interface" and k ~= "loopback" then %>
-<option value="<%=k%>"<% if k == "wan" then %> selected="selected"<% end %>><%=k%></option>
-<% end
-end %>
- </select></div>
- </div>
- <div class="cbi-value">
- <div class="cbi-value-title"><%:shareinet%></div>
- <div class="cbi-value-field"><input type="checkbox" name="shareinet" value="1" checked="checked" /></div>
- </div>
- </div>
- <br />
- <div>
- <input type="submit" value="<%:configure%>" />
- <input type="reset" value="<%:reset%>" />
- </div>
-</form>
-<%+footer%>