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.

78 lines
3.1 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. {{#if featSlot.feat}}
  2. <li class="item feat-item" data-item-id="{{featSlot.feat.id}}" data-slot-id="{{featSlot.id}}">
  3. <div class="item-name rollable drag-handle">
  4. <div class="feat-slot-title">{{featSlot.label}}</div>
  5. <div class="item-image framed">
  6. <img class="item-icon" src="{{featSlot.feat.img}}" alt="{{featSlot.feat.name}}">
  7. <i class="fa-solid fa-message"></i>
  8. </div>
  9. <h4 class="name"><a data-action="toggle-summary">{{featSlot.feat.name}}</a></h4>
  10. </div>
  11. <div class="item-controls">
  12. {{#if @root.editable}}
  13. <a class="item-control item-edit" title="{{localize "PF2E.EditItemTitle"}}"><i class="fa-solid fa-fw fa-edit"></i></a>
  14. <a class="item-control item-delete" title="{{localize "PF2E.DeleteItemTitle"}}"><i class="fa-solid fa-fw fa-trash"></i></a>
  15. {{/if}}
  16. </div>
  17. <div class="item-summary" hidden="hidden"></div>
  18. {{#if featSlot.children}}
  19. {{> nestedSlots slot=featSlot}}
  20. {{/if}}
  21. </li>
  22. {{else}}
  23. {{> emptySlot slot=featSlot}}
  24. {{/if}}
  25. {{#*inline "nestedSlots"}}
  26. <ol class="nested-items">
  27. {{#each slot.children as |childSlot|}}
  28. {{#if childSlot.feat}}
  29. {{> nestedSlot slot=childSlot}}
  30. {{else}}
  31. {{> emptySlot slot=childSlot}}
  32. {{/if}}
  33. {{/each}}
  34. </ol>
  35. {{/inline}}
  36. {{#*inline "nestedSlot"}}
  37. <li data-item-id="{{slot.feat.id}}">
  38. <div class="item-name rollable">
  39. <div class="feat-slot-title"></div>
  40. <div class="item-image framed">
  41. <img class="item-icon" src="{{slot.feat.img}}" alt="{{slot.feat.name}}">
  42. <i class="fa-solid fa-message"></i>
  43. </div>
  44. <h4 class="name"><a data-action="toggle-summary">{{slot.feat.name}}</a></h4>
  45. </div>
  46. <div class="item-controls">
  47. {{#if @root.editable}}
  48. <a class="item-control item-edit" title="{{localize "PF2E.EditItemTitle"}}"><i class="fa-solid fa-fw fa-edit"></i></a>
  49. <a class="item-control item-delete" title="{{localize "PF2E.DeleteItemTitle"}}"><i class="fa-solid fa-fw fa-trash"></i></a>
  50. {{/if}}
  51. </div>
  52. <div class="item-summary" hidden="hidden"></div>
  53. {{#if slot.children}}
  54. {{> nestedSlots slot=slot}}
  55. {{/if}}
  56. </li>
  57. {{/inline}}
  58. {{#*inline "emptySlot"}}
  59. <li class="feat-item" data-slot-id="{{slot.id}}">
  60. <div class="item-name">
  61. <div class="feat-slot-title">{{slot.label}}</div>
  62. <div class="item-placeholder">{{coalesce slot.restriction.hint (localize "PF2E.EmptySlot")}}</div>
  63. </div>
  64. <div class="item-controls">
  65. {{#if @root.editable}}
  66. <a
  67. class="item-control"
  68. data-action="browse-feats"
  69. data-filter="{{featFilter}},conjunction-or"
  70. data-level="{{slot.level}}"
  71. ><i class="fa-solid fa-fw fa-search"></i></a>
  72. {{/if}}
  73. </div>
  74. </li>
  75. {{/inline}}