Get the basic listing of attributes for the tab
This commit is contained in:
parent
c2b2376699
commit
7b127069b7
6 changed files with 95 additions and 19 deletions
|
|
@ -1,10 +1,16 @@
|
|||
<li
|
||||
class="item"
|
||||
class="attribute"
|
||||
data-item-uuid="{{uuid}}"
|
||||
>
|
||||
<div class="summary">
|
||||
<div class="title">
|
||||
<span class="name">{{ name }}</span>
|
||||
</div>
|
||||
<div class="title grow">
|
||||
<span class="name">{{ name }}</span>
|
||||
</div>
|
||||
<input
|
||||
type="number"
|
||||
id="{{uuid}}-value"
|
||||
data-foreign-name="system.value"
|
||||
value="{{ system.value }}"
|
||||
min="{{ system.min }}"
|
||||
max="{{ system.max }}"
|
||||
>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -3,5 +3,18 @@
|
|||
data-group="primary"
|
||||
data-tab="attributes"
|
||||
>
|
||||
Attribute Tab
|
||||
{{#each attrGroups as |group|}}
|
||||
<section>
|
||||
<div class="embedded-list-header">
|
||||
<h3 class="grow">
|
||||
{{ group.name }}
|
||||
</h3>
|
||||
</div>
|
||||
<ul class="embedded-list">
|
||||
{{#each group.attrs as |attr|}}
|
||||
{{> (systemFilePath "templates/PlayerSheet/tabs/attributes/attribute.hbs") attr }}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</section>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue