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

81 lines
3.7 KiB
HTML
Raw Permalink Normal View History

2021-12-02 07:38:59 +01:00
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
2022-03-07 16:00:53 +01:00
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
2021-12-02 07:38:59 +01:00
<div class="header-fields">
2021-12-03 18:31:43 +01:00
<h1 class="charname">
<input name="name" type="text" value="{{name}}" placeholder="Name"/>
</h1>
2021-12-02 07:38:59 +01:00
</div>
</header>
2022-03-06 22:18:08 +01:00
{{> systems/fvtt-pegasus-rpg/templates/partial-item-nav.html}}
2021-12-02 07:38:59 +01:00
{{!-- Sheet Body --}}
<section class="sheet-body">
2022-03-06 22:18:08 +01:00
{{> systems/fvtt-pegasus-rpg/templates/partial-item-description.html}}
<div class="tab details" data-group="primary" data-tab="details">
<ul>
2021-12-08 13:53:22 +01:00
<li class="flexrow"><label class="generic-label">Stat increase 1</label>
2022-09-04 09:58:51 +02:00
<select class="competence-base flexrow" type="text" name="system.statincrease1" value="{{data.statincrease1}}" data-dtype="String">
2021-12-08 13:53:22 +01:00
{{#select data.statincrease1}}
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=false mr=false}}
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Stat increase 2</label>
2022-09-04 09:58:51 +02:00
<select class="competence-base flexrow" type="text" name="system.statincrease2" value="{{data.statincrease2}}" data-dtype="String">
2021-12-08 13:53:22 +01:00
{{#select data.statincrease2}}
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=false mr=false}}
{{/select}}
</select>
</li>
2022-09-26 20:57:55 +02:00
2021-12-09 18:40:50 +01:00
<li class="flexrow">
2022-03-16 11:12:14 +01:00
<label class="generic-label">Role Ability</label>
2021-12-09 18:40:50 +01:00
</li>
<ul class="ul-level1">
2022-03-16 11:12:14 +01:00
<li class="flexrow"><div class="drop-specialability"><label>Drop Abilities here !</label></div>
2021-12-09 18:40:50 +01:00
</li>
2022-03-16 11:12:14 +01:00
{{#each data.specialability as |ability idx|}}
2021-12-09 18:40:50 +01:00
<li class="flexrow">
2022-09-04 09:58:51 +02:00
<label name="system.specialability[{{idx}}].name"><a class="view-subitem" data-type="specialability" data-index="{{idx}}">{{ability.name}}</a></label>
2021-12-09 18:40:50 +01:00
<div class="item-controls padd-left">
2022-03-16 11:12:14 +01:00
<a class="item-control delete-subitem padd-left" data-type="specialability" data-index="{{idx}}" title="Delete Ability"><i class="fas fa-trash"></i></a>
2021-12-09 18:40:50 +01:00
</div>
</li>
2021-12-08 13:53:22 +01:00
{{/each}}
2021-12-09 18:40:50 +01:00
</ul>
</li>
2021-12-08 13:53:22 +01:00
<li class="flexrow"><label class="generic-label">Statistic increase (Choose 2 at +1 DT)</label>
</li>
<ul class="ul-level1">
<li class="flexrow">
{{#each data.statincreasechoice as |stat idx|}}
<label name="statchoice{{idx}}">{{stat.name}}</label>
<label class="attribute-value checkbox"><input type="checkbox" class="stat-choice-flag" data-stat-idx="{{idx}}" {{checked stat.flag}}/></label>
{{/each}}
</li>
</ul>
</li>
2022-09-26 20:57:55 +02:00
<li class="flexrow"><label class="generic-label">Role category for available perks</label>
<select class="competence-base flexrow" type="text" name="system.perksrole" value="{{data.perksrole}}" data-dtype="String">
{{#select data.perksrole}}
<option value="agitator">Agitator</option>
<option value="defender">Defender</option>
<option value="enhancer">Enhancer</option>
<option value="scrapper">Scrapper</option>
<option value="ranged">Ranged</option>
<option value="tactician">Tactician</option>
{{/select}}
</select>
2021-12-08 13:53:22 +01:00
</li>
2022-09-26 20:57:55 +02:00
2021-12-08 13:53:22 +01:00
</ul>
2022-09-26 20:57:55 +02:00
2021-12-02 07:38:59 +01:00
</div>
</section>
</form>