34 lines
No EOL
1.7 KiB
Handlebars
34 lines
No EOL
1.7 KiB
Handlebars
<form class="{{cssClass}}" autocomplete="off">
|
|
<header class="sheet-header">
|
|
<img class="profile-img" src="{{item.img}}" data-edit="img" title="{{item.name}}" />
|
|
<div class="header-fields flexrow">
|
|
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name" /></h1>
|
|
<h2 class="item-type">{{localize (lookup config.itemTypes item.type)}}</h2>
|
|
<div class="grid grid-3col basic-properties">
|
|
<div class="basic-property">
|
|
<label>{{localize "DS4.AttackType"}}</label>
|
|
<select name="data.attackType" data-type="String">
|
|
{{#select data.attackType}}
|
|
{{#each config.attackTypes as |value key|}}
|
|
<option value="{{key}}">{{value}}</option>
|
|
{{/each}}
|
|
{{/select}}
|
|
</select>
|
|
</div>
|
|
<div class="basic-property">
|
|
<label>{{localize "DS4.WeaponBonus"}}</label>
|
|
<input type="number" name="data.weaponBonus" value="{{data.weaponBonus}}"
|
|
placeholder="0" data-dtype="Number" />
|
|
</div>
|
|
<div class="basic-property">
|
|
<label>{{localize "DS4.OpponentDefense"}}</label>
|
|
<input type="number" name="data.opponentDefense"
|
|
value="{{data.opponentDefense}}" placeholder="0" data-dtype="Number" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
{{!-- Common Item body --}}
|
|
{{> systems/ds4/templates/item/partials/body.hbs}}
|
|
</form> |