V0.05 - Final

This commit is contained in:
hjmaier
2021-02-16 11:36:23 +01:00
parent 6ccd9510c5
commit d214358adb
9 changed files with 61 additions and 32 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
<form class="actor-sheet {{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img src="{{actor.img}}" data-edit="img" title="{{actor.name}}" height="64" width="64" />
<img class="profile-img" src="{{actor.img}}" data-edit="img" title="{{actor.name}}" />
<h1 class="charname"><input name="name" type="text" value="{{actor.name}}" placeholder="Name" /></h1>
</header>
<div class="sheet-content">
@@ -57,7 +57,7 @@
</table>
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
{{!-- <section class="items">
{{!-- <section class="items">
<h3>Owned Items</h3>
<ol class="actor-items">
{{#each actor.items as |item id|}}
+28 -24
View File
@@ -1,27 +1,31 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img src="{{item.img}}" data-edit="img" title="{{item.name}}" height="64" width="64"/>
<h1><input name="name" type="text" value="{{item.name}}" placeholder="Name"/></h1>
</header>
<div class="sheet-content">
<table>
<tr>
<th>{{localize "midgard5.item-quantity"}}</th>
<th>{{localize "midgard5.item-value"}}</th>
<th>{{localize "midgard5.item-ismagic"}}</th>
</tr>
<tr>
<td>
<input name="data.quantity" type="text" value="{{data.quantity}}" data-dtype="Number" />
</td>
<td>
<input name="data.weight" type="text" value="{{data.weight}}" data-dtype="Number" />
</td>
<td>
<input name="data.magic" type="checkbox" {{checked data.magic}} />
</td>
</tr>
</table>
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
<header class="sheet-header">
<img src="{{item.img}}" data-edit="img" title="{{item.name}}" height="64" width="64" />
<h1><input name="name" type="text" value="{{item.name}}" placeholder="Name" /></h1>
</header>
<div class="sheet-content">
<table>
<tr>
<th>{{localize "midgard5.item-quantity"}}</th>
<th>{{localize "midgard5.item-value"}}</th>
<th>{{localize "midgard5.item-onbody"}}</th>
<th>{{localize "midgard5.item-ismagic"}}</th>
</tr>
<tr>
<td>
<input name="data.quantity" type="text" value="{{data.quantity}}" data-dtype="Number" />
</td>
<td>
<input name="data.value" type="text" value="{{data.value}}" data-dtype="Number" />
</td>
<td>
<input name="data.onbody" type="checkbox" {{checked data.onbody}} />
</td>
<td>
<input name="data.magic" type="checkbox" {{checked data.magic}} />
</td>
</tr>
</table>
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
</form>