fvtt-hero-system-6/templates/items/item-maneuver-sheet.hbs

68 lines
3.1 KiB
Handlebars
Raw Normal View History

2023-03-21 14:01:27 +01:00
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-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>
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<ul>
2023-03-21 20:43:41 +01:00
<li class="flexrow"><label class="item-field-label-long">Type</label>
<select class="item-field-label-long" type="text" name="system.maneuvertype" value="{{system.maneuvertype}}" data-dtype="String">
{{#select system.maneuvertype}}
{{#each config.maneuverTypes as |name key|}}
<option value="{{key}}">{{name}}</option>
{{/each}}
{{/select}}
</select>
</li>
2023-03-21 14:01:27 +01:00
2023-04-06 16:57:19 +02:00
{{> systems/fvtt-hero-system-6/templates/partials/partial-power-maneuver-effect.hbs}}
2023-03-24 10:17:20 +01:00
<li class="flexrow"><label class="item-field-label-medium">Is stock ?</label>
<label class="item-field-label-medium"><input type="checkbox" name="system.isstock" {{checked system.isstock}}/></label>
</li>
2023-03-21 14:01:27 +01:00
<li class="flexrow"><label class="item-field-label-medium">PHA</label>
<input type="text" class="item-field-label-medium" name="system.pha" value="{{system.pha}}" data-dtype="String"/>
</li>
2023-08-25 23:00:21 +02:00
{{#if (eq system.maneuvertype "mental")}}
<li class="flexrow"><label class="item-field-label-medium">OMCV</label>
<input type="text" class="item-field-label-medium" name="system.omcv" value="{{system.omcv}}" data-dtype="String"/>
</li>
<li class="flexrow"><label class="item-field-label-medium">DMCV</label>
<input type="text" class="item-field-label-medium" name="system.dmcv" value="{{system.dmcv}}" data-dtype="String"/>
</li>
{{else}}
2023-03-21 14:01:27 +01:00
<li class="flexrow"><label class="item-field-label-medium">OCV</label>
2023-06-30 17:21:11 +02:00
<input type="text" class="item-field-label-medium" name="system.ocv" value="{{system.ocv}}" data-dtype="String"/>
2023-03-21 14:01:27 +01:00
</li>
<li class="flexrow"><label class="item-field-label-medium">DCV</label>
2023-06-30 17:21:11 +02:00
<input type="text" class="item-field-label-medium" name="system.dcv" value="{{system.dcv}}" data-dtype="String"/>
2023-03-21 14:01:27 +01:00
</li>
2023-08-25 23:00:21 +02:00
{{/if}}
2023-03-21 14:01:27 +01:00
<li class="flexrow"><label class="item-field-label-medium">Effects</label>
<input type="text" class="item-field-label-long" name="system.effects" value="{{system.effects}}" data-dtype="String"/>
</li>
2023-04-06 16:57:19 +02:00
2023-03-21 14:01:27 +01:00
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
</ul>
</div>
2023-08-15 22:12:02 +02:00
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-notes.hbs}}
2023-03-21 14:01:27 +01:00
</section>
</form>