foundry-vtt-system-midgard5/templates/sheets/item/effect.hbs

46 lines
1.7 KiB
Handlebars

<form class="item-sheet {{cssClass}} m5item-item" autocomplete="off">
<header class="sheet-header">
<img class="item-img" src="{{item.img}}" data-edit="img" title="{{item.name}}" />
<h1><input name="name" type="text" value="{{item.name}}" placeholder="Name" /></h1>
</header>
<div class="sheet-content">
<table>
<tr>
<td colspan=4>
<div class="flexrow">
<span>
<input id="data.equipped" type="checkbox" name="data.equipped" {{checked data.equipped}}>
<label for="data.equipped">{{localize "midgard5.active"}}</label>
</span>
<span>
<input id="data.magic" type="checkbox" name="data.magic" {{checked data.magic}}>
<label for="data.magic">{{localize "midgard5.magic"}}</label>
</span>
</div>
</td>
</tr>
<tr>
<td>
<div class="flexrow">
<span>{{localize "midgard5.time-duration"}}</span>
<input name="data.duration.time" type="text" value="{{data.duration.time}}" data-dtype="Number" />
<select class="select-mod-operation" name="data.duration.unit" data-type="String">
{{#select data.duration.unit}}
<option value=""></option>
<option value="round">{{localize "midgard5.time-round"}}</option>
<option value="minute">{{localize "midgard5.time-minute"}}</option>
<option value="hour">{{localize "midgard5.time-hour"}}</option>
<option value="limitless">{{localize "midgard5.time-limitless"}}</option>
{{/select}}
</select>
</div>
</td>
</tr>
</table>
{{> "systems/midgard5/templates/sheets/partial/mod.hbs" mods=data.mods calc=data.calc}}
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</form>