1
1
{{ if or .Site.Params.gcs_engine_id .Site.Params.algolia_docsearch }}
2
+ < div class ="search-bar ">
3
+ < i class ="search-icon fas fa-search "> </ i >
2
4
< input
3
5
type ="search "
4
- class ="form-control td-search-input "
5
- placeholder =" {{ T "ui_search_placeholder " }}"
6
+ class ="search-input td-search-input "
7
+ placeholder ="{{ T "ui_search_placeholder " }}"
6
8
aria-label="{{ T "ui_search_placeholder " }}"
7
9
autocomplete="off "
8
10
>
11
+ </ div >
9
12
{{ else if .Site.Params.offlineSearch }}
10
- < div id ="search-nav-container ">
11
- < input
12
- type =" search "
13
- id ="search-input "
14
- autocomplete =" off "
15
- class =" form-control td- search-input "
16
- placeholder =" {{ T "ui_search_placeholder " }}"
17
- autocomplete=" off "
18
- >
19
- < div id =" search-results " class =" container " > </ div >
20
- </ div >
13
+ < div class =" search-bar " id ="search-nav-container ">
14
+ < i class =" search-icon fas fa-search " > </ i >
15
+ < input
16
+ type ="search "
17
+ class =" search-input td-search-input "
18
+ id =" search-input "
19
+ placeholder ="{{ T "ui_search_placeholder " }}"
20
+ aria-label=" {{ T " ui_search_placeholder " }} "
21
+ autocomplete=" off "
22
+ >
23
+ </ div >
21
24
{{ else if .Site.Params.k8s_search }}
25
+ < div class ="search-bar ">
26
+ < i class ="search-icon fas fa-search "> </ i >
22
27
< input
23
28
type ="search "
24
- class ="form-control td-search-input "
25
29
name ="q "
26
- placeholder =" {{ T "ui_search_placeholder " }}"
30
+ class ="search-input td-search-input "
31
+ placeholder ="{{ T "ui_search_placeholder " }}"
27
32
aria-label="{{ T "ui_search_placeholder " }}"
28
33
autocomplete="off "
29
34
>
30
- {{ end }}
35
+ </ div >
36
+ {{ end }}
0 commit comments