File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11<form class="ui form ignore-dirty" style="max-width: 100%">
22 <div class="ui fluid action input">
3- <input name="q" value="{{.Keyword}}"{{if .CodeIndexerUnavailable }} disabled{{end}} placeholder="{{.locale.Tr "explore.search"}}…" autofocus>
4- <div class="ui dropdown selection tooltip{{if .CodeIndexerUnavailable }} disabled{{end}}" data-content="{{.locale.Tr "explore.search.type.tooltip"}}">
5- <input name="t" type="hidden" value="{{.queryType}}"{{if .CodeIndexerUnavailable }} disabled{{end}}>{{svg "octicon-triangle-down" 14 "dropdown icon"}}
3+ <input name="q" value="{{.Keyword}}"{{if .CodeIndexerUnavailable}} disabled{{end}} placeholder="{{.locale.Tr "explore.search"}}…" autofocus>
4+ <div class="ui dropdown selection tooltip{{if .CodeIndexerUnavailable}} disabled{{end}}" data-content="{{.locale.Tr "explore.search.type.tooltip"}}">
5+ <input name="t" type="hidden" value="{{.queryType}}"{{if .CodeIndexerUnavailable}} disabled{{end}}>{{svg "octicon-triangle-down" 14 "dropdown icon"}}
66 <div class="text">{{.locale.Tr (printf "explore.search.%s" (or .queryType "fuzzy"))}}</div>
77 <div class="menu transition hidden" tabindex="-1" style="display: block !important;">
88 <div class="item tooltip" data-value="" data-content="{{.locale.Tr "explore.search.fuzzy.tooltip"}}">{{.locale.Tr "explore.search.fuzzy"}}</div>
99 <div class="item tooltip" data-value="match" data-content="{{.locale.Tr "explore.search.match.tooltip"}}">{{.locale.Tr "explore.search.match"}}</div>
1010 </div>
1111 </div>
12- <button class="ui primary button"{{if .CodeIndexerUnavailable }} disabled{{end}}>{{.locale.Tr "explore.search"}}</button>
12+ <button class="ui primary button"{{if .CodeIndexerUnavailable}} disabled{{end}}>{{.locale.Tr "explore.search"}}</button>
1313 </div>
1414</form>
Original file line number Diff line number Diff line change 55 {{template "code/searchform" .}}
66 <div class="ui divider"></div>
77 <div class="ui user list">
8- {{if .CodeIndexerUnavailable }}
8+ {{if .CodeIndexerUnavailable}}
99 <div class="ui error message">
1010 <p>{{$.locale.Tr "explore.code_search_unavailable"}}</p>
1111 </div>
1212 {{else if .SearchResults}}
1313 <h3>
14- {{.locale.Tr "explore.code_search_results" (.Keyword|Escape) | Str2html }}
14+ {{.locale.Tr "explore.code_search_results" (.Keyword|Escape) | Str2html}}
1515 </h3>
1616 {{template "code/searchresults" .}}
1717 {{else if .Keyword}}
You can’t perform that action at this time.
0 commit comments