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

97 lines
4.6 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">
2021-12-05 20:36:34 +01:00
<ul>
<li class="flexrow"><label class="generic-label">Affected stat</label>
<select class="competence-base flexrow" type="text" name="data.affectedstat" value="{{data.affectedstat}}" data-dtype="String">
{{#select data.affectedstat}}
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true mr=true}}
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Stat modifier</label>
<select class="competence-base flexrow" type="text" name="data.statmodifier" value="{{data.statmodifier}}" data-dtype="Number">
{{#select data.statmodifier}}
<option value="-1">-1</option>
<option value="0">0</option>
<option value="+1">+1</option>
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Stat level increase</label>
<select class="competence-base flexrow" type="text" name="data.statlevelincrease" value="{{data.statlevelincrease}}" data-dtype="Number">
{{#select data.statlevelincrease}}
<option value="0">0</option>
<option value="+1">+1</option>
<option value="+2">+2</option>
<option value="+3">+3</option>
<option value="+4">+4</option>
<option value="+5">+5</option>
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Bonus dice</label>
<select class="competence-base flexrow" type="text" name="data.bonusdice" value="{{data.bonusdice}}" data-dtype="Number">
{{#select data.bonusdice}}
{{{optionsDiceList}}}
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Other dice</label>
<select class="competence-base flexrow" type="text" name="data.otherdice" value="{{data.otherdice}}" data-dtype="Number">
{{#select data.otherdice}}
{{{optionsDiceList}}}
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Affected status</label>
<select class="competence-base flexrow" type="text" name="data.statusaffected" value="{{data.statusaffected}}" data-dtype="String">
{{#select data.statusaffected}}
{{{optionsStatusList}}}
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Status modifier</label>
<select class="competence-base flexrow" type="text" name="data.statusmodifier" value="{{data.statusmodifier}}" data-dtype="Number">
{{#select data.statusmodifier}}
<option value="-1">-1</option>
<option value="0">0</option>
<option value="+1">+1</option>
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Power Gained</label>
<input type="text" class="input-numeric-short padd-right" name="data.powergained" value="{{data.powergained}}" data-dtype="Number"/>
</li>
<li class="flexrow"><label class="generic-label">Specialisation Gained</label>
2021-12-08 13:53:22 +01:00
{{#each data.specialisation as |spec idx|}}
<label name="data.specialisation[{{idx}}].name"><a class="view-spec" data-spec-index="{{idx}}">{{spec.name}}</a></label>
<div class="item-controls padd-left">
<a class="item-control delete-spec padd-left" data-spec-index="{{idx}}" title="Delete Spec"><i class="fas fa-trash"></i></a>
</div>
{{/each}}
2021-12-05 20:36:34 +01:00
</li>
<li class="flexrow"><label class="generic-label">AoE</label>
<input type="text" class="padd-right" name="data.aoe" value="{{data.aoe}}" data-dtype="String"/>
</li>
</ul>
<div class="tab" data-group="primary">
2021-12-02 07:38:59 +01:00
<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>
2021-12-05 20:36:34 +01:00
</div>
2021-12-02 07:38:59 +01:00
</section>
</form>