This repository has been archived on 2024-05-29. You can view files and clone it, but cannot push or open issues or pull requests.
fvtt-warhero/templates/item-weapon-sheet.html

58 lines
2.5 KiB
HTML
Raw Normal View History

2023-01-04 21:24:56 +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>
2023-01-04 22:09:09 +01:00
{{> systems/fvtt-warhero/templates/partial-item-nav.html}}
2023-01-04 21:24:56 +01:00
{{!-- Sheet Body --}}
<section class="sheet-body">
2023-01-04 22:09:09 +01:00
{{> systems/fvtt-warhero/templates/partial-item-description.html}}
2023-01-04 21:24:56 +01:00
<div class="tab details" data-group="primary" data-tab="details">
<div class="tab" data-group="primary">
<ul>
2023-02-14 13:46:59 +01:00
<li class="flexrow"><label class="item-field-label-long ">{{localize "WH.ui.type"}}</label>
2023-01-04 22:21:49 +01:00
<select class="item-field-label-medium " type="text" name="system.weapontype" value="{{system.weapontype}}" data-dtype="String">
2023-01-04 22:09:09 +01:00
{{#select system.weapontype}}
{{#each config.weaponTypes as |type key|}}
2023-01-04 22:21:49 +01:00
<option value="{{key}}">{{localize type.label}}</option>
2023-01-04 21:24:56 +01:00
{{/each}}
{{/select}}
</select>
</li>
2023-02-08 21:19:53 +01:00
{{#if (eq system.weapontype "special")}}
2023-02-14 13:46:59 +01:00
<li class="flexrow"><label class="item-field-label-vlong2 ">{{localize "WH.ui.rawroll"}}</label>
2023-02-08 21:19:53 +01:00
<input type="text" class="item-field-label-long " name="system.rollformula" value="{{system.rollformula}}" data-dtype="String"/>
</li>
2023-02-14 13:46:59 +01:00
<li class="flexrow"><label class="item-field-label-vlong2 ">{{localize "WH.ui.rawdamage"}}</label>
2023-02-08 21:19:53 +01:00
<input type="text" class="item-field-label-long " name="system.damageformula" value="{{system.damageformula}}" data-dtype="String"/>
</li>
{{else}}
2023-02-14 13:46:59 +01:00
<li class="flexrow"><label class="item-field-label-long ">{{localize "WH.ui.damage"}}</label>
2023-01-04 22:21:49 +01:00
<input type="text" class="item-field-label-medium " name="system.damage" value="{{system.damage}}" data-dtype="String"/>
2023-01-04 21:24:56 +01:00
</li>
2023-02-08 21:19:53 +01:00
{{/if}}
{{#if (eq system.weapontype "polearm")}}
2023-02-14 13:46:59 +01:00
<li class="flexrow"><label class="item-field-label-long ">{{localize "WH.ui.2hdamage"}}</label>
2023-02-08 21:19:53 +01:00
<input type="text" class="item-field-label-medium " name="system.damage2hands" value="{{system.damage2hands}}" data-dtype="String"/>
</li>
{{/if}}
2023-01-04 21:24:56 +01:00
2023-01-06 17:45:36 +01:00
{{> systems/fvtt-warhero/templates/partial-item-common-equipment.html}}
2023-01-04 21:24:56 +01:00
</ul>
</div>
</div>
</section>
</form>