-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: replace all the remaining fontawesome icons
- Loading branch information
1 parent
0236dbe
commit 2eb89db
Showing
4 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{{- /* Checkbox unchecked */ -}} | ||
{{- $old := `<input disabled="" type="checkbox">` -}} | ||
{{- $new := `<i class="far fa-square fa-fw"></i>` -}} | ||
{{- $new := partial "plugin/fontawesome.html" (dict "Style" "regular" "Icon" "square") -}} | ||
{{- $content := replace . $old $new -}} | ||
|
||
{{- /* Checkbox checked */ -}} | ||
{{- $old = `<input checked="" disabled="" type="checkbox">` -}} | ||
{{- $new = `<i class="far fa-check-square fa-fw"></i>` -}} | ||
{{- $new := partial "plugin/fontawesome.html" (dict "Style" "regular" "Icon" "check-square") -}} | ||
{{- return replace $content $old $new -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters