Skip to content

Commit

Permalink
Add specific image file picker feature.
Browse files Browse the repository at this point in the history
HTML to add a file picker to token configuration.
reads flag and updates value.
  • Loading branch information
Eriku33 authored Aug 17, 2022
1 parent 9a2e825 commit 4a3ca43
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions templates/image-hover-token-config.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
<div class="form-group">
<label>Hide Image Hover Art</label>
<input type="checkbox" name="flags.image-hover.hideArt" {{hideHoverStatus}}>
</div>
<div class="form-group">
<label>Specific image on hover</label>
<div class="form-fields">
<input class="specific-image" type="text" name="flags.image-hover.specificArt" value={{specificHoverStatus}}>
<button type="button" class="my-picker-button" data-type="imagevideo">
<i class="fas fa-file-import fa-fw"></i>
</button>
</div>
</div>

0 comments on commit 4a3ca43

Please sign in to comment.