Merge pull request 'Fix primary button background inconsistency' (#3002) from 0ko/forgejo:fix2947 into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3002
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
Earl Warren 2024-04-03 18:59:37 +00:00
commit f703a29cd4
3 changed files with 3 additions and 3 deletions

View file

@ -54,7 +54,7 @@
<input type="hidden" name="action" value="delete"> <input type="hidden" name="action" value="delete">
<input type="hidden" name="q" value="{{$.Keyword}}"> <input type="hidden" name="q" value="{{$.Keyword}}">
<input type="hidden" name="page" value="{{$.CurrentPage}}"> <input type="hidden" name="page" value="{{$.CurrentPage}}">
{{template "base/modal_actions_confirm" (dict "ModalButtonColors" "yellow")}} {{template "base/modal_actions_confirm" (dict "ModalButtonColors" "primary")}}
</form> </form>
</div> </div>
</div> </div>

View file

@ -44,7 +44,7 @@
</p> </p>
<form class="ui form" action="{{$.Link}}/delete/{{.Oid}}" method="post"> <form class="ui form" action="{{$.Link}}/delete/{{.Oid}}" method="post">
{{$.CsrfTokenHtml}} {{$.CsrfTokenHtml}}
{{template "base/modal_actions_confirm" (dict "ModalButtonColors" "yellow")}} {{template "base/modal_actions_confirm" (dict "ModalButtonColors" "primary")}}
</form> </form>
</div> </div>
</div> </div>

View file

@ -109,7 +109,7 @@
<div class="content"> <div class="content">
<p>{{ctx.Locale.Tr "settings.access_token_deletion_desc"}}</p> <p>{{ctx.Locale.Tr "settings.access_token_deletion_desc"}}</p>
</div> </div>
{{template "base/modal_actions_confirm" (dict "ModalButtonColors" "yellow")}} {{template "base/modal_actions_confirm" (dict "ModalButtonColors" "primary")}}
</div> </div>
{{template "user/settings/layout_footer" .}} {{template "user/settings/layout_footer" .}}