mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-21 07:59:03 +00:00
6db66d8ca4
Fixes: https://github.com/go-gitea/gitea/issues/25282 Fix the problems: 1. The `repo-button-row` had various patches before, this PR makes it consistent 2. The "Add File" has wrong CSS class "icon", remove it 3. The "Add File" padding was overridden by "!important", fix it by `.repo-button-row .button.dropdown` with comment 4. The selector `.ui.segments ~ .ui.top.attached.header` is incorrect, it should use `+`
21 lines
640 B
Go HTML Template
21 lines
640 B
Go HTML Template
{{template "base/head" .}}
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository commits">
|
|
{{template "repo/header" .}}
|
|
<div class="ui container">
|
|
{{template "repo/sub_menu" .}}
|
|
<div class="repo-button-row">
|
|
<div class="gt-df gt-ac">
|
|
{{template "repo/branch_dropdown" dict "root" . "ContainerClasses" "gt-mr-2"}}
|
|
<a href="{{.RepoLink}}/graph" class="ui basic small compact button">
|
|
<span class="text">
|
|
{{svg "octicon-git-branch"}}
|
|
</span>
|
|
{{.locale.Tr "repo.commit_graph"}}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
{{template "repo/commits_table" .}}
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|