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

134 lines
6.4 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">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</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-05 20:36:34 +01:00
<li class="flexrow"><label class="generic-label">Affected stat</label>
2022-11-28 13:58:04 +01:00
<select class="competence-base flexrow" type="text" name="system.affectedstat" value="{{data.affectedstat}}" data-dtype="String">
2021-12-05 20:36:34 +01:00
{{#select data.affectedstat}}
2022-11-28 13:58:04 +01:00
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true mr=true}}
2021-12-05 20:36:34 +01:00
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Stat modifier</label>
2022-11-28 13:58:04 +01:00
<input type="text" class="padd-right" name="system.statmodifier" value="{{data.statmodifier}}" data-dtype="Number"/>
2021-12-05 20:36:34 +01:00
</li>
2022-02-10 15:53:42 +01:00
2021-12-05 20:36:34 +01:00
<li class="flexrow"><label class="generic-label">Affected status</label>
2022-11-28 13:58:04 +01:00
<select class="competence-base flexrow" type="text" name="system.statusaffected" value="{{data.statusaffected}}" data-dtype="String">
2021-12-05 20:36:34 +01:00
{{#select data.statusaffected}}
{{{optionsStatusList}}}
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Status modifier</label>
2022-11-28 13:58:04 +01:00
<input type="text" class="padd-right" name="system.statusmodifier" value="{{data.statusmodifier}}" data-dtype="Number"/>
2021-12-05 20:36:34 +01:00
</li>
2022-02-10 15:53:42 +01:00
<li class="flexrow"><label class="generic-label">Effects Gained</label>
</li>
<li>
<ul class="ul-level1">
<li class="flexrow"><div class="drop-ability-effect"><label>Drop Effects here !</label></div>
</li>
{{#each data.effectsgained as |effect idx|}}
<li class="flexrow">
2022-11-28 13:58:04 +01:00
<label name="system.effectsgained[{{idx}}].name"><a class="view-subitem" data-type="effectsgained" data-index="{{idx}}">{{effect.name}}</a></label>
2022-02-10 15:53:42 +01:00
<div class="item-controls padd-left">
<a class="item-control delete-subitem padd-left" data-type="effectsgained" data-index="{{idx}}" title="Delete Effect"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</li>
2021-12-05 20:36:34 +01:00
<li class="flexrow"><label class="generic-label">Power Gained</label>
</li>
2021-12-16 21:41:09 +01:00
<li>
<ul class="ul-level1">
<li class="flexrow"><div class="drop-ability-power"><label>Drop Powers here !</label></div>
</li>
{{#each data.powersgained as |power idx|}}
<li class="flexrow">
2022-11-28 13:58:04 +01:00
<label name="system.powersgained[{{idx}}].name"><a class="view-subitem" data-type="powersgained" data-index="{{idx}}">{{power.name}}</a></label>
2021-12-16 21:41:09 +01:00
<div class="item-controls padd-left">
<a class="item-control delete-subitem padd-left" data-type="powersgained" data-index="{{idx}}" title="Delete Power"><i class="fas fa-trash"></i></a>
</div>
</li>
2021-12-08 13:53:22 +01:00
{{/each}}
2021-12-16 21:41:09 +01:00
</ul>
</li>
2022-01-08 18:28:01 +01:00
2021-12-16 21:41:09 +01:00
<li class="flexrow"><label class="generic-label">Specialisation Gained</label>
<li>
<ul class="ul-level1">
<li class="flexrow"><div class="drop-ability-spec"><label>Drop Specialisations here !</label></div>
</li>
{{#each data.specialisations as |spec idx|}}
<li class="flexrow">
2022-11-28 13:58:04 +01:00
<label name="system.specialisations[{{idx}}].name"><a class="view-subitem" data-type="specialisations" data-index="{{idx}}">{{spec.name}}</a></label>
2021-12-16 21:41:09 +01:00
<div class="item-controls padd-left">
<a class="item-control delete-subitem padd-left" data-type="specialisations" data-index="{{idx}}" title="Delete Specialisation"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</li>
2021-12-05 20:36:34 +01:00
</li>
2022-01-08 18:28:01 +01:00
2022-03-14 14:09:26 +01:00
<li class="flexrow"><label class="generic-label">Threat Level Value</label>
2022-11-28 13:58:04 +01:00
<input type="text" class="input-numeric-short padd-right" name="system.threatlevel" value="{{data.threatlevel}}" data-dtype="Number"/>
2022-03-14 14:09:26 +01:00
</li>
2022-01-08 18:28:01 +01:00
<li class="flexrow"><label class="generic-label">Attacks Gained</label>
<li>
<ul class="ul-level1">
<li class="flexrow"><div class="drop-ability-weapon"><label>Drop Weapons here !</label></div>
</li>
{{#each data.attackgained as |weapon idx|}}
<li class="flexrow">
2022-11-28 13:58:04 +01:00
<label name="system.specialisations[{{idx}}].name"><a class="view-subitem" data-type="attackgained" data-index="{{idx}}">{{weapon.name}}</a></label>
2022-01-08 18:28:01 +01:00
<div class="item-controls padd-left">
<a class="item-control delete-subitem padd-left" data-type="attackgained" data-index="{{idx}}" title="Delete Weapon"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</li>
</li>
<li class="flexrow"><label class="generic-label">Armors Gained</label>
<li>
<ul class="ul-level1">
<li class="flexrow"><div class="drop-ability-armor"><label>Drop Armors here !</label></div>
</li>
{{#each data.armorgained as |armor idx|}}
<li class="flexrow">
2022-11-28 13:58:04 +01:00
<label name="dasystema.specialisations[{{idx}}].name"><a class="view-subitem" data-type="armorgained" data-index="{{idx}}">{{armor.name}}</a></label>
2022-01-08 18:28:01 +01:00
<div class="item-controls padd-left">
<a class="item-control delete-subitem padd-left" data-type="armorgained" data-index="{{idx}}" title="Delete Armor"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</li>
</li>
2021-12-05 20:36:34 +01:00
</ul>
2022-03-06 22:18:08 +01:00
</div>
2021-12-05 20:36:34 +01:00
2021-12-02 07:38:59 +01:00
</section>
</form>