2018-03-16 19:34:33 +05:30
|
|
|
{{template "base/head" .}}
|
2020-12-01 09:30:14 +05:30
|
|
|
<div class="page-content explore users">
|
2018-03-16 19:34:33 +05:30
|
|
|
{{template "explore/navbar" .}}
|
|
|
|
<div class="ui container">
|
2022-10-11 04:42:03 +05:30
|
|
|
{{template "code/searchform" .}}
|
2021-04-10 02:23:16 +05:30
|
|
|
<div class="ui divider"></div>
|
2018-03-16 19:34:33 +05:30
|
|
|
<div class="ui user list">
|
2022-08-26 03:25:52 +05:30
|
|
|
{{if .CodeIndexerUnavailable}}
|
2022-01-27 14:00:51 +05:30
|
|
|
<div class="ui error message">
|
2022-06-28 02:28:46 +05:30
|
|
|
<p>{{$.locale.Tr "explore.code_search_unavailable"}}</p>
|
2022-01-27 14:00:51 +05:30
|
|
|
</div>
|
|
|
|
{{else if .SearchResults}}
|
2021-04-10 02:23:16 +05:30
|
|
|
<h3>
|
2022-08-26 03:25:52 +05:30
|
|
|
{{.locale.Tr "explore.code_search_results" (.Keyword|Escape) | Str2html}}
|
2021-04-10 02:23:16 +05:30
|
|
|
</h3>
|
2022-10-11 04:42:03 +05:30
|
|
|
{{template "code/searchresults" .}}
|
|
|
|
{{else if .Keyword}}
|
2022-06-28 02:28:46 +05:30
|
|
|
<div>{{$.locale.Tr "explore.code_no_results"}}</div>
|
2018-03-16 19:34:33 +05:30
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{template "base/paginate" .}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|