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.

60 lines
2.5 KiB

  1. <form>
  2. <section>
  3. <h2 class="module-header">The Forge</h2>
  4. <div class="form-group">
  5. <label>API Secret Key</label>
  6. <div class="form-fields">
  7. <input type="text" name="apiKey" value="{{apiKey}}" data-dtype="String" />
  8. </div>
  9. <p class="notes">{{localize "token-variants.settings.forge-search-paths.window.Hint"}}</p>
  10. </div>
  11. <ol class="token-variant-table">
  12. <li class="table-row table-header flexrow">
  13. <div class="path-image">
  14. <a class="create-path" title="Add new path"><i class="fas fa-plus"></i></a>
  15. </div>
  16. <div class="path-source"><label>Source</label></div>
  17. <div class="path-text"><label>Path</label></div>
  18. <div class="path-category"><label>Category</label></div>
  19. <div class="path-cache"><label>Cache</label></div>
  20. <div class="path-share"><label>Share</label></div>
  21. <div class="path-controls"></div>
  22. </li>
  23. {{#each paths as |path index|}}
  24. <li class="table-row flexrow" data-index="{{index}}">
  25. <div class="path-image source-icon">
  26. <a><i class="fas fa-hammer"></i></a>
  27. </div>
  28. <div class="path-source">
  29. <input class="searchSource" type="text" value="forgevtt" placeholder="forgevtt" disabled/>
  30. <input type="text" name="paths.{{index}}.source" value="forgevtt" hidden/>
  31. </div>
  32. <div class="path-text">
  33. <input type="text" name="paths.{{index}}.text" value="{{path.text}}" placeholder="Path to folder"/>
  34. </div>
  35. <div class="path-category">
  36. <a class="select-category" title="Select image categories/filters"><i class="fas fa-swatchbook"></i></a>
  37. <input type="hidden" name="paths.{{index}}.types" value="{{path.types}}">
  38. </div>
  39. <div class="path-cache">
  40. <input type="checkbox" name="paths.{{index}}.cache" data-dtype="Boolean" {{#if path.cache}}checked{{/if}}/>
  41. </div>
  42. <div class="path-share">
  43. <input type="checkbox" name="paths.{{index}}.share" data-dtype="Boolean" {{#if path.share}}checked{{/if}}/>
  44. </div>
  45. <div class="path-controls">
  46. <a class="delete-path" title="Delete path"><i class="fas fa-trash"></i></a>
  47. </div>
  48. </li>
  49. {{/each}}
  50. </ol>
  51. </section>
  52. <footer class="sheet-footer flexrow">
  53. <p class="notes">
  54. <b>Format:</b><br />
  55. Assets Library/token_art/dragons <b>-></b> token_art/dragons
  56. </p>
  57. </footer>
  58. </form>