mirror of https://github.com/go-gitea/gitea
Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
732 B
26 lines
732 B
2 years ago
|
{{template "base/head" .}}
|
||
|
<div class="page-content repository code-search">
|
||
|
{{template "user/overview/header" .}}
|
||
|
<div class="ui container">
|
||
|
{{template "code/searchform" .}}
|
||
|
<div class="ui divider"></div>
|
||
|
<div class="ui user list">
|
||
|
{{if .CodeIndexerUnavailable }}
|
||
|
<div class="ui error message">
|
||
|
<p>{{$.locale.Tr "explore.code_search_unavailable"}}</p>
|
||
|
</div>
|
||
|
{{else if .SearchResults}}
|
||
|
<h3>
|
||
|
{{.locale.Tr "explore.code_search_results" (.Keyword|Escape) | Str2html }}
|
||
|
</h3>
|
||
|
{{template "code/searchresults" .}}
|
||
|
{{else if .Keyword}}
|
||
|
<div>{{$.locale.Tr "explore.code_no_results"}}</div>
|
||
|
{{end}}
|
||
|
</div>
|
||
|
|
||
|
{{template "base/paginate" .}}
|
||
|
</div>
|
||
|
</div>
|
||
|
{{template "base/footer" .}}
|