kopparhavet/templates/items/adversaryAttack-sheet.html

40 lines
1.8 KiB
HTML

<form class="{{cssClass}} item-sheet-talent" autocomplete="off">
<div class="header">
<div class="avatar flex-group-center" style="grid-row: 1/3;">
<img class="item-avatar-img" src="{{item.img}}" data-edit="img" title="{{item.name}}" />
</div>
<div class="container flex-group-center item-name">
<h1><input name="name" type="text" value="{{item.name}}" placeholder="{{localize "ITEM.ATTACK"}}" /></h1>
</div>
</div>
<div class="grid-container" style="grid-template-columns: 1fr 1fr;">
<div class="rating">
<label>{{localize data.data.damage.label}}</label>
<input name="data.damage.value" type="text" value="{{data.data.damage.value}}" />
</div>
<div class="rating">
<label>{{localize data.data.skill.label}}</label>
<input name="data.skill.value" type="text" value="{{data.data.skill.value}}" />
</div>
<div>
<label>{{localize data.data.category.label}}</label>
<select class="item-weapon-cat-select" name="data.category.value">
{{#select data.data.category.value}}
<option value="melee">{{localize "WEAPON.MELEE"}}</option>
<option value="ranged">{{localize "WEAPON.RANGED"}}</option>
{{/select}}
</select>
</div>
</div>
<div class="item">
<div class="description">
<h2>{{localize data.data.description.label}}</h2>
<div class="info">
<div class="description">
{{editor content=data.data.description.value target="data.description.value" button=true owner=owner editable=editable}}
</div>
</div>
</div>
</div>
</form>