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

Commit 01bebc0c authored by Adam Tauber's avatar Adam Tauber
Browse files

[enh] prettier search url display

parent b09aaf12
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
    <div id="sidebar">
        <div id="search_url">
            {{ _('Search URL') }}:
            <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&amp;pageno={{ pageno }}{% if selected_categories %}&amp;category_{{ selected_categories|join("&category_")|replace(' ','+') }}{% endif %}" readonly />
            <input type="text" value="{{ base_url }}?q={{ q|urlencode }}{% if selected_categories %}&amp;categories={{ selected_categories|join(",") | replace(' ','+') }}{% endif %}{% if pageno > 1 %}&amp;pageno={{ pageno }}{% endif %}" readonly />
        </div>
        <div id="apis">
            {{ _('Download results') }}<br />
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@

        <div id="search_url">
            {{ _('Search URL') }}:
            <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&amp;pageno={{ pageno }}{% if selected_categories %}&amp;category_{{ selected_categories|join("&category_")|replace(' ','+') }}{% endif %}" readonly />
            <input type="text" value="{{ base_url }}?q={{ q|urlencode }}{% if selected_categories %}&amp;categories={{ selected_categories|join(",") | replace(' ','+') }}{% endif %}{% if pageno > 1 %}&amp;pageno={{ pageno }}{% endif %}" readonly />
        </div>
        <div id="apis">
        {{ _('Download results') }}
+1 −1
Original line number Diff line number Diff line
@@ -108,7 +108,7 @@
                    <form role="form">
                        <div class="form-group">
                            <label for="search_url">{{ _('Search URL') }}</label>
                            <input id="search_url" type="url" class="form-control select-all-on-click cursor-text" name="search_url" value="{{ base_url }}?q={{ q|urlencode }}&amp;pageno={{ pageno }}{% if selected_categories %}&amp;category_{{ selected_categories|join("&category_")|replace(' ','+') }}{% endif %}" readonly>
                            <input id="search_url" type="url" class="form-control select-all-on-click cursor-text" name="search_url" value="{{ base_url }}?q={{ q|urlencode }}{% if selected_categories %}&amp;categories={{ selected_categories|join(",") | replace(' ','+') }}{% endif %}{% if pageno > 1 %}&amp;pageno={{ pageno }}{% endif %}" readonly>
                        </div>
                    </form>