use LoveIt theme, self hosted
This commit is contained in:
parent
bcafaafff8
commit
e9ec93a471
1973 changed files with 54578 additions and 15688 deletions
9
themes/LoveIt/layouts/partials/function/checkbox.html
Normal file
9
themes/LoveIt/layouts/partials/function/checkbox.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{{- /* Checkbox unchecked */ -}}
|
||||
{{- $old := `<input disabled="" type="checkbox">` -}}
|
||||
{{- $new := `<i class="far fa-square fa-fw"></i>` -}}
|
||||
{{- $content := replace . $old $new -}}
|
||||
|
||||
{{- /* Checkbox checked */ -}}
|
||||
{{- $old = `<input checked="" disabled="" type="checkbox">` -}}
|
||||
{{- $new = `<i class="far fa-check-square fa-fw"></i>` -}}
|
||||
{{- return replace $content $old $new -}}
|
Loading…
Add table
Add a link
Reference in a new issue