Fix tab errors

This commit is contained in:
Vlyan
2021-05-29 16:36:39 +02:00
parent 5ca8d800fc
commit 447c738796
3 changed files with 20 additions and 21 deletions

View File

@@ -6,6 +6,7 @@
<li data-item-id="{{bond.id}}" class="item-control item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
<li data-item-id="{{bond.id}}" class="item-control item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
{{/if}}
</ul>
{{#if bond.data.data.bond_type}}
<ul class="item-properties">
<li>{{bond.data.data.bond_type}} {{bond.data.data.rank}}</li>

View File

@@ -1,5 +1,4 @@
{{!-- infos --}}
<article class="tab infos" data-group="primary" data-tab="infos">
<article class="tab infos active" data-group="primary" data-tab="infos">
<fieldset>
<legend class="text-block-header">{{localize 'l5r5e.description'}}</legend>
{{editor content=data.data.description target="data.description" button=true owner=owner editable=editable}}

View File

@@ -12,26 +12,25 @@
<a class="item" data-tab="infos">{{ localize "l5r5e.description" }}</a>
<a class="item" data-tab="experience">{{ localize "l5r5e.advancements.title" }}</a>
</nav>
{{!-- Attributes Tab --}}
<article>
<label class="attribute">
{{localize 'l5r5e.advancements.cost'}}
<input class="select-on-focus" type="number" name="data.xp_cost" value="{{data.data.xp_cost}}" data-dtype="Number" min="0" placeholder="0"/>
</label>
<label class="attribute">
{{localize 'l5r5e.rank'}}
<input class="select-on-focus" type="number" name="data.rank" value="{{data.data.rank}}" data-dtype="Number" min="0" placeholder="0"/>
</label>
<label class="attribute">
{{localize 'l5r5e.bought_at_rank'}}
<input class="select-on-focus" type="number" name="data.bought_at_rank" value="{{data.data.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
</label>
</article>
{{!-- Descr + Page ref --}}
{{> 'systems/l5r5e/templates/items/item/item-infos.html'}}
{{!-- Attributes Tab --}}
<article>
<label class="attribute">
{{localize 'l5r5e.advancements.cost'}}
<input class="select-on-focus" type="number" name="data.xp_cost" value="{{data.data.xp_cost}}" data-dtype="Number" min="0" placeholder="0"/>
</label>
<label class="attribute">
{{localize 'l5r5e.rank'}}
<input class="select-on-focus" type="number" name="data.rank" value="{{data.data.rank}}" data-dtype="Number" min="0" placeholder="0"/>
</label>
<label class="attribute">
{{localize 'l5r5e.bought_at_rank'}}
<input class="select-on-focus" type="number" name="data.bought_at_rank" value="{{data.data.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
</label>
</article>
{{!-- Descr + Page ref --}}
{{> 'systems/l5r5e/templates/items/item/item-infos.html'}}
{{!-- Embbed advancements --}}
<article class="tab experience" data-group="primary" data-tab="experience">