
10 changed files with 145 additions and 42 deletions
@ -1,28 +0,0 @@
|
||||
<section class="spells techniques panelBorder"> |
||||
<h2> |
||||
<div>{{localize "l5r4.sheet.techniques"}} & {{localize "l5r4.sheet.spells"}}</div> |
||||
<a class="item-create" data-type="spell" title="{{localize " l5r4.sheet.addTechSpell"}}"> |
||||
<i class="fas fa-plus"></i> |
||||
</a> |
||||
</h2> |
||||
<section class="special-list techniques-list"> |
||||
{{#each techniques as |technique id|}} |
||||
{{> "systems/l5r4/templates/partials/technique-card.hbs" technique inSheet=true}} |
||||
{{/each}} |
||||
</section> |
||||
<section class="special-list spells-list"> |
||||
{{#each spells as |spell id|}} |
||||
{{> "systems/l5r4/templates/partials/spell-card.hbs" spell inSheet=true}} |
||||
{{/each}} |
||||
</section> |
||||
<section class="special-list kata-list"> |
||||
{{#each katas as |kata id|}} |
||||
{{> "systems/l5r4/templates/partials/kata-card.hbs" kata inSheet=true}} |
||||
{{/each}} |
||||
</section> |
||||
<section class="special-list kiho-list"> |
||||
{{#each kihos as |kiho id|}} |
||||
{{> "systems/l5r4/templates/partials/kiho-card.hbs" kiho inSheet=true}} |
||||
{{/each}} |
||||
</section> |
||||
</section> |
@ -0,0 +1,79 @@
|
||||
{{#if techniques}} |
||||
<section class="tab-section"> |
||||
<h2> |
||||
<span>{{localize "l5r4.sheet.techniques"}}</span> |
||||
<a class="item-create" data-type="technique" title="{{localize " l5r4.sheet.addEquipment"}}"> |
||||
<i class="fas fa-plus"></i> |
||||
</a> |
||||
</h2> |
||||
<section class="special-list techniques-list"> |
||||
{{#each techniques as |technique id|}} |
||||
{{> "systems/l5r4/templates/partials/technique-card.hbs" technique inSheet=true}} |
||||
{{/each}} |
||||
</section> |
||||
</section> |
||||
{{/if}} |
||||
|
||||
{{#if spells}} |
||||
<section class="tab-section"> |
||||
<h2> |
||||
<span>{{localize "l5r4.sheet.spells"}}</span> |
||||
<a class="item-create" data-type="spell" title="{{localize " l5r4.sheet.addTechSpell"}}"> |
||||
<i class="fas fa-plus"></i> |
||||
</a> |
||||
</h2> |
||||
<section class="special-list spells-list"> |
||||
{{#each spells as |spell id|}} |
||||
{{> "systems/l5r4/templates/partials/spell-card.hbs" spell inSheet=true}} |
||||
{{/each}} |
||||
</section> |
||||
</section> |
||||
{{/if}} |
||||
|
||||
{{#if katas}} |
||||
<section class="tab-section"> |
||||
<h2> |
||||
<span>{{localize 'l5r4.sheet.katas'}}</span> |
||||
<a class="item-create" data-type="kata" title="{{localize " l5r4.sheet.addTechSpell"}}"> |
||||
<i class="fas fa-plus"></i> |
||||
</a> |
||||
</h2> |
||||
<section class="special-list kata-list"> |
||||
{{#each katas as |kata id|}} |
||||
{{> "systems/l5r4/templates/partials/kata-card.hbs" kata inSheet=true}} |
||||
{{/each}} |
||||
</section> |
||||
</section> |
||||
{{/if}} |
||||
|
||||
{{#if kihos}} |
||||
<section class="tab-section"> |
||||
<h2> |
||||
<span>{{localize 'l5r4.sheet.kihos'}}</span> |
||||
<a class="item-create" data-type="kiho" title="{{localize " l5r4.sheet.addTechSpell"}}"> |
||||
<i class="fas fa-plus"></i> |
||||
</a> |
||||
</h2> |
||||
<section class="special-list kiho-list"> |
||||
{{#each kihos as |kiho id|}} |
||||
{{> "systems/l5r4/templates/partials/kiho-card.hbs" kiho inSheet=true}} |
||||
{{/each}} |
||||
</section> |
||||
</section> |
||||
{{/if}} |
||||
|
||||
{{#if kihos}} |
||||
<section class="tab-section"> |
||||
<h2> |
||||
<span>{{localize 'l5r4.sheet.tattoos'}}</span> |
||||
<a class="item-create" data-type="tattoo" title="{{localize " l5r4.sheet.addTechSpell"}}"> |
||||
<i class="fas fa-plus"></i> |
||||
</a> |
||||
</h2> |
||||
<section class="special-list tattoo-list"> |
||||
{{#each tattoos as |tattoo id|}} |
||||
{{> "systems/l5r4/templates/partials/tattoo-card.hbs" tattoo inSheet=true}} |
||||
{{/each}} |
||||
</section> |
||||
</section> |
||||
{{/if}} |
@ -0,0 +1,28 @@
|
||||
<div class="item-border {{data.type}}"> |
||||
<div class="tattoo-card item" data-item-id="{{_id}}"> |
||||
<div class="tattoo-info tattoo-name"> |
||||
<h3> |
||||
{{#if inSheet}} |
||||
{{#if img}} |
||||
<img width="30px" height="30px" src="{{img}}" alt="{{name}}" /> |
||||
{{else}} |
||||
<img width="30px" height="30px" src="icons/magic/light/swords-light-glowing-white.webp" alt="{{name}}"/> |
||||
{{/if}} |
||||
<a title="{{localize " l5r4.sheet.edit"}}" class="item-edit">{{name}}</a> |
||||
{{else}} |
||||
{{name}} |
||||
{{/if}} |
||||
</h3> |
||||
</div> |
||||
<div> |
||||
<div class="technique-effects"> |
||||
{{{data.specialRules}}} |
||||
</div> |
||||
</div> |
||||
{{#if inSheet}} |
||||
<div> |
||||
<a class="item-edit" title="{{localize " l5r4.sheet.edit"}}"><i class="fas fa-edit fa-fw"></i></a> |
||||
</div> |
||||
{{/if}} |
||||
</div> |
||||
</div> |
@ -0,0 +1,12 @@
|
||||
<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"> |
||||
<h2>{{localize "l5r4.sheet.rulesSummary"}}</h2> |
||||
{{editor content=data.specialRules target="data.specialRules" button=true owner=owner editable=editable}} |
||||
<h2>{{localize "l5r4.sheet.description"}}</h2> |
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}} |
||||
</div> |
||||
</form> |
Loading…
Reference in new issue