61 lines
No EOL
2.9 KiB
Handlebars
61 lines
No EOL
2.9 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">
|
|
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name" /></h1>
|
|
<div class="grid grid-3col">
|
|
<div class="basic-property">
|
|
<label class="basic-property-label">{{localize "DS4.AttackType"}}</label>
|
|
<select class="basic-property-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 class="basic-property-label">{{localize "DS4.WeaponBonus"}}</label>
|
|
<input class="basic-property-input" type="text" name="data.weaponBonus" value="{{data.weaponBonus}}"
|
|
placeholder="0" data-dtype="Number" />
|
|
</div>
|
|
<div class="basic-property">
|
|
<label class="basic-property-label">{{localize "DS4.OpponentDefense"}}</label>
|
|
<input class="basic-property-input" type="text" name="data.opponentDefense"
|
|
value="{{data.opponentDefense}}" placeholder="0" data-dtype="Number" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
{{!-- Sheet Tab Navigation --}}
|
|
<nav class="sheet-tabs tabs" data-group="primary">
|
|
<a class="item" data-tab="description">{{localize "DS4.Description"}}</a>
|
|
<a class="item" data-tab="details">{{localize "DS4.Details"}}</a>
|
|
</nav>
|
|
|
|
{{!-- Sheet Body --}}
|
|
<section class="sheet-body">
|
|
|
|
{{!-- Description Tab --}}
|
|
<div class="tab flexrow" data-group="primary" data-tab="description">
|
|
<div class="side-properties">
|
|
<div class="side-property">
|
|
<label for="data.quantity">{{localize "DS4.Quantity"}}</label>
|
|
<input type="number" data-dtype="Number" name="data.quantity" value="{{data.quantity}}" />
|
|
</div>
|
|
<div class="side-property">
|
|
<label for="data.price">{{localize "DS4.PriceGold"}}</label>
|
|
<input type="number" data-dtype="Number" name="data.price" value="{{data.price}}" />
|
|
</div>
|
|
|
|
</div>
|
|
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
|
</div>
|
|
|
|
{{!-- Attributes Tab --}}
|
|
<div class="tab details" data-group="primary" data-tab="details">
|
|
{{!-- As you add new fields, add them in here! --}}
|
|
</div>
|
|
</section>
|
|
</form> |