diff options
author | Steven Barth <steven@midlink.org> | 2008-09-05 01:01:53 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-05 01:01:53 +0000 |
commit | 05f350547e275e23062892227e20d536709ef99a (patch) | |
tree | 96e3181270ab8d6041c4854e17a8662ec9535599 /applications/luci-ffwizard-leipzig/luasrc/view/freifunk | |
parent | 35a529a5c56df3dbcd105f691d164f4f85283611 (diff) |
FFWizard rewrite
Diffstat (limited to 'applications/luci-ffwizard-leipzig/luasrc/view/freifunk')
-rw-r--r-- | applications/luci-ffwizard-leipzig/luasrc/view/freifunk/wizard.htm | 72 |
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 26a575e9b7..0000000000 --- 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%> |