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.

53 lines
2.1 KiB

1 year ago
  1. <ol class="items-list effects-list">
  2. {{#each effects as |section sid|}}
  3. {{#unless section.hidden}}
  4. <li class="items-header flexrow" data-effect-type="{{section.type}}">
  5. <h3 class="item-name effect-name flexrow">{{localize section.label}}</h3>
  6. <div class="effect-source">{{localize "DND5E.Source"}}</div>
  7. <div class="effect-source">{{localize "DND5E.Duration"}}</div>
  8. <div class="item-controls effect-controls flexrow">
  9. {{#if @root.editable}}
  10. <a class="effect-control" data-action="create" data-tooltip="DND5E.EffectCreate">
  11. <i class="fas fa-plus"></i> {{localize "DND5E.Add"}}
  12. </a>
  13. {{/if}}
  14. </div>
  15. </li>
  16. {{#if section.info}}
  17. <ol class="info">
  18. {{#each section.info}}
  19. <li class="notification info">{{this}}</li>
  20. {{/each}}
  21. </ol>
  22. {{/if}}
  23. <ol class="item-list">
  24. {{#each section.effects as |effect|}}
  25. <li class="item effect flexrow" data-effect-id="{{effect.id}}">
  26. <div class="item-name effect-name flexrow">
  27. <img class="item-image" src="{{effect.icon}}"/>
  28. <h4>{{effect.label}}</h4>
  29. </div>
  30. <div class="effect-source">{{effect.sourceName}}</div>
  31. <div class="effect-duration">{{effect.duration.label}}</div>
  32. <div class="item-controls effect-controls flexrow">
  33. {{#if @root.editable}}
  34. <a class="effect-control" data-action="toggle"
  35. data-tooltip="{{#if effect.disabled}}DND5E.EffectEnable{{else}}DND5E.EffectDisable{{/if}}">
  36. <i class="fas {{#if effect.disabled}}fa-check{{else}}fa-times{{/if}}"></i>
  37. </a>
  38. <a class="effect-control" data-action="edit" data-tooltip="DND5E.EffectEdit">
  39. <i class="fas fa-edit"></i>
  40. </a>
  41. <a class="effect-control" data-action="delete" data-tooltip="DND5E.EffectDelete">
  42. <i class="fas fa-trash"></i>
  43. </a>
  44. {{/if}}
  45. </div>
  46. </li>
  47. {{/each}}
  48. </ol>
  49. {{/unless}}
  50. {{/each}}
  51. </ol>