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.

61 lines
2.9 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 year ago
  1. {{#if ruleEditing}}
  2. <section class="rule-editing">
  3. <div class="editor-placeholder"></div>
  4. <div class="item-controls">
  5. <button type="button" data-action="close">{{localize "PF2E.Item.Rules.Close"}}</button>
  6. <button type="button" data-action="apply">{{localize "PF2E.Item.Rules.Apply"}}</button>
  7. </div>
  8. </section>
  9. {{else}}
  10. <div class="rules">
  11. <div class="nerd-details">
  12. <div class="form-group">
  13. <label for="{{options.id}}-uuid">
  14. <span>{{localize "PF2E.UUID.Label"}}</span>
  15. <i class="fa-solid fa-info-circle" data-tooltip="PF2E.Item.Rules.Hint.UUID"></i>
  16. </label>
  17. <input id="{{options.id}}-uuid" disabled value="{{item.uuid}}" />
  18. <div class="item-controls">
  19. <a data-clipboard="{{item.uuid}}"><i class="fa-solid fa-fw fa-clipboard"></i></a>
  20. </div>
  21. </div>
  22. {{#if item.sourceId}}
  23. <div class="form-group">
  24. <label for="{{options.id}}-source-id">
  25. <span>{{localize "PF2E.UUID.SourceId"}}</span>
  26. <i class="fa-solid fa-info-circle" data-tooltip="PF2E.Item.Rules.Hint.SourceId"></i>
  27. </label>
  28. <input id="{{options.id}}-source-id" disabled value="{{item.sourceId}}" />
  29. <div class="item-controls">
  30. <a data-clipboard="{{item.sourceId}}"><i class="fa-solid fa-fw fa-clipboard"></i></a>
  31. </div>
  32. </div>
  33. {{/if}}
  34. <div class="form-group">
  35. <label for="{{options.id}}-slug">
  36. <span>{{localize "PF2E.Slug"}}</span>
  37. <i class="fa-solid fa-info-circle" data-tooltip="PF2E.Item.Rules.Hint.Slug"></i>
  38. </label>
  39. <input id="{{options.id}}-slug" type="text" name="system.slug" value="{{item.system.slug}}" />
  40. <div class="item-controls">
  41. <a data-action="regenerate-slug" data-tooltip="PF2E.Item.Rules.RegenerateSlug"><i class="fa-solid fa-fw fa-sync-alt"></i></a>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="rule-element-forms">
  46. {{#each rules.elements}}
  47. {{{template}}}
  48. {{/each}}
  49. </div>
  50. <div class="create-rule-element">
  51. <select data-action="select-rule-element">
  52. {{#select rules.selection.selected}}
  53. {{#each rules.selection.types as |value key|}}
  54. <option value="{{key}}">{{value}}</option>
  55. {{/each}}
  56. {{/select}}
  57. </select>
  58. <a class="add-rule-element"><i class="fa-solid fa-plus"></i> {{localize "PF2E.Item.Rules.New"}}</a>
  59. </div>
  60. </div>
  61. {{/if}}