fvtt-pegasus-rpg/templates/item-specialisation-sheet.html

61 lines
2.8 KiB
HTML
Raw Normal View History

2021-12-02 07:38:59 +01:00
<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>
2022-01-12 17:21:37 +01:00
2021-12-02 07:38:59 +01:00
<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}}
2021-12-02 20:18:21 +01:00
{{{optionsDiceList}}}
2021-12-02 07:38:59 +01:00
{{/select}}
</select>
</li>
2021-12-09 18:40:50 +01:00
<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>
2021-12-19 15:35:54 +01:00
<input type="text" class="" name="data.powersource" value="{{data.powersource}}" data-dtype="String"/>
2021-12-09 18:40:50 +01:00
</li>
<li class="flexrow"><label class="generic-label">Available Powers</label>
</li>
<ul class="ul-level1">
2021-12-16 21:41:09 +01:00
<li class="flexrow"><div class="drop-spec-power"><label>Drop Powers here !</label></div>
2021-12-09 18:40:50 +01:00
</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}}
2021-12-02 07:38:59 +01:00
</ul>
<div class="small-editor item-text-long-line">
2021-12-09 18:40:50 +01:00
<label class="generic-label">Notes</label>
2021-12-02 07:38:59 +01:00
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</section>
</form>