fvtt-pegasus-rpg/templates/item-race-sheet.html
2021-12-08 13:53:22 +01:00

47 lines
2.3 KiB
HTML

<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="tab" data-group="primary">
<label class="generic-label">Statistics Enhancements</label>
<div class="small-editor item-text-long-line">
{{editor content=data.statistics target="data.statistics" button=true owner=owner editable=editable}}
</div>
<label class="generic-label">Abilities</label>
{{#each data.abilities as |ability idx|}}
<label name="data.abilities[{{idx}}].name"><a class="view-ability" data-spec-index="{{idx}}">{{ability.name}}</a></label>
<div class="item-controls padd-left">
<a class="item-control delete-ability padd-left" data-spec-index="{{idx}}" title="Delete Spec"><i class="fas fa-trash"></i></a>
</div>
{{/each}}
<div class="small-editor item-text-long-line">
{{editor content=data.abilities target="data.abilities" button=true owner=owner editable=editable}}
</div>
<label class="generic-label">Description</label>
<div class="small-editor item-text-long-line">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
<label class="generic-label">Environment</label>
<div class="small-editor item-text-long-line">
{{editor content=data.environment target="data.environment" button=true owner=owner editable=editable}}
</div>
<label class="generic-label">Society/Culture</label>
<div class="small-editor item-text-long-line">
{{editor content=data.society_culture target="data.society_culture" button=true owner=owner editable=editable}}
</div>
<label class="generic-label">Outlook</label>
<div class="small-editor item-text-long-line">
{{editor content=data.outlook target="data.outlook" button=true owner=owner editable=editable}}
</div>
</div>
</section>
</form>