forked from Icycoide/searxng
Merge branch 'master' of https://github.com/asciimoo/searx into about-opensearch
This commit is contained in:
commit
b85d845636
19 changed files with 65 additions and 27 deletions
|
@ -1,6 +1,6 @@
|
|||
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" id="search_form">
|
||||
<div id="search_wrapper">
|
||||
<input type="text" placeholder="{{ _('Search for...') }}" id="q" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
|
||||
<input type="text" autofocus placeholder="{{ _('Search for...') }}" id="q" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
|
||||
<input type="submit" value="search" id="search_submit" />
|
||||
</div>
|
||||
{% include 'courgette/categories.html' %}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" id="search_form">
|
||||
<div id="search_wrapper">
|
||||
<input type="text" placeholder="{{ _('Search for...') }}" id="q" class="q" name="q" tabindex="1" autocomplete="off" size="100" {% if q %}value="{{ q }}"{% endif %}/>
|
||||
<input type="text" autofocus placeholder="{{ _('Search for...') }}" id="q" class="q" name="q" tabindex="1" autocomplete="off" size="100" {% if q %}value="{{ q }}"{% endif %}/>
|
||||
<input type="submit" value="search" id="search_submit" />
|
||||
</div>
|
||||
{% set display_tooltip = true %}
|
||||
|
|
|
@ -155,6 +155,14 @@
|
|||
|
||||
<!-- Tab panes -->
|
||||
<div class="tab-content">
|
||||
|
||||
<div class="hide_if_nojs">
|
||||
<p class="text-{% if rtl %}left{% else %}right{% endif %}">
|
||||
<button type="button" class="btn btn-default btn-success" id="allow-all-engines">{{ _("Allow all") }}</button>
|
||||
<button type="button" class="btn btn-default btn-danger" id="disable-all-engines">{{ _("Disable all") }}</button>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{% for categ in all_categories %}
|
||||
<noscript><label>{{ _(categ) }}</label>
|
||||
</noscript>
|
||||
|
@ -174,14 +182,14 @@
|
|||
<th>{{ _("Avg. time") }}</th>
|
||||
<th>{{ _("Max time") }}</th>
|
||||
{% else %}
|
||||
<th>{{ _("Max time") }}</th>
|
||||
<th>{{ _("Avg. time") }}</th>
|
||||
<th>{{ _("Time range") }}</th>
|
||||
<th>{{ _("SafeSearch") }}</th>
|
||||
<th>{{ _("Selected language") }}</th>
|
||||
<th>{{ _("Shortcut") }}</th>
|
||||
<th>{{ _("Engine name") }}</th>
|
||||
<th>{{ _("Allow") }}</th>
|
||||
<th class="text-right">{{ _("Max time") }}</th>
|
||||
<th class="text-right">{{ _("Avg. time") }}</th>
|
||||
<th class="text-right">{{ _("Time range") }}</th>
|
||||
<th class="text-right">{{ _("SafeSearch") }}</th>
|
||||
<th class="text-right">{{ _("Selected language") }}</th>
|
||||
<th class="text-right">{{ _("Shortcut") }}</th>
|
||||
<th class="text-right">{{ _("Engine name") }}</th>
|
||||
<th class="text-right">{{ _("Allow") }}</th>
|
||||
{% endif %}
|
||||
</tr>
|
||||
{% for search_engine in engines_by_category[categ] %}
|
||||
|
@ -256,10 +264,10 @@
|
|||
</p>
|
||||
<table class="table table-striped">
|
||||
<tr>
|
||||
<th class="text-muted">{{ _('Name') }}</th>
|
||||
<th class="text-muted">{{ _('Keywords') }}</th>
|
||||
<th class="text-muted">{{ _('Description') }}</th>
|
||||
<th class="text-muted">{{ _('Examples') }}</th>
|
||||
<th class="text-muted{% if rtl %} text-right{% endif %}">{{ _('Name') }}</th>
|
||||
<th class="text-muted{% if rtl %} text-right{% endif %}">{{ _('Keywords') }}</th>
|
||||
<th class="text-muted{% if rtl %} text-right{% endif %}">{{ _('Description') }}</th>
|
||||
<th class="text-muted{% if rtl %} text-right{% endif %}">{{ _('Examples') }}</th>
|
||||
</tr>
|
||||
|
||||
{% for answerer in answerers %}
|
||||
|
@ -285,8 +293,8 @@
|
|||
{% if cookies %}
|
||||
<table class="table table-striped">
|
||||
<tr>
|
||||
<th class="text-muted" style="padding-right:40px;">{{ _('Cookie name') }}</th>
|
||||
<th class="text-muted">{{ _('Value') }}</th>
|
||||
<th class="text-muted{% if rtl %} text-right{% endif %}" style="padding-right:40px;">{{ _('Cookie name') }}</th>
|
||||
<th class="text-muted{% if rtl %} text-right{% endif %}">{{ _('Value') }}</th>
|
||||
</tr>
|
||||
|
||||
{% for cookie in cookies %}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div class="row">
|
||||
<div class="col-xs-12 col-md-8">
|
||||
<div class="input-group search-margin">
|
||||
<input type="search" name="q" class="form-control" id="q" placeholder="{{ _('Search for...') }}" aria-label="{{ _('Search for...') }}" autocomplete="off" value="{{ q }}" accesskey="s">
|
||||
<input type="search" autofocus name="q" class="form-control" id="q" placeholder="{{ _('Search for...') }}" aria-label="{{ _('Search for...') }}" autocomplete="off" value="{{ q }}" accesskey="s">
|
||||
<span class="input-group-btn">
|
||||
<button type="submit" class="btn btn-default" aria-label="{{ _('Start search') }}"><span class="hide_if_nojs">{{ icon('search') }}</span><span class="hidden active_if_nojs">{{ _('Start search') }}</span></button>
|
||||
<button type="reset" class="btn btn-default" aria-label="{{ _('Clear search') }}"><span class="hide_if_nojs">{{ icon('remove') }}</span><span class="hidden active_if_nojs">{{ _('Clear') }}</span></button>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{% else %}
|
||||
<div class="input-group col-md-8 col-md-offset-2">
|
||||
{% endif %}
|
||||
<input type="search" name="q" class="form-control input-lg autofocus" id="q" placeholder="{{ _('Search for...') }}" aria-label="{{ _('Search for...') }}" autocomplete="off" value="{{ q }}" accesskey="s">
|
||||
<input type="search" autofocus name="q" class="form-control input-lg autofocus" id="q" placeholder="{{ _('Search for...') }}" aria-label="{{ _('Search for...') }}" autocomplete="off" value="{{ q }}" accesskey="s">
|
||||
<span class="input-group-btn">
|
||||
<button type="submit" class="btn btn-default input-lg" aria-label="{{ _('Start search') }}"><span class="hide_if_nojs">{{ icon('search') }}</span><span class="hidden active_if_nojs">{{ _('Start search') }}</span></button>
|
||||
<button type="reset" class="btn btn-default input-lg" aria-label="{{ _('Clear search') }}"><span class="hide_if_nojs">{{ icon('remove') }}</span><span class="hidden active_if_nojs">{{ _('Clear') }}</span></button>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" id="search_form">
|
||||
<div id="search_wrapper">
|
||||
<input type="text" placeholder="{{ _('Search for...') }}" id="q" class="q" name="q" tabindex="1" size="100" {% if q %}value="{{ q }}"{% endif %}/>
|
||||
<input type="text" autofocus placeholder="{{ _('Search for...') }}" id="q" class="q" name="q" tabindex="1" size="100" {% if q %}value="{{ q }}"{% endif %}/>
|
||||
<input type="submit" value="" id="search_submit" />
|
||||
{% for category in categories %}
|
||||
<input type="hidden" name="category_{{ category }}" value="1"/>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<form id="search" method="{{ method or 'POST' }}" action="{{ url_for('index') }}">
|
||||
<div id="search_wrapper">
|
||||
<div class="search_box">
|
||||
<input id="q" name="q" type="text" placeholder="{{ _('Search for...') }}" tabindex="1" autocomplete="off" spellcheck="false" dir="auto" {% if q %}value="{{ q }}"{% endif %} >
|
||||
<input id="q" autofocus name="q" type="text" placeholder="{{ _('Search for...') }}" tabindex="1" autocomplete="off" spellcheck="false" dir="auto" {% if q %}value="{{ q }}"{% endif %} >
|
||||
<button id="clear_search" type="button" tabindex="-1"><span class="hide_if_nojs">{{ icon('close') }}</span><span class="show_if_nojs">{{ _('Clear search') }}</span></button>
|
||||
<button id="send_search" type="submit" tabindex="-1"><span class="hide_if_nojs">{{ icon('search') }}</span><span class="show_if_nojs">{{ _('Start search') }}</span></button>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue