Ignore:
Timestamp:
Apr 2, 2019 4:04:33 PM (17 months ago)
Author:
zab2 <zab2@…>
Branches:
master
Children:
e380b26
Parents:
194df9d
Message:

change UI to allow same filter definition to be used in multiple tunnels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/jsp/editServer.jsi

    r194df9d r4790a14  
    534534                <span class="multiOption"><label title="<%=intl._t("Only allow listed clients to connect to this service")%>"><input value="1" type="radio" name="accessMode"<%=(editBean.getAccessMode(curTunnel).equals("1") ? " checked=\"checked\"" : "")%> class="tickbox" />
    535535                    <%=intl._t("Whitelist")%></label></span>
    536                 <span class="multiOption"><label title="<%=intl._t("Advanced access list configuration")%>"><input value="3" type="radio" name="accessMode"<%=(editBean.getAccessMode(curTunnel).equals("3") ? " checked=\"checked\"" : "")%> class="tickbox" />
    537                     <%=intl._t("Advanced")%></label></span>
    538                 <span><a href="http://i2p-projekt.i2p/spec/filter-format">(<%=intl._t("format")%>)</a></span>
    539536            </td>
    540537        </tr>
     
    549546            <td colspan="2">
    550547                <textarea rows="2" style="height: 8em;" cols="60" name="accessList" title="<%=intl._t("Control access to this service")%>" wrap="off" spellcheck="false"><%=editBean.getAccessList(curTunnel)%></textarea>
     548            </td>
     549        </tr>
     550
     551        <tr>
     552            <td colspan="2">
     553                <b><%=intl._t("Filter Definition File")%></b>
     554            </td>
     555        </tr>
     556
     557        <tr>
     558            <td colspan="2">
     559                <%=intl._t("You can define an advanced filter for this tunnel.")%> (<a href="http://i2p-projekt.i2p/spec/filter-format" target="_blank"><%=intl._t("Format Specification")%></a>) 
     560            </td>
     561        </tr>
     562
     563        <tr>
     564            <td colspan="2">
     565                <label for="filterDefinition"><%=intl._t("File containing filter definition")%></label>
     566                <input type="text" id="filterDefinition" name="filterDefinition" value="<%=editBean.getFilterDefinition(curTunnel)%>" size="30"/>
    551567            </td>
    552568        </tr>
Note: See TracChangeset for help on using the changeset viewer.