fvtt-rolemaster-frp/rmss/templates/sheets/actors/parts/actor-items.html
2022-08-29 20:22:04 +10:00

28 lines
1.6 KiB
HTML

<table>
<!-- LOCALIZE THE LAST STRINGS IN THIS PAGE. ALSO SKILLS AND SKILL CATEGORIES-->
<th><div class="item-name item-headeritem">{{ localize "rmss.pc_sheet_items.favorite" }}</div></th>
<th><div class="item-entry item-headeritem">{{ localize "rmss.pc_sheet_items.quantity" }}</div></th>
<th><div class="item-name item-headeritem">{{ localize "rmss.pc_sheet_items.item_name" }}</div></th>
<th><div class="item-entry item-headeritem">{{ localize "rmss.pc_sheet_items.weight" }}</div></th>
<th><div class="item-entry item-headeritem">{{ localize "rmss.pc_sheet_items.cost" }}</div></th>
<th><div class="item-controls">
<a class="item-control item-create" title="Create Item" data-type="item"><i class="fas fa-plus"></i>{{ localize "rmss.pc_sheet_items.add_item" }}</a>
</div></th>
{{#each gear as |item id|}}
<tr class="item" data-item-id="{{item._id}}">
<td><div class="item-entry item-prop"><input type="checkbox" name="data.favorite" {{checked item.data.favorite}}/></div></td>
<td><div class="item-entry item-prop">{{item.data.quantity}}</div></td>
<td><div class="item-name">
<h4>{{item.name}}</h4>
</div></td>
<td><div class="item-entry item-prop">{{item.data.weight}}</div></td>
<td><div class="item-entry item-prop">{{item.data.cost}}</div></td>
<td><div class="item-controls">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div></td>
</tr>
{{/each}}
</table>