|
1 | 1 | {{template "base/head" .}}
|
2 | 2 | <div class="page-content repository file list">
|
3 |
| - {{template "repo/header" .}} |
4 |
| - <div class="ui container" id="repo-file-find-container"> |
5 |
| - <input type="hidden" id="ownerName" value="{{.OwnerName}}"> |
6 |
| - <input type="hidden" id="repoName" value="{{.RepoName}}"> |
7 |
| - <input type="hidden" id="branchName" value="{{.BranchName}}"> |
8 |
| - <input type="hidden" id="treeLink" value="{{.TreeLink}}"> |
9 |
| - <div class="repo-title"> |
10 |
| - <a href="{{$.RepoLink}}">{{.RepoName}}</a> |
11 |
| - <span class="mr-3 ml-3">/</span> |
12 |
| - <input id="repo-file-find-input" type="text" style="border:none;outline:none;" autofocus="autofocus"> |
13 |
| - </div> |
14 |
| - <table id="repo-find-files-table" class="ui single line table"> |
15 |
| - <tbody> |
16 |
| - {{/* {{range $entry := .Files}} |
17 |
| - <tr> |
18 |
| - <td class="name four wide"> |
19 |
| - <span class="truncate"> |
20 |
| - {{svg (printf "octicon-%s" (EntryIcon $entry))}} |
21 |
| - <a class="find-file-name" href="{{EscapePound $.TreeLink}}/{{EscapePound $entry.Name}}" title="{{$entry.Name}}">{{$entry.Name}}</a> |
22 |
| - </span> |
23 |
| - </td> |
24 |
| - </tr> |
25 |
| - {{end}} */}} |
26 |
| - </tbody> |
27 |
| - </table> |
28 |
| - <div id="no-hit-prompt" class="ui row center" style="margin-top: 60px;display:none;"> |
29 |
| - <h3>{{.i18n.Tr "repo.filter_repo_files_no_matching"}}</h3> |
30 |
| - </div> |
31 |
| - </div> |
| 3 | + {{template "repo/header" .}} |
| 4 | + <div class="ui container" id="repo-file-find-container"> |
| 5 | + <input type="hidden" id="ownerName" value="{{.OwnerName}}"> |
| 6 | + <input type="hidden" id="repoName" value="{{.RepoName}}"> |
| 7 | + <input type="hidden" id="branchName" value="{{.BranchName}}"> |
| 8 | + <input type="hidden" id="treeLink" value="{{.TreeLink}}"> |
| 9 | + <div class="repo-title"> |
| 10 | + <a href="{{$.RepoLink}}">{{.RepoName}}</a> |
| 11 | + <span class="mr-3 ml-3">/</span> |
| 12 | + <input id="repo-file-find-input" type="text" style="border:none;outline:none;" autofocus="autofocus"> |
| 13 | + </div> |
| 14 | + <table id="repo-find-files-table" class="ui single line table"> |
| 15 | + <tbody> |
| 16 | + {{/* {{range $entry := .Files}} |
| 17 | + <tr> |
| 18 | + <td class="name four wide"> |
| 19 | + <span class="truncate"> |
| 20 | + {{svg (printf "octicon-%s" (EntryIcon $entry))}} |
| 21 | + <a class="find-file-name" href="{{EscapePound $.TreeLink}}/{{EscapePound $entry.Name}}" title="{{$entry.Name}}">{{$entry.Name}}</a> |
| 22 | + </span> |
| 23 | + </td> |
| 24 | + </tr> |
| 25 | + {{end}} */}} |
| 26 | + </tbody> |
| 27 | + </table> |
| 28 | + <div id="no-hit-prompt" class="ui row center" style="margin-top: 60px;display:none;"> |
| 29 | + <h3>{{.i18n.Tr "repo.filter_repo_files_no_matching"}}</h3> |
| 30 | + </div> |
| 31 | + </div> |
32 | 32 | </div>
|
33 | 33 | {{template "base/footer" .}}
|
0 commit comments