fvtt-pegasus-rpg/templates/item-specialisation-sheet.html
2021-12-16 21:41:09 +01:00

62 lines
2.9 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">
<ul>
<li class="flexrow"><label class="generic-label">Related Statistic</label>
<select class="competence-base flexrow" type="text" name="data.statistic" value="{{data.statistic}}" data-dtype="String">
{{#select data.statistic}}
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html}}
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Level</label>
<select class="competence-base flexrow" type="text" name="data.level" value="{{data.level}}" data-dtype="Number">
{{#select data.level}}
{{{optionsDiceList}}}
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Is Power Group ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.ispowergroup" {{checked data.ispowergroup}}/></label>
</li>
{{#if data.ispowergroup}}
<li class="flexrow"><label class="generic-label">Available Power sources</label>
<div class="small-editor item-text-long-line">
{{editor content=data.powersource target="data.powersource" button=true owner=owner editable=editable}}
</div>
</li>
<li class="flexrow"><label class="generic-label">Available Powers</label>
</li>
<ul class="ul-level1">
<li class="flexrow"><div class="drop-spec-power"><label>Drop Powers here !</label></div>
</li>
{{#each data.powers as |power idx|}}
<li class="flexrow">
<label name="data.powers[{{idx}}].name"><a class="view-subitem" data-type="powers" data-index="{{idx}}">{{power.name}}</a></label>
<div class="item-controls padd-left">
<a class="item-control delete-subitem padd-left" data-type="powers" data-index="{{idx}}" title="Delete Power"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</li>
{{/if}}
</ul>
<div class="small-editor item-text-long-line">
<label class="generic-label">Notes</label>
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</section>
</form>