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.

51 lines
2.3 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <div class="content">
  2. <h3>{{localize prompt}}</h3>
  3. <div class="choices{{#if selectMenu}} select-menu{{/if}}">
  4. {{#if selectMenu}}
  5. <div class="choice-buttons">
  6. <div class="choice select">
  7. <input data-tagify-select="true" spellcheck="false" />
  8. {{#if containsItems}}
  9. <a class="item-info disabled" data-value="{{choice.value}}" data-tooltip="{{localize "PF2E.UI.RuleElements.ChoiceSet.ViewItem.Disabled"}}">
  10. <i class="fa-solid fa-fw fa-info-circle"></i>
  11. </a>
  12. {{/if}}
  13. </div>
  14. </div>
  15. {{#> dropZone}}{{/dropZone}}
  16. <button type="button" value="" data-action="pick">{{localize "PF2E.UI.RuleElements.ChoiceSet.SaveLabel"}}</button>
  17. {{else}}
  18. <div class="choice-buttons">
  19. {{#each choices as |choice|}}
  20. <div class="choice">
  21. <button type="button" value="{{choice.value}}" data-action="pick"{{#if choice.img}} class="with-image"{{/if}}>
  22. {{#if choice.img}}<img src="{{choice.img}}" />{{/if}}
  23. <span>{{choice.label}}</span>
  24. </button>
  25. {{#if choice.hasUUID}}
  26. <a class="item-info" data-value="{{choice.value}}" data-tooltip="{{localize "PF2E.UI.RuleElements.ChoiceSet.ViewItem.Tooltip"}}">
  27. <i class="fa-solid fa-fw fa-info-circle"></i>
  28. </a>
  29. {{/if}}
  30. </div>
  31. {{/each}}
  32. </div>
  33. {{#if allowNoSelection}}
  34. <button type="button" data-action="close">
  35. <span>{{localize "PF2E.UI.RuleElements.ChoiceSet.Decline"}}</span>
  36. </button>
  37. {{/if}}
  38. {{#> dropZone}}{{/dropZone}}
  39. {{/if}}
  40. </div>
  41. </div>
  42. {{#*inline "dropZone"}}
  43. {{#if @root.includeDropZone}}
  44. <div class="drop-zone with-image">
  45. <i class="fa-solid fa-fw fa-info-circle" data-tooltip="{{localize "PF2E.UI.RuleElements.ChoiceSet.DragHomebrewItem"}}"></i>
  46. <span>{{localize "PF2E.UI.RuleElements.ChoiceSet.HomebrewItem"}}</span>
  47. </div>
  48. {{/if}}
  49. {{/inline}}