@@ -50,26 +50,25 @@ <h1 id="search-documentation">{{ _('Search') }}</h1>
5050 < div class ="input-group col-xl-8 mb-2 ">
5151 < label for ="q " class ="sr-only "> Search string
5252 </ label >
53- < div class ="input-group-prepend ">
54- < span class ="input-group-text " id ="shortcut ">
55- < kbd id ="search-shortcut "> ⌘</ kbd > < kbd > K</ kbd >
56- </ span >
57- </ div >
58- < i class ="search-icon fa fa-search fa-lg " aria-hidden ="true "> </ i >
53+ < i class ="fas fa-search fa-lg search-icon " aria-hidden ="true "> </ i >
5954 < input
60- type ="search " name ="q " id ="q "
61- class ="form-control "
62- placeholder ="{{ _(theme_search_bar_text) }} "
63- aria-labelledby ="{{ _(theme_search_bar_text) }} "
64- value ="" autocomplete ="off " autocorrect ="off " autocapitalize ="off " spellcheck ="false "
55+ type ="search " name ="q " id ="q "
56+ class ="form-control "
57+ placeholder ="{{ _(theme_search_bar_text) }} "
58+ aria-labelledby ="{{ _(theme_search_bar_text) }} "
59+ value ="" autocomplete ="off " autocorrect ="off " autocapitalize ="off " spellcheck ="false "
6560 />
61+ < div class ="input-group-append ">
62+ < span class ="input-group-text " id ="shortcut-page ">
63+ < kbd id ="search-page-shortcut "> ⌘</ kbd > < kbd > K</ kbd >
64+ </ span >
65+ </ div >
6666 < div class ="input-group-append ">
6767 < button
68- type ="reset "
69- class ="btn btn-light "
70- > < svg xmlns ="http://www.w3.org/2000/svg " width ="24 " height ="24 " fill ="currentColor " class ="bi bi-x " viewBox ="0 0 16 16 ">
71- < path d ="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z "/>
72- </ svg > </ button >
68+ type ="button "
69+ onclick ="onReset() "
70+ class ="btn btn-danger "
71+ > < i class ="fas fa-times "> </ i > </ button >
7372 </ div >
7473 < div class ="input-group-append ">
7574 < button type ="submit " class ="btn btn-primary "> {{ _('search') }}</ button >
0 commit comments