All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.

133 lines
4.7 KiB

  1. <form>
  2. <div class="form-group">
  3. <p class="notes">Supported compendiums: <b>{{supportedPacks}}</b></p>
  4. <label>Compendium</label>
  5. <div class="form-fields">
  6. <select name="compendium">
  7. {{#each compendiums as |comp|}}
  8. <option value="{{comp.id}}" {{#if (eq ../compendium comp.id)}}selected="selected"{{/if}}>{{comp.title}}</option>
  9. {{/each}}
  10. </select>
  11. </div>
  12. <p class="notes">
  13. {{localize "token-variants.settings.compendium-mapper.window.compendium-select"}}
  14. </p>
  15. </div>
  16. <hr/>
  17. <div class="form-group">
  18. <label>Override Image Category</label>
  19. <input class="token-variants-override-category" type="checkbox" name="overrideCategory" data-dtype="Boolean" {{#if overrideCategory}}checked{{/if}} />
  20. <p class="notes">Change the default image category used by the module for this compendium type.</p>
  21. </div>
  22. <div class="form-group">
  23. <label>Category</label>
  24. <div class="form-fields">
  25. <select class="token-variants-category" name="category">
  26. {{#each categories as |cat|}}
  27. <option value="{{cat}}" {{#if (eq ../category cat)}}selected="selected"{{/if}}>{{cat}}</option>
  28. {{/each}}
  29. </select>
  30. </div>
  31. </div>
  32. <hr/>
  33. <div class="form-group token-specific">
  34. <label>{{localize "token-variants.settings.compendium-mapper.window.diff-images"}}</label>
  35. <input class="token-variants-diff-images" type="checkbox" name="diffImages" data-dtype="Boolean"
  36. {{#if diffImages}}checked{{/if}} />
  37. </div>
  38. <div class="form-group token-specific">
  39. <label
  40. >&nbsp;&nbsp;&nbsp;&nbsp; {{localize
  41. "token-variants.settings.compendium-mapper.window.ignore-token"}}</label
  42. >
  43. <input class="token-variants-tp-ignore" type="checkbox" name="ignoreToken" data-dtype="Boolean"
  44. {{#if ignoreToken}}checked{{/if}} {{#unless diffImages}}disabled{{/unless}}/>
  45. </div>
  46. <div class="form-group token-specific">
  47. <label
  48. >&nbsp;&nbsp;&nbsp;&nbsp; {{localize
  49. "token-variants.settings.compendium-mapper.window.ignore-portrait"}}</label
  50. >
  51. <input class="token-variants-tp-ignore" type="checkbox" name="ignorePortrait"
  52. data-dtype="Boolean" {{#if ignorePortrait}}checked{{/if}} {{#unless
  53. diffImages}}disabled{{/unless}}/>
  54. </div>
  55. <hr />
  56. <div class="form-group">
  57. <label>{{localize "token-variants.settings.compendium-mapper.window.missing-only"}}</label>
  58. <input type="checkbox" name="missingOnly" data-dtype="Boolean" {{#if missingOnly}}checked{{/if}} />
  59. </div>
  60. <div class="form-group">
  61. <label>Missing Images</label>
  62. <button type="button" class="token-variants-missing-images">
  63. <i class="fas fa-exchange-alt"></i>
  64. </button>
  65. <p class="notes">
  66. Define additional images that are to be considered as "missing"
  67. </p>
  68. </div>
  69. <hr />
  70. <div class="form-group">
  71. <label>{{localize "token-variants.settings.compendium-mapper.window.show-images"}}</label>
  72. <input type="checkbox" name="showImages" data-dtype="Boolean" {{#if showImages}}checked{{/if}} />
  73. </div>
  74. <div class="form-group">
  75. <label>{{localize "token-variants.settings.compendium-mapper.window.cache"}}</label>
  76. <input type="checkbox" name="cache" data-dtype="Boolean" {{#if cache}}checked{{/if}} />
  77. </div>
  78. <hr />
  79. <div class="form-group">
  80. <label>{{localize "token-variants.settings.algorithm.Name"}}</label>
  81. <button type="button" class="token-variants-search-options">
  82. <i class="fas fa-exchange-alt"></i>
  83. </button>
  84. <p class="notes">
  85. {{localize "token-variants.settings.algorithm.Hint"}}
  86. </p>
  87. </div>
  88. <h2>{{localize "token-variants.common.automation"}}</h2>
  89. <div class="form-group">
  90. <label>{{localize "token-variants.settings.compendium-mapper.window.auto-apply"}}</label>
  91. <input
  92. class="token-variants-auto-apply"
  93. type="checkbox"
  94. name="autoApply"
  95. data-dtype="Boolean"
  96. />
  97. </div>
  98. <div class="form-group">
  99. &nbsp;&nbsp;
  100. <label>{{localize "token-variants.settings.compendium-mapper.window.auto-art-select"}}</label>
  101. <input class="token-variants-auto-art-select" type="checkbox" name="autoDisplayArtSelect"
  102. data-dtype="Boolean" disabled {{#if autoDisplayArtSelect}}checked{{/if}}/>
  103. </div>
  104. <div class="form-group token-specific">
  105. <label>{{localize "token-variants.settings.compendium-mapper.window.sync-images"}}</label>
  106. <input type="checkbox" name="syncImages" data-dtype="Boolean" />
  107. </div>
  108. <footer class="sheet-footer flexrow">
  109. <button type="submit">
  110. <i class="fas fa-cogs"></i>{{localize "token-variants.common.start"}}
  111. </button>
  112. </footer>
  113. </form>