All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.4 KiB

  1. <div class="token-variants-wrap images {{#unless imageDisplay}}list{{/unless}}">
  2. {{#each imagesParsed as |image|}}
  3. <div
  4. class="token-variants-button-select control-icon {{#unless ../imageDisplay}}list{{/unless}} {{#if image.used}}token-variants-button-disabled active{{/if}}"
  5. data-name="{{image.route}}"
  6. data-filename="{{image.name}}"
  7. title="{{#if image.unknownType}}{{image.route}}{{else}}{{image.title}}{{/if}}"
  8. style="{{image.style}}">
  9. {{#if ../imageDisplay}}
  10. {{#if image.img}}
  11. <img
  12. class="token-variants-button-image"
  13. src="{{image.route}}"
  14. style="opacity:{{../imageOpacity}};"
  15. />
  16. {{/if}}
  17. {{#if image.vid}}
  18. <video
  19. class="token-variants-button-image"
  20. src="{{image.route}}"
  21. style="opacity:{{../imageOpacity}};"
  22. loop
  23. {{#if ../autoplay}}
  24. autoplay
  25. {{/if}}
  26. muted>
  27. </video>
  28. {{#unless ../autoplay}}
  29. <i class="fas fa-play"></i>
  30. {{/unless}}
  31. {{/if}}
  32. {{#if image.unknownType}}
  33. <img
  34. class="token-variants-button-image"
  35. src="{{image.route}}"
  36. style="opacity:{{../imageOpacity}};"
  37. />
  38. {{/if}}
  39. {{else}}
  40. <span>{{image.name}}</span>
  41. {{/if}}
  42. <i class="fas fa-share {{#if image.shared}}active{{/if}}"></i>
  43. <i class="fas fa-cog {{#if image.hasConfig}}active{{/if}}"></i>
  44. </div>
  45. {{/each}}
  46. </div>