2017-10-27 09:10:54 +03:00
|
|
|
{{template "base/head" .}}
|
2023-02-02 01:56:10 +03:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository file list">
|
2017-10-27 09:10:54 +03:00
|
|
|
{{template "repo/header" .}}
|
|
|
|
<div class="ui container">
|
2024-06-29 09:57:34 +03:00
|
|
|
{{if $.CodeIndexerDisabled}}
|
|
|
|
{{$branchURLPrefix := printf "%s/search/branch/" $.RepoLink}}
|
|
|
|
{{$tagURLPrefix := printf "%s/search/tag/" $.RepoLink}}
|
2024-08-27 18:11:48 +03:00
|
|
|
{{$suffix := printf "?q=%s&mode=%s" (.Keyword|QueryEscape) .CodeSearchMode}}
|
2024-06-29 09:57:34 +03:00
|
|
|
{{template "repo/branch_dropdown" dict "root" . "ContainerClasses" "tw-mb-3" "branchURLPrefix" $branchURLPrefix "branchURLSuffix" $suffix "tagURLPrefix" $tagURLPrefix "tagURLSuffix" $suffix}}
|
|
|
|
{{end}}
|
2024-03-15 02:24:59 +03:00
|
|
|
{{template "shared/search/code/search" .}}
|
2017-10-27 09:10:54 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|