redesign 2023
This commit is contained in:
9
themes/FixIt/layouts/partials/function/checkbox.html
Normal file
9
themes/FixIt/layouts/partials/function/checkbox.html
Normal file
@ -0,0 +1,9 @@
|
||||
{{- /* Checkbox unchecked */ -}}
|
||||
{{- $old := `<input disabled="" type="checkbox">` -}}
|
||||
{{- $new := dict "Class" "fa-regular fa-square fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- $content := replace . $old $new -}}
|
||||
|
||||
{{- /* Checkbox checked */ -}}
|
||||
{{- $old = `<input checked="" disabled="" type="checkbox">` -}}
|
||||
{{- $new := dict "Class" "fa-regular fa-check-square fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- return replace $content $old $new -}}
|
Reference in New Issue
Block a user