Working on 0.8.x
- NPC with all ring on strengths/weaknesses (CSS TODO). - Removed Custom tech "Links" as they are in fact "Bonds" and need more work. - Added Bonds, SignatureScroll, ItemPatterns and working on titles
This commit is contained in:
13
system/templates/items/title/title-entry.html
Normal file
13
system/templates/items/title/title-entry.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<li class="item title flexcol toggle-on-click" data-toggle="item-description-{{title._id}}">
|
||||
<ul class="item-header title-controls">
|
||||
<li class="item-img"><img src="{{title.img}}" title="{{title.name}}" width="24px" height="24px"/></li>
|
||||
<li class="item-name"><i class="i_{{title.data.ring}}" title="{{localizeRing title.data.ring}}"></i> {{title.name}}</li>
|
||||
{{#if editable}}
|
||||
<li data-item-id="{{title._id}}" class="item-control item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li data-item-id="{{title._id}}" class="item-control item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
{{#if title.data.description}}
|
||||
<div class="item-description item-description-{{title._id}}">{{{title.data.description}}}</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
34
system/templates/items/title/title-sheet.html
Normal file
34
system/templates/items/title/title-sheet.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{document.img}}" data-edit="img" title="{{document.name}}"/>
|
||||
<h1 class="charname"><input name="name" type="text" value="{{document.name}}" placeholder="Name"/></h1>
|
||||
</header>
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
{{!-- Attributes Tab --}}
|
||||
<article class="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="{{document.data.data.xp_cost}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.advancements.spent' }}
|
||||
<input class="select-on-focus" type="number" name="data.xp_used" value="{{document.data.data.xp_used}}" 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="{{document.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="{{document.data.data.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
</article>
|
||||
|
||||
{{!-- Embbed advancements --}}
|
||||
{{!-- TODO --}}
|
||||
|
||||
{{!-- Descr + Page ref --}}
|
||||
{{> 'systems/l5r5e/templates/items/item/item-infos.html'}}
|
||||
</section>
|
||||
</form>
|
||||
Reference in New Issue
Block a user