diff options
Diffstat (limited to 'applications/luci-ffwizard-leipzig/src/view/freifunk')
-rw-r--r-- | applications/luci-ffwizard-leipzig/src/view/freifunk/wizard.htm | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/applications/luci-ffwizard-leipzig/src/view/freifunk/wizard.htm b/applications/luci-ffwizard-leipzig/src/view/freifunk/wizard.htm new file mode 100644 index 000000000..b08703ffe --- /dev/null +++ b/applications/luci-ffwizard-leipzig/src/view/freifunk/wizard.htm @@ -0,0 +1,58 @@ +<%+header%> +<h1><%:ffwizard Freifunkassistent%></h1> +<p><%:ffwizard1 Dieser Assistent konfiguriert den Router für die Benutzung im Freifunknetz%></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 IP-Adresse%>: + <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 Drahtlosgerät einrichten%>: <%=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 OLSR konfigurieren%></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 Drahtlos DHCP konfigurieren%></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 Erlaube Zugriff von internem Netzwerk%>:</div> + <div class="cbi-value-field"><select name="frominternal"> + <option value=""></option> +<% for k, v in pairs(ffluci.model.uci.sections("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 Erlaube Zugriff auf externes Netzwerk%>:</div> + <div class="cbi-value-field"><select name="toexternal"> + <option value=""></option> +<% for k, v in pairs(ffluci.model.uci.sections("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 Internetzugang ankündigen%></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 Konfigurieren%>" /> + <input type="reset" value="<%:reset Zurücksetzen%>" /> + </div> +</form> +<%+footer%>
\ No newline at end of file |