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