|
27 | 27 | </td> |
28 | 28 | <td class="right aligned overflow-visible"> |
29 | 29 | {{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted)}} |
30 | | - <button class="ui tertiary button show-create-branch-modal gt-mx-3" |
| 30 | + <button class="ui button button-ghost show-create-branch-modal gt-mx-3" |
31 | 31 | data-modal="#create-branch-modal" |
32 | 32 | data-branch-from="{{$.DefaultBranch}}" |
33 | 33 | data-branch-from-urlcomponent="{{PathEscapeSegments $.DefaultBranch}}" |
|
37 | 37 | </button> |
38 | 38 | {{end}} |
39 | 39 | {{if .EnableFeed}} |
40 | | - <a role="button" class="ui tertiary button gt-mx-3" href="{{$.FeedURL}}/rss/branch/{{PathEscapeSegments .DefaultBranch}}"> |
| 40 | + <a role="button" class="ui button button-ghost gt-mx-3" href="{{$.FeedURL}}/rss/branch/{{PathEscapeSegments .DefaultBranch}}"> |
41 | 41 | {{svg "octicon-rss"}} |
42 | 42 | </a> |
43 | 43 | {{end}} |
44 | 44 | {{if not $.DisableDownloadSourceArchives}} |
45 | | - <div class="ui dropdown tertiary button gt-mx-3" data-tooltip-content="{{$.locale.Tr "repo.branch.download" ($.DefaultBranch)}}"> |
| 45 | + <div class="ui dropdown button button-ghost gt-mx-3" data-tooltip-content="{{$.locale.Tr "repo.branch.download" ($.DefaultBranch)}}"> |
46 | 46 | {{svg "octicon-download"}} |
47 | 47 | <div class="menu"> |
48 | 48 | <a class="item archive-link" href="{{$.RepoLink}}/archive/{{PathEscapeSegments $.DefaultBranch}}.zip" rel="nofollow">{{svg "octicon-file-zip"}} ZIP</a> |
|
51 | 51 | </div> |
52 | 52 | {{end}} |
53 | 53 | {{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted) (not $.IsMirror)}} |
54 | | - <button class="ui tertiary button show-modal show-rename-branch-modal gt-mx-3" |
| 54 | + <button class="ui button button-ghost show-modal show-rename-branch-modal gt-mx-3" |
55 | 55 | data-is-default-branch="true" |
56 | 56 | data-modal="#rename-branch-modal" |
57 | 57 | data-old-branch-name="{{$.DefaultBranch}}" |
|
134 | 134 | </td> |
135 | 135 | <td class="three wide right aligned overflow-visible"> |
136 | 136 | {{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted)}} |
137 | | - <button class="ui tertiary button show-modal show-create-branch-modal gt-mx-3" |
| 137 | + <button class="ui button button-ghost show-modal show-create-branch-modal gt-mx-3" |
138 | 138 | data-branch-from="{{.Name}}" |
139 | 139 | data-branch-from-urlcomponent="{{PathEscapeSegments .Name}}" |
140 | 140 | data-tooltip-content="{{$.locale.Tr "repo.branch.new_branch_from" .Name}}" |
|
144 | 144 | </button> |
145 | 145 | {{end}} |
146 | 146 | {{if $.EnableFeed}} |
147 | | - <a role="button" class="ui tertiary button gt-mx-3" href="{{$.FeedURL}}/rss/branch/{{PathEscapeSegments .Name}}"> |
| 147 | + <a role="button" class="ui button button-ghost gt-mx-3" href="{{$.FeedURL}}/rss/branch/{{PathEscapeSegments .Name}}"> |
148 | 148 | {{svg "octicon-rss"}} |
149 | 149 | </a> |
150 | 150 | {{end}} |
151 | 151 | {{if and (not .IsDeleted) (not $.DisableDownloadSourceArchives)}} |
152 | | - <div class="ui dropdown tertiary button gt-mx-3" data-tooltip-content="{{$.locale.Tr "repo.branch.download" (.Name)}}"> |
| 152 | + <div class="ui dropdown button button-ghost gt-mx-3" data-tooltip-content="{{$.locale.Tr "repo.branch.download" (.Name)}}"> |
153 | 153 | {{svg "octicon-download"}} |
154 | 154 | <div class="menu"> |
155 | 155 | <a class="item archive-link" href="{{$.RepoLink}}/archive/{{PathEscapeSegments .Name}}.zip" rel="nofollow">{{svg "octicon-file-zip"}} ZIP</a> |
|
158 | 158 | </div> |
159 | 159 | {{end}} |
160 | 160 | {{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted) (not $.IsMirror)}} |
161 | | - <button class="ui tertiary button show-modal show-rename-branch-modal gt-mx-3" |
| 161 | + <button class="ui button button-ghost show-modal show-rename-branch-modal gt-mx-3" |
162 | 162 | data-is-default-branch="false" |
163 | 163 | data-old-branch-name="{{.Name}}" |
164 | 164 | data-modal="#rename-branch-modal" |
|
169 | 169 | {{end}} |
170 | 170 | {{if and $.IsWriter (not $.IsMirror) (not $.Repository.IsArchived) (not .IsProtected)}} |
171 | 171 | {{if .IsDeleted}} |
172 | | - <button class="ui tertiary button undo-button gt-mx-3" data-url="{{$.Link}}/restore?branch_id={{.DeletedBranch.ID}}&name={{.DeletedBranch.Name}}&page={{$.Page.Paginater.Current}}" data-tooltip-content="{{$.locale.Tr "repo.branch.restore" (.Name)}}"> |
| 172 | + <button class="ui button button-ghost undo-button gt-mx-3" data-url="{{$.Link}}/restore?branch_id={{.DeletedBranch.ID}}&name={{.DeletedBranch.Name}}&page={{$.Page.Paginater.Current}}" data-tooltip-content="{{$.locale.Tr "repo.branch.restore" (.Name)}}"> |
173 | 173 | <span class="text blue"> |
174 | 174 | {{svg "octicon-reply"}} |
175 | 175 | </span> |
176 | 176 | </button> |
177 | 177 | {{else}} |
178 | | - <button class="ui tertiary button delete-button delete-branch-button gt-mx-3" data-url="{{$.Link}}/delete?name={{.Name}}&page={{$.Page.Paginater.Current}}" data-tooltip-content="{{$.locale.Tr "repo.branch.delete" (.Name)}}" data-name="{{.Name}}"> |
| 178 | + <button class="ui button button-ghost delete-button delete-branch-button gt-mx-3" data-url="{{$.Link}}/delete?name={{.Name}}&page={{$.Page.Paginater.Current}}" data-tooltip-content="{{$.locale.Tr "repo.branch.delete" (.Name)}}" data-name="{{.Name}}"> |
179 | 179 | {{svg "octicon-trash"}} |
180 | 180 | </button> |
181 | 181 | {{end}} |
|
0 commit comments