You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

files.tmpl 1.5 kB

9 years ago
9 years ago
9 years ago
3 years ago
9 years ago
9 years ago
12345678910111213141516171819202122232425262728293031323334
  1. {{template "base/head" .}}
  2. <div class="repository view issue pull files diff">
  3. {{template "repo/header" .}}
  4. <div class="ui container {{if .IsSplitStyle}}fluid padded{{end}}">
  5. <!-- <div class="navbar">
  6. {{template "repo/issue/navbar" .}}
  7. <div class="ui right">
  8. <a class="ui green button {{if not .PullRequestCtx.Allowed}}disabled{{end}}" href="{{.RepoLink}}/compare/{{.BranchName | EscapePound}}...{{.PullRequestCtx.HeadInfo | EscapePound}}">{{.i18n.Tr "repo.pulls.new"}}</a>
  9. </div>
  10. </div> -->
  11. <div class="ui two column stackable grid">
  12. <div class="column" style="display: flex;align-items: center;">
  13. <div class="ui breadcrumb">
  14. <a class="section" href="{{.RepoLink}}/pulls">{{.i18n.Tr "repo.pulls"}}</a>
  15. <div class="divider"> / </div>
  16. <div class="action section">{{.i18n.Tr "repo.issues_detail"}}</div>
  17. </div>
  18. </div>
  19. <div class="column right aligned">
  20. {{template "repo/issue/navbar" .}}
  21. <a class="ui green button {{if not .PullRequestCtx.Allowed}}disabled{{end}}" href="{{.RepoLink}}/compare/{{.BranchName | EscapePound}}...{{.PullRequestCtx.HeadInfo | EscapePound}}">{{.i18n.Tr "repo.pulls.new"}}</a>
  22. </div>
  23. </div>
  24. <div class="ui divider"></div>
  25. {{template "repo/issue/view_title" .}}
  26. {{template "repo/pulls/tab_menu" .}}
  27. {{template "base/alert" .}}
  28. <div class="ui bottom attached tab pull active">
  29. {{template "repo/diff/box" .}}
  30. </div>
  31. </div>
  32. </div>
  33. {{template "base/footer" .}}