refactor(templates): update djlint to 1.46.0 and resolve its new findings (#39231)

This commit is contained in:
silverwind
2026-09-08 23:17:17 +00:00
committed by GitHub
parent 459fc13783
commit f5c7b21f1d
175 changed files with 533 additions and 528 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
<h4 class="ui top attached header">
{{ctx.Locale.Tr "secrets.management"}}
<div class="ui right">
<button class="ui primary tiny button show-modal"
<button type="button" class="ui primary tiny button show-modal"
data-modal="#add-secret-modal"
data-modal-form.url="{{.Link}}"
data-modal-header="{{ctx.Locale.Tr "secrets.add_secret"}}"
@@ -37,7 +37,7 @@
<span>
{{ctx.Locale.Tr "settings.added_on" (DateUtils.AbsoluteShort .CreatedUnix)}}
</span>
<button class="btn interact-bg show-modal tw-p-2"
<button type="button" class="btn interact-bg show-modal tw-p-2"
data-modal="#add-secret-modal"
data-modal-form.url="{{$.Link}}"
data-modal-header="{{ctx.Locale.Tr "secrets.edit_secret"}}"
@@ -49,7 +49,7 @@
>
{{svg "octicon-pencil"}}
</button>
<button class="btn interact-bg link-action tw-p-2"
<button type="button" class="btn interact-bg link-action tw-p-2"
data-url="{{$.Link}}/delete?id={{.ID}}"
data-modal-confirm="{{ctx.Locale.Tr "secrets.deletion.description"}}"
data-tooltip-content="{{ctx.Locale.Tr "secrets.deletion"}}"