Fix network panel of configurator having one interface selected
parent
4d163b4ac7
commit
256899b3da
|
@ -32,7 +32,6 @@ erl_crash.dump
|
|||
|
||||
# From other branches
|
||||
/cache
|
||||
*.js
|
||||
/release-*
|
||||
/node_modules
|
||||
scratchpad.*
|
||||
|
|
|
@ -10,5 +10,6 @@
|
|||
!favicon.ico
|
||||
*.fw
|
||||
!signal_table.js
|
||||
!security_icon_lookup.js
|
||||
!*.svg
|
||||
!templates/*.html.eex
|
|
@ -0,0 +1,4 @@
|
|||
var security_icon_lookup = {};
|
||||
security_icon_lookup["NONE"] = "icon_none.svg";
|
||||
security_icon_lookup["WPA-PSK"] = "icon_lock.svg";
|
||||
security_icon_lookup["WPA-EAP"] = "icon_key.svg";
|
|
@ -30,7 +30,7 @@
|
|||
<%= for {ifname, settings} <- interfaces do %>
|
||||
|
||||
<label class="connection-type no-pad" for='<%= ifname %>'>
|
||||
<input type="radio" id='<%= ifname %>' name="interfaceRadio" checked="false" onclick="select_interface()"/>
|
||||
<input type="radio" id='<%= ifname %>' name="interfaceRadio" onclick="select_interface()"/>
|
||||
|
||||
<div class="connection-type-box">
|
||||
<img src='<%= if String.contains?(to_string(ifname), "w"), do: "icon_wifi.svg", else: "icon_ethernet.svg"%>'/>
|
||||
|
|
Loading…
Reference in New Issue