forked from freifunk-franken/firmware
fff-web-ui: Show hood only, if fff-hoods available
The hood row make no sense in layer3 variante and should only view if fff-hoods available Signed-off-by: Christian Dresel <freifunk@dresel.systems>
This commit is contained in:
parent
0adfa6a155
commit
9d82530dbe
|
@ -124,18 +124,20 @@ fi
|
||||||
</table>
|
</table>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<fieldset style="padding-bottom:12px">
|
<% if [ -e /usr/lib/functions/fff/hoodfile ]; then %>
|
||||||
<legend>Hood</legend>
|
<fieldset style="padding-bottom:12px">
|
||||||
<table>
|
<legend>Hood</legend>
|
||||||
<tr><th style="width:200px">Hood:</th><td><% echo "$hood" %></td></tr>
|
<table>
|
||||||
<tr><th style="width:200px">Mesh-Type (2.4/5 GHz):</th><td><% echo "${mesh_type2} / ${mesh_type5}" %></td></tr>
|
<tr><th style="width:200px">Hood:</th><td><% echo "$hood" %></td></tr>
|
||||||
<tr><th style="width:200px">Channel (2.4/5 GHz):</th><td>Gerät: <% echo "${real_chan2ghz} / ${real_chan5ghz}" %> | Hood: <% echo "${chan2ghz} / ${chan5ghz}" %></td></tr>
|
<tr><th style="width:200px">Mesh-Type (2.4/5 GHz):</th><td><% echo "${mesh_type2} / ${mesh_type5}" %></td></tr>
|
||||||
<tr><th style="width:200px">SSID (Client-AP):</th><td>Gerät: <% echo "${real_essid}" %> | Hood: <% echo "${essid}" %></td></tr>
|
<tr><th style="width:200px">Channel (2.4/5 GHz):</th><td>Gerät: <% echo "${real_chan2ghz} / ${real_chan5ghz}" %> | Hood: <% echo "${chan2ghz} / ${chan5ghz}" %></td></tr>
|
||||||
<tr><td colspan="2"> </td></tr>
|
<tr><th style="width:200px">SSID (Client-AP):</th><td>Gerät: <% echo "${real_essid}" %> | Hood: <% echo "${essid}" %></td></tr>
|
||||||
<tr><td colspan="2">Beim Klicken werden die Hood-Daten innerhalb von 5 Minuten neu abgerufen und angewandt:</td></tr>
|
<tr><td colspan="2"> </td></tr>
|
||||||
<tr><td colspan="2"><input type="submit" name="resethood" value="Reset hood data" /></td></tr>
|
<tr><td colspan="2">Beim Klicken werden die Hood-Daten innerhalb von 5 Minuten neu abgerufen und angewandt:</td></tr>
|
||||||
</table>
|
<tr><td colspan="2"><input type="submit" name="resethood" value="Reset hood data" /></td></tr>
|
||||||
</fieldset>
|
</table>
|
||||||
|
</fieldset>
|
||||||
|
<% fi %>
|
||||||
</form>
|
</form>
|
||||||
<fieldset style="padding-bottom:12px">
|
<fieldset style="padding-bottom:12px">
|
||||||
<legend>Netz: WAN</legend>
|
<legend>Netz: WAN</legend>
|
||||||
|
|
Loading…
Reference in New Issue