Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
searx-engine
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
searx-engine
Commits
2621c24c
Commit
2621c24c
authored
Mar 23, 2020
by
Adam Tauber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[enh] add clear search button to oscar theme - fixes #454
parent
822aee94
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
search.html
searx/templates/oscar/search.html
+1
-0
search_full.html
searx/templates/oscar/search_full.html
+1
-0
No files found.
searx/templates/oscar/search.html
View file @
2621c24c
...
...
@@ -6,6 +6,7 @@
<input
type=
"search"
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>
</span>
</div>
</div>
...
...
searx/templates/oscar/search_full.html
View file @
2621c24c
...
...
@@ -9,6 +9,7 @@
<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"
>
<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>
</span>
</div>
<div
class=
"col-md-8 col-md-offset-2 advanced"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment