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.

94 lines
3.2 KiB

  1. <form style="background: inherit;">
  2. <div class="token-variants-banner">
  3. {{#if displayMode}}
  4. {{#if image1}}
  5. <div class="token-variants-portrait-token form-group {{#if item}}item{{/if}}">
  6. {{#if (eq displayMode 4)}}
  7. <div>Current<img class="image active" src="{{image1}}" title="{{image1}}" alt="" width="80" height="80"></img></div>
  8. {{else}}
  9. <div>Portrait<img class="image {{#if (eq displayMode 1)}}active{{else if (eq displayMode 3)}}active{{/if}}" src="{{image1}}" title="{{image1}}" alt="" width="80" height="80"></img></div>
  10. <div>Token<img class="image {{#if (eq displayMode 2)}}active{{else if (eq displayMode 3)}}active{{/if}}" src="{{image2}}" title="{{image2}}" alt="" width="80" height="80"></img></div>
  11. {{/if}}
  12. </div>
  13. {{/if}}
  14. {{#if item}}
  15. <div class="item-description">
  16. <h2>Description</h2>
  17. <div class="item-description-content">{{{description}}}</div>
  18. </div>
  19. {{/if}}
  20. {{/if}}
  21. <div class="form-group">
  22. <input type="text" id="custom-art-search" name="search" value="{{search}}" />
  23. <button type="button" id="token-variant-art-clear-queue" {{#unless queue}}hidden{{/unless}}>Clear Queue ({{queue}})</button>
  24. </div>
  25. {{#if displaySlider}}
  26. <div class="form-group">
  27. <input
  28. type="range"
  29. name="fuzzyThreshold"
  30. data-dtype="Number"
  31. value="{{fuzzyThreshold}}"
  32. min="0"
  33. max="100"
  34. step="1"
  35. />
  36. <span class="token-variants-range-value">{{fuzzyThreshold}}%</span>
  37. </div>
  38. {{/if}}
  39. {{#if multipleSelection}}
  40. <div class="form-group">
  41. <button type="button" id="token-variant-art-return-selected">Return selected</button>
  42. <button type="button" id="token-variant-art-return-all">Return All</button>
  43. </div>
  44. {{/if}}
  45. </div>
  46. <div class="search-content">
  47. {{#if allImages}} {{#each allImages as |search index|}}
  48. <div>
  49. <h2><b>{{search.[0]}}</b></h2>
  50. </div>
  51. <hr />
  52. <div class="token-variants-grid">
  53. {{#each search.[1] as |image|}}
  54. <div>
  55. <span
  56. class="token-variants-grid-box {{#unless image.type}}token-variants-unrecognised{{/unless}}"
  57. title="{{image.title}}"
  58. data-name="{{image.path}}"
  59. data-filename="{{image.name}}">
  60. </span>
  61. {{#if image.img}}
  62. <img class="token-variants-grid-image" src="{{image.path}}" />
  63. {{/if}} {{#if image.vid}}
  64. <video
  65. class="token-variants-grid-image"
  66. src="{{image.path}}"
  67. alt="{{image.name}}"
  68. {{#if ../autoplay}}
  69. autoplay
  70. {{/if}}
  71. loop
  72. muted>
  73. </video>
  74. {{#unless ../autoplay}}
  75. <i class="fas fa-play fa-lg"></i>
  76. {{/unless}}
  77. {{/if}} {{#unless image.type}}
  78. <p class="token-variants-grid-image" alt="{{image.name}}">{{image.path}}</p>
  79. {{/unless}}
  80. <i class="fas fa-cog fa-lg {{#if image.hasConfig}}active{{/if}}"></i>
  81. <p>{{{image.label}}}</p>
  82. </div>
  83. {{/each}}
  84. </div>
  85. {{/each}} {{else}}
  86. <div>
  87. <p>{{localize "token-variants.windows.art-select.no-art-found"}}: <b>{{search}}</b></p>
  88. </div>
  89. </div>
  90. {{/if}}
  91. </form>