mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-25 00:44:15 -05:00
[UI] Fix primary button background inconsistency
Fixes https://codeberg.org/forgejo/forgejo/issues/2947
(cherry picked from commit d44f290750
)
This commit is contained in:
parent
0a086dffc0
commit
3a46a37586
3 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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" .}}
|
||||||
|
|
Loading…
Reference in a new issue