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.

92 lines
4.5 KiB

1 year ago
  1. <form class="{{cssClass}} flexcol" autocomplete="off">
  2. <header class="sheet-header flexrow">
  3. <img class="profile" src="{{actor.img}}" data-tooltip="{{actor.name}}" alt="{{actor.name}}" data-edit="img">
  4. <section class="header-details flexrow">
  5. <h1 class="charname">
  6. <input name="name" type="text" value="{{actor.name}}" placeholder="{{localize 'DND5E.Name'}}">
  7. </h1>
  8. <ul class="summary flexrow">
  9. <li>
  10. <span>{{summary}}</span>
  11. </li>
  12. </ul>
  13. <ul class="attributes flexrow">
  14. <li class="attribute health">
  15. <h4 class="attribute-name box-title">{{localize "DND5E.GroupHP"}}</h4>
  16. <div class="attribute-value">
  17. <span class="value" data-tooltip="DND5E.HitPointsCurrent">{{currentHP}}</span>
  18. <span class="sep"> &sol; </span>
  19. <span class="value" data-tooltip="DND5E.HitPointsMax">{{maxHP}}</span>
  20. </div>
  21. </li>
  22. <li class="attribute movement">
  23. <h4 class="attribute-name box-title">{{localize "DND5E.Movement"}}</h4>
  24. <a class="action-button config-button" data-action="movementConfig"
  25. data-tooltip="DND5E.MovementConfig">
  26. <i class="fas fa-cog"></i>
  27. </a>
  28. <div class="attribute-value">
  29. <span>{{movement.primary}}</span>
  30. </div>
  31. <footer class="attribute-footer">
  32. <span>{{movement.secondary}}</span>
  33. </footer>
  34. </li>
  35. </ul>
  36. </section>
  37. </header>
  38. <nav class="sheet-navigation tabs" data-group="primary">
  39. <a class="item active" data-tab="members">{{localize 'DND5E.GroupMembers'}}</a>
  40. <a class="item" data-tab="inventory">{{localize 'DND5E.GroupInventory'}}</a>
  41. <a class="item" data-tab="description">{{localize 'DND5E.Description'}}</a>
  42. </nav>
  43. <section class="sheet-body">
  44. <div class="tab members" data-group="primary" data-tab="members">
  45. {{#each sections as |section id|}}
  46. <section class="directory" data-section="{{id}}">
  47. <header class="directory-header flexrow">
  48. <h3 class="name">{{localize section.label}}</h3>
  49. <span class="hp">{{localize "DND5E.HitPoints"}}</span>
  50. <span class="controls">{{localize "DND5E.GroupControls"}}</span>
  51. </header>
  52. <ol class="members-list directory-list">
  53. {{#each section.members as |member|}}
  54. <li class="group-member directory-item flexrow" data-actor-id="{{member.id}}">
  55. <div class="name flexrow">
  56. <img class="thumbnail" src="{{member.img}}">
  57. <h4 class="document-name"><a class="member-link">{{member.name}}</a></h4>
  58. </div>
  59. <div class="hp flexrow">
  60. <div class="bar-container">
  61. <div class="bar" style="width:{{member.hp.pct}}%; background:{{member.hp.color}}; border-color:{{member.hp.border}}"></div>
  62. </div>
  63. {{#if displayHPValues}}
  64. <span class="current">{{member.hp.current}}</span>
  65. <span class="sep">/</span>
  66. <span class="max">{{member.hp.max}}</span>
  67. {{/if}}
  68. </div>
  69. <div class="controls">
  70. <a class="action-button" data-action="removeMember"><i class="fa-solid fa-close"></i></a>
  71. </div>
  72. </li>
  73. {{/each}}
  74. </ol>
  75. </section>
  76. {{/each}}
  77. </div>
  78. <div class="tab inventory flexcol" data-group="primary" data-tab="inventory">
  79. {{> "dnd5e.actor-inventory" sections=inventory}}
  80. </div>
  81. <div class="tab description" data-group="primary" data-tab="description">
  82. {{editor descriptionFull target="system.description.full" button=true editable=editable
  83. engine="prosemirror" collaborate=false}}
  84. </div>
  85. </section>
  86. </form>