I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit 4d12ca57 authored by zzz's avatar zzz
Browse files

i2ptunnel: Change EncType selection from a radio to a dropdown

match the SigType selection style, and prep for PQ
add title to default
parent 340720c7
No related branches found
No related tags found
No related merge requests found
Pipeline #2258 passed
...@@ -611,18 +611,14 @@ ...@@ -611,18 +611,14 @@
</th> </th>
</tr><tr> </tr><tr>
<td colspan="2"> <td colspan="2">
<span class="multiOption" <%=ehdisabled%>> <select id="encType" name="encType" class="selectbox" <%=ehdisabled%>>
<label><input value="0" type="radio" id="startOnLoad" name="encType" <%=((has0 && !has4) ? " checked=\"checked\"" : edisabled)%> class="tickbox" /> <option value="0" <%=((has0 && !has4) ? " selected=\"selected\"" : edisabled)%> >
ElGamal-2048</label> ElGamal-2048</option>
</span> <option title="<%=intl._t("This is the default, recommended option")%>" value="4" <%=((has4 && !has0) ? " selected=\"selected\"" : edisabled)%> >
<span class="multiOption" <%=ehdisabled%>> ECIES-X25519</option>
<label><input value="4" type="radio" id="startOnLoad" name="encType" <%=((has4 && !has0) ? " checked=\"checked\"" : edisabled)%> class="tickbox" /> <option value="4,0" <%=((has0 && has4) ? " selected=\"selected\"" : edisabled)%> >
ECIES-X25519</label> <%=intl._t("Both encryption types")%></option>
</span> </select>
<span class="multiOption" <%=ehdisabled%>>
<label><input value="4,0" type="radio" id="startOnLoad" name="encType" <%=((has0 && has4) ? " checked=\"checked\"" : edisabled)%> class="tickbox" />
<%=intl._t("Both encryption types")%></label>
</span>
</td> </td>
</tr> </tr>
<% <%
......
...@@ -684,18 +684,14 @@ ...@@ -684,18 +684,14 @@
</th> </th>
</tr><tr> </tr><tr>
<td colspan="2"> <td colspan="2">
<span class="multiOption" <%=ehdisabled%>> <select id="encType" name="encType" class="selectbox" <%=ehdisabled%>>
<label><input value="0" type="radio" id="startOnLoad" name="encType" <%=((has0 && !has4) ? " checked=\"checked\"" : edisabled)%> class="tickbox" /> <option value="0" <%=((has0 && !has4) ? " selected=\"selected\"" : edisabled)%> >
ElGamal-2048</label> ElGamal-2048</option>
</span> <option title="<%=intl._t("This is the default, recommended option")%>" value="4" <%=((has4 && !has0) ? " selected=\"selected\"" : edisabled)%> >
<span class="multiOption" <%=ehdisabled%>> ECIES-X25519</option>
<label><input value="4" type="radio" id="startOnLoad" name="encType" <%=((has4 && !has0) ? " checked=\"checked\"" : edisabled)%> class="tickbox" /> <option value="4,0" <%=((has0 && has4) ? " selected=\"selected\"" : edisabled)%> >
ECIES-X25519</label> <%=intl._t("Both encryption types")%></option>
</span> </select>
<span class="multiOption" <%=ehdisabled%>>
<label><input value="4,0" type="radio" id="startOnLoad" name="encType" <%=((has0 && has4) ? " checked=\"checked\"" : edisabled)%> class="tickbox" />
<%=intl._t("Both encryption types")%></label>
</span>
</td> </td>
</tr> </tr>
<% <%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment