Finished styles for items and change npc svg
This commit is contained in:
@@ -2,16 +2,17 @@
|
||||
<ul class="item-header item-control">
|
||||
<li class="item-img"><img src="{{item.img}}" title="{{item.name}}" width="32px" height="32px"/></li>
|
||||
<li class="item-name">{{ item.name }}</li>
|
||||
<li class="icon-stat-container">{{item.data.weight}}</li>
|
||||
<li class="icon-stat-container">{{item.data.armor.physical}} <i class="fas fa-certificate"></i></li>
|
||||
<li class="icon-stat-container">{{item.data.armor.supernatural}} <i class="fas fa-arrows-alt-h"></i></li>
|
||||
<li class="icon-stat-container">
|
||||
<i class="fas fa-tint" title="{{ localize 'l5r5e.armors.type' }} {{ localize 'l5r5e.armors.physical' }}"> {{item.data.armor.physical}}</i>
|
||||
<i class="fas fa-bolt" title="{{ localize 'l5r5e.armors.type' }} {{ localize 'l5r5e.armors.supernatural' }}"> {{item.data.armor.supernatural}}</i>
|
||||
</li>
|
||||
<li class="item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li class="item-delete" title="{{localize 'l5r5e.global.delete'}}"><i class="fas fa-trash"></i></li>
|
||||
</ul>
|
||||
<div class="item-properties">
|
||||
<ul class="item-properties">
|
||||
{{#each item.data.properties as |property id|}}
|
||||
{{{ property.name }}}
|
||||
<li>{{{ property.name }}}</li>
|
||||
{{/each}}
|
||||
</div>
|
||||
</ul>
|
||||
<div class="item-description">{{{ item.data.description }}}</div>
|
||||
</li>
|
||||
@@ -13,7 +13,7 @@
|
||||
</label>
|
||||
{{> 'systems/l5r5e/templates/items/item/item-value.html' }}
|
||||
<fieldset class="attribute type">
|
||||
<legend class="text-header">{{ localize 'l5r5e.armors.title' }}</legend>
|
||||
<legend class="text-header">{{ localize 'l5r5e.armors.type' }}</legend>
|
||||
<label>
|
||||
{{ localize 'l5r5e.armors.physical' }}
|
||||
<input type="text" name="data.armor.physical" value="{{data.armor.physical}}" data-dtype="Number" placeholder="0"/>
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<li class="item flexcol" data-item-id="{{item._id}}">
|
||||
<ul class="item-header item-control">
|
||||
<li class="item-img"><img src="{{item.img}}" title="{{item.name}}" width="32px" height="32px"/></li>
|
||||
<li class="item-name">{{ item.name }} x{{ item.data.quantity }}</li>
|
||||
<li class="item-name">{{ item.name }} <sub>x{{ item.data.quantity }}</sub></li>
|
||||
<li class="item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li class="item-delete" title="{{localize 'l5r5e.global.delete'}}"><i class="fas fa-trash"></i></li>
|
||||
</ul>
|
||||
<div class="item-properties">
|
||||
<ul class="item-properties">
|
||||
{{#each item.data.properties as |property id|}}
|
||||
{{{ property.name }}}
|
||||
<li>{{{ property.name }}}</li>
|
||||
{{/each}}
|
||||
</div>
|
||||
</ul>
|
||||
<div class="item-description">{{{ item.data.description }}}</div>
|
||||
</li>
|
||||
@@ -7,11 +7,6 @@
|
||||
<section class="sheet-body">
|
||||
{{!-- Attributes Tab --}}
|
||||
<article class="tab attributes" data-group="primary" data-tab="attributes">
|
||||
<label class="attribute-value checkbox">
|
||||
<input type="checkbox" name="data.in_curriculum" {{checked item.data.in_curriculum}} />
|
||||
in curriculum
|
||||
</label>
|
||||
<!-- TODO j'ai mis tous les attributs en vrac, à réorganiser -->
|
||||
<select name="data.ring">
|
||||
{{#select item.data.ring}}
|
||||
{{#each item.data.ringsList as |obj|}}
|
||||
@@ -26,8 +21,12 @@
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
<label class="cursus attribute-value checkbox">
|
||||
<input type="checkbox" name="data.in_curriculum" {{checked item.data.in_curriculum}} />
|
||||
{{ localize 'l5r5e.advancements.curriculum' }}
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.data.types' }}
|
||||
{{ localize 'l5r5e.types' }}
|
||||
<input type="text" name="data.types" value="{{item.data.types}}" />
|
||||
</label>
|
||||
<label class="attribute">
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
<label class="attribute-value checkbox">
|
||||
<label class="cursus attribute-value checkbox">
|
||||
<input type="checkbox" name="data.in_curriculum" {{checked item.data.in_curriculum}} />
|
||||
in curriculum
|
||||
{{ localize 'l5r5e.advancements.curriculum' }}
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.advancements.spent' }}
|
||||
|
||||
@@ -2,15 +2,18 @@
|
||||
<ul class="item-header item-control">
|
||||
<li class="item-img"><img src="{{item.img}}" title="{{item.name}}" width="32px" height="32px"/></li>
|
||||
<li class="item-name">{{ item.name }}</li>
|
||||
<li class="icon-stat-container">{{item.data.damage}} <i class="fas fa-certificate"></i></li>
|
||||
<li class="icon-stat-container">{{item.data.range}} <i class="fas fa-arrows-alt-h"></i></li>
|
||||
<li class="icon-stat-container">
|
||||
<i class="fas fa-arrows-alt-h" title="{{ localize 'l5r5e.weapons.range' }}"> {{item.data.range}}</i>
|
||||
<i class="fas fa-tint" title="{{ localize 'l5r5e.weapons.damage' }}"> {{item.data.damage}}</i>
|
||||
<i class="fas fa-skull" title="{{ localize 'l5r5e.weapons.deadliness' }}"> {{item.data.deadliness}}</i>
|
||||
</li>
|
||||
<li class="item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li class="item-delete" title="{{localize 'l5r5e.global.delete'}}"><i class="fas fa-trash"></i></li>
|
||||
</ul>
|
||||
<div class="item-properties">
|
||||
<ul class="item-properties">
|
||||
{{#each item.data.properties as |property id|}}
|
||||
{{{ property.name }}}
|
||||
<li>{{{ property.name }}}</li>
|
||||
{{/each}}
|
||||
</div>
|
||||
</ul>
|
||||
<div class="item-description">{{{ item.data.description }}}</div>
|
||||
</li>
|
||||
@@ -33,12 +33,12 @@
|
||||
<fieldset class="stats">
|
||||
<legend class="text-block-header">{{ localize 'l5r5e.weapons.stats' }}</legend>
|
||||
<label>
|
||||
{{ localize 'l5r5e.weapons.damage' }}
|
||||
<input type="text" name="data.damage" value="{{data.damage}}" data-dtype="Number" placeholder="0"/>
|
||||
{{ localize 'l5r5e.weapons.range' }}
|
||||
<input type="text" name="data.range" value="{{data.range}}" data-dtype="text" placeholder="0"/>
|
||||
</label>
|
||||
<label>
|
||||
{{ localize 'l5r5e.weapons.range' }}
|
||||
<input type="text" name="data.range" value="{{data.range}}" data-dtype="Number" placeholder="0"/>
|
||||
{{ localize 'l5r5e.weapons.damage' }}
|
||||
<input type="text" name="data.damage" value="{{data.damage}}" data-dtype="Number" placeholder="0"/>
|
||||
</label>
|
||||
<label>
|
||||
{{ localize 'l5r5e.weapons.deadliness' }}
|
||||
|
||||
Reference in New Issue
Block a user