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.

90 lines
3.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. <form class="{{cssClass}}" autocomplete="off" spellcheck="false">
  2. <header>
  3. <div class="frame-container">
  4. <div class="frame">
  5. <img class="player-image" alt="{{actor.name}}" src="{{actor.img}}" data-tooltip="{{actor.name}}" data-edit="img" />
  6. </div>
  7. </div>
  8. <div class="details">
  9. <input
  10. name="name"
  11. class="name" id="{{document.uuid}}-name"
  12. type="text"
  13. {{disabled (not editable)}}
  14. value="{{actor.name}}"
  15. placeholder="{{localize "PF2E.CharacterNamePlaceholder"}}"
  16. />
  17. <label class="actor-type" for="{{document.uuid}}-name">{{localize "TYPES.Actor.party"}}</label>
  18. {{#if user.isGM}}
  19. <a class="visibility{{#if playerRestricted}} restricted{{/if}}" data-action="open-meta-setting">
  20. {{#if playerRestricted}}
  21. <i class="fa-solid fa-eye-slash"></i>
  22. {{localize "PF2E.Actor.Party.Visibility.Restricted"}}
  23. {{else}}
  24. <i class="fa-solid fa-eye"></i>
  25. {{localize "PF2E.Actor.Party.Visibility.Unrestricted"}}
  26. {{/if}}
  27. </a>
  28. {{/if}}
  29. </div>
  30. </header>
  31. <nav class="sub-nav">
  32. {{#unless restricted}}
  33. <a data-tab="overview">{{localize "PF2E.Actor.Party.Tabs.Overview"}}</a>
  34. {{/unless}}
  35. <a data-tab="exploration">{{localize "PF2E.Actor.Party.Tabs.Exploration"}}</a>
  36. <a data-tab="inventory">{{localize "PF2E.Actor.Party.Tabs.Stash"}}</a>
  37. {{#if orphaned}}
  38. <a data-tab="orphaned">{{localize "PF2E.Actor.Party.Tabs.Orphaned"}}</a>
  39. {{/if}}
  40. </nav>
  41. <section class="container">
  42. {{#unless restricted}}
  43. <div class="tab" data-tab="overview" data-region="overview"></div>
  44. {{/unless}}
  45. <div class="tab" data-tab="exploration" data-region="exploration">
  46. </div>
  47. <div class="tab inventory" data-tab="inventory">
  48. <aside class="sidebar">
  49. <section data-region="inventoryMembers">
  50. </section>
  51. </aside>
  52. <section class="inventory">
  53. {{> "systems/pf2e/templates/actors/partials/coinage.hbs" owner=@root.owner}}
  54. {{> "systems/pf2e/templates/actors/partials/inventory.hbs"}}
  55. {{> "systems/pf2e/templates/actors/partials/total-bulk.hbs"}}
  56. </section>
  57. </div>
  58. {{#if orphaned}}
  59. <div class="tab" data-tab="orphaned">
  60. <ol class="item-list directory-list">
  61. {{#each orphaned as |item|}}
  62. {{#if (or item.isIdentified @root.user.isGM)}}
  63. <li class="item" data-item-type="{{item.type}}" data-item-id="{{item.id}}">
  64. <div class="item-name">
  65. <div class="item-image" style="background-image: url({{item.img}})">
  66. <i class="fas fa-comment-alt"></i>
  67. </div>
  68. <h4 class="action-name">
  69. {{item.name}}
  70. </h4>
  71. </div>
  72. <div class="item-controls">
  73. {{#if (and @root.options.editable (not item.temporary))}}
  74. <a class="item-control item-delete" data-tooltip="PF2E.DeleteItemTitle"><i class="fa-solid fa-fw fa-trash"></i></a>
  75. {{/if}}
  76. </div>
  77. </li>
  78. {{/if}}
  79. {{/each}}
  80. </ol>
  81. </div>
  82. {{/if}}
  83. </section>
  84. </form>