Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a3b9a7b authored by Adam Tauber's avatar Adam Tauber
Browse files

[enh] add image proxy toggle to preferences templates

parent f3d7af33
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -41,6 +41,15 @@
            </select>
        </p>
    </fieldset>
    <fieldset>
        <legend>{{ _('Image proxy') }}</legend>
        <p>
            <select name='image_proxy'>
                <option value="1" {% if image_proxy %}selected="selected"{% endif %}>{{ _('Enabled') }}</option>
                <option value="" {% if not image_proxy %}selected="selected"{% endif %}>{{ _('Disabled') }}</option>
            </select>
        </p>
    </fieldset>
    <fieldset>
        <legend>{{ _('Method') }}</legend>
        <p>
+9 −0
Original line number Diff line number Diff line
@@ -42,6 +42,15 @@
        </select>
        </p>
    </fieldset>
    <fieldset>
        <legend>{{ _('Image proxy') }}</legend>
        <p>
        <select name='image_proxy'>
            <option value="1" {% if image_proxy %}selected="selected"{% endif %}>{{ _('Enabled') }}</option>
            <option value="" {% if not image_proxy %}selected="selected"{% endif %}>{{ _('Disabled') }}</option>
        </select>
        </p>
    </fieldset>
    <fieldset>
        <legend>{{ _('Method') }}</legend>
        <p>
+15 −5
Original line number Diff line number Diff line
@@ -62,6 +62,16 @@
                    </div>
                    <span class="col-sm-5 col-md-6 help-block">{{ _('Find stuff as you type') }}</span>
                </div>
                <div class="row form-group">
                    <label class="col-sm-3 col-md-2">{{ _('Image proxy') }}</label>
                    <div class="col-sm-4 col-md-4">
                        <select class="form-control" name='image_proxy'>
                            <option value="1" {% if image_proxy  %}selected="selected"{% endif %}>{{ _('Enabled') }}</option>
                            <option value="" {% if not image_proxy %}selected="selected"{% endif %}>{{ _('Disabled')}}</option>
                        </select>
                    </div>
                    <span class="col-sm-5 col-md-6 help-block">{{ _('Proxying image results through searx') }}</span>
                </div>
                <div class="row form-group">
                    <label class="col-sm-3 col-md-2">{{ _('Method') }}</label>
                    <div class="col-sm-4 col-md-4">