Style for new items bond/title + fix XP table

This commit is contained in:
Mandar
2021-05-29 15:59:32 +02:00
parent a5011caf9c
commit 5ca8d800fc
8 changed files with 79 additions and 54 deletions

View File

@@ -6,7 +6,6 @@
<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

@@ -7,7 +7,7 @@
<section class="sheet-body">
{{!-- Attributes Tab --}}
<article class="attributes" data-group="primary" data-tab="attributes">
<label class="attribute">
<label class="attribute bonds-types">
{{ localize 'l5r5e.types' }}
<input class="select-on-focus" type="text" name="data.bond_type" value="{{data.data.bond_type}}" data-dtype="String"/>
</label>

View File

@@ -1,5 +1,5 @@
{{!-- infos --}}
<article class="infos" data-group="primary" data-tab="description">
<article class="tab infos" 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

@@ -5,28 +5,33 @@
<img class="profile-img" src="{{data.img}}" data-edit="img" title="{{data.name}}"/>
<h1 class="charname"><input name="name" type="text" value="{{data.name}}" placeholder="Name"/></h1>
</header>
{{!-- Sheet Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
<a class="item active" data-tab="attributes">{{ localize "l5r5e.description" }}</a>
<a class="item" data-tab="experience">{{ localize "l5r5e.advancements.title" }}</a>
</nav>
{{!-- Sheet Body --}}
<section class="sheet-body">
{{!-- Sheet Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
<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 class="tab attributes" data-group="primary" data-tab="attributes">
<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>
<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">
@@ -61,8 +66,5 @@
</table>
</fieldset>
</article>
{{!-- Descr + Page ref --}}
{{> 'systems/l5r5e/templates/items/item/item-infos.html'}}
</section>
</form>