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

47 lines
1.7 KiB

1 year ago
  1. <form id="{{appId}}" data-level="{{level}}" data-id="{{advancement.id}}" data-type="{{type}}"
  2. data-current="{{choices.current}}" data-max="{{choices.max}}">
  3. <h3>{{{title}}}</h3>
  4. <div class="drop-target">
  5. {{#if advancement.configuration.hint}}
  6. <p>{{advancement.configuration.hint}}</p>
  7. {{/if}}
  8. {{#each previousLevels}}
  9. <h4 class="form-header">{{localize "DND5E.AdvancementLevelHeader" level=@key}}</h4>
  10. {{#each this}}
  11. <div class="item-name flexrow">
  12. <div class="item-image" style="background-image: url('{{this.img}}');"></div>
  13. <label class="flexrow"><h4><a data-uuid="{{this.uuid}}">{{this.name}}</a></h4></label>
  14. </div>
  15. {{/each}}
  16. {{/each}}
  17. <h4 class="form-header">
  18. {{localize "DND5E.AdvancementItemChoiceChosen" current=choices.current max=choices.max}}
  19. </h4>
  20. {{#each items}}
  21. <div class="item-name flexrow">
  22. <div class="item-image" style="background-image: url({{this.img}});"></div>
  23. <label class="flexrow">
  24. <h4>
  25. <a data-uuid="{{this.uuid}}">{{this.name}}</a>
  26. </h4>
  27. {{#if this.dropped}}
  28. <a class="item-control item-delete" title="{{localize 'DND5E.ItemDelete'}}">
  29. <i class="fas fa-trash"></i>
  30. </a>
  31. <input type="hidden" name="{{this.uuid}}" value="true" data-dtype="Boolean">
  32. {{else}}
  33. <input type="checkbox" name="{{this.uuid}}" {{checked this.checked}} {{disabled this.disabled}}>
  34. {{/if}}
  35. </label>
  36. </div>
  37. {{/each}}
  38. {{#if advancement.configuration.allowDrops}}
  39. <p class="hint centered">{{localize "DND5E.AdvancementFlowDropAreaHint"}}</p>
  40. {{/if}}
  41. </div>
  42. </form>