standardization pass
This commit is contained in:
10
system/templates/actors/character/advancement.html
Normal file
10
system/templates/actors/character/advancement.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<tr class="flexrow row advancement" data-advancement-id="{{advancement._id}}">
|
||||
<td class="name" name="advancement.name">{{#if advancement.data.in_curriculum}}<i class="fas fa-graduation-cap"></i> {{/if}}{{ advancement.name }}</td>
|
||||
<td class="xp" name="advancement.xp">{{ advancement.data.xp_used }}</td>
|
||||
<td class="rank" name="advancement.rank">{{ advancement.data.rank }}</td>
|
||||
<td class="actions">
|
||||
<li class="item-control advancement-curriculum" title="{{localize 'l5r5e.global.curriculum'}}"><i class="fas fa-graduation-cap"></i></li>
|
||||
<li class="item-control advancement-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li class="item-control advancement-delete" title="{{localize 'l5r5e.global.delete'}}"><i class="fas fa-trash"></i></li>
|
||||
</td>
|
||||
</tr>
|
||||
48
system/templates/actors/character/attributes.html
Normal file
48
system/templates/actors/character/attributes.html
Normal file
@@ -0,0 +1,48 @@
|
||||
<ul class="attributes-wrapper">
|
||||
<li class="endurance-content">
|
||||
<label class="attribute-label">
|
||||
<strong>{{ localize 'l5r5e.attributes.endurance' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.endurance" value="{{data.endurance}}" data-dtype="Number" disabled/>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
<strong>{{ localize 'l5r5e.attributes.fatigue' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.fatigue" value="{{data.fatigue}}" data-dtype="Number"/>
|
||||
</label>
|
||||
<p class="quick-rules"> {{ localize 'l5r5e.attributes.endurancetip' }}</p>
|
||||
</li>
|
||||
<li class="composure-content">
|
||||
<label class="attribute-label">
|
||||
<strong>{{ localize 'l5r5e.attributes.composure' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.composure" value="{{data.composure}}" data-dtype="Number" disabled/>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
<strong>{{ localize 'l5r5e.attributes.strife' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.strife" value="{{data.strife}}" data-dtype="Number"/>
|
||||
</label>
|
||||
<p class="quick-rules"> {{ localize 'l5r5e.attributes.composuretip' }}</p>
|
||||
</li>
|
||||
<li class="focus-content">
|
||||
<label class="attribute-label">
|
||||
<strong>{{ localize 'l5r5e.attributes.focus' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.focus" value="{{data.focus}}" data-dtype="Number" disabled/>
|
||||
</label>
|
||||
<p class="quick-rules"> {{ localize 'l5r5e.attributes.focustip' }}</p>
|
||||
</li>
|
||||
<li class="vigilante-content">
|
||||
<label class="attribute-label">
|
||||
<strong>{{ localize 'l5r5e.attributes.vigilante' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.vigilante" value="{{data.vigilante}}" data-dtype="Number" disabled/>
|
||||
</label>
|
||||
<p class="quick-rules"> {{ localize 'l5r5e.attributes.vigilantetip' }}</p>
|
||||
</li>
|
||||
<li class="void-content">
|
||||
<label class="attribute-label">
|
||||
<strong>{{ localize 'l5r5e.attributes.voidpoints' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.void_points.current" value="{{data.void_points.current}}" data-dtype="Number"/>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
<strong>{{ localize 'l5r5e.max' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.void_points.max" value="{{data.void_points.max}}" data-dtype="Number" disabled/>
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
15
system/templates/actors/character/category.html
Normal file
15
system/templates/actors/character/category.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<li class="skill-category-wrapper skill-category-content">
|
||||
<h4 class="section-header">{{ localizeSkill categoryId 'title' }}</h4>
|
||||
<ul class="skill-category-skills-list">
|
||||
{{#each category as |skill id| }}
|
||||
{{> 'systems/l5r5e/templates/actors/character/skill.html' categoryId=../categoryId skill=skill skillId=id }}
|
||||
{{/each}}
|
||||
</ul>
|
||||
<ul class="skill-category-ring-actions">
|
||||
<li name="air" class="air"><i class="i_air"></i> {{ localizeSkill categoryId 'air' }} </li>
|
||||
<li name="earth" class="earth"><i class="i_earth"></i> {{ localizeSkill categoryId 'earth' }} </li>
|
||||
<li name="fire" class="fire"><i class="i_fire"></i> {{ localizeSkill categoryId 'fire' }} </li>
|
||||
<li name="water" class="water"><i class="i_water"></i> {{ localizeSkill categoryId 'water' }} </li>
|
||||
<li name="void" class="void"><i class="i_void"></i> {{ localizeSkill categoryId 'void' }} </li>
|
||||
</ul>
|
||||
</li>
|
||||
8
system/templates/actors/character/conflict.html
Normal file
8
system/templates/actors/character/conflict.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<fieldset class="stances-content flexrow">
|
||||
<legend class="section-header">{{ localize 'l5r5e.conflict.stance' }}</legend>
|
||||
<ul>
|
||||
{{#each data.rings as |ringValue ringId|}}
|
||||
{{> 'systems/l5r5e/templates/actors/character/stance.html' stance=../data.stance ringId=ringId }}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
41
system/templates/actors/character/experience.html
Normal file
41
system/templates/actors/character/experience.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<fieldset class="xp">
|
||||
<legend>{{ localize 'l5r5e.experience'}}</legend>
|
||||
<label class="attribute-label">
|
||||
{{ localize 'l5r5e.advancements.total' }}
|
||||
<input type="text" name="data.advancement.xp_total" value="{{ data.advancement.xp_total }}" data-dtype="Number" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
{{ localize 'l5r5e.advancements.spent' }}
|
||||
<input type="text" name="data.xp_spent" value="{{ data.xp_spent }}" data-dtype="Number" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
{{ localize 'l5r5e.advancements.saved' }}
|
||||
<input type="text" name="data.advancement.xp_saved" value="{{ data.advancement.xp_saved }}" data-dtype="Number" placeholder="0"/>
|
||||
</label>
|
||||
|
||||
<label class="attribute-label">
|
||||
Total dépensé dans ce rang:
|
||||
{{ data.advancement.xp_spent_rank }}
|
||||
</label>
|
||||
|
||||
</fieldset>
|
||||
<fieldset class="advancement">
|
||||
<legend class="tools">{{ localize 'l5r5e.advancements.title'}} <a class="advancement-control advancement-add" title="{{ localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a></legend>
|
||||
<table>
|
||||
<thead class="flex">
|
||||
<tr class="flexrow row">
|
||||
<th class="name">{{ localize 'l5r5e.name' }}</th>
|
||||
<th class="xp">{{ localize 'l5r5e.advancements.spent' }}</th>
|
||||
<th class="rank">{{ localize 'l5r5e.rank' }}</th>
|
||||
<th class="actions"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="flex">
|
||||
{{#each actor.items as |advancement advancementId|}}
|
||||
{{#ifCond '["peculiarity", "technique","advancement"]' 'includes' advancement.type}}
|
||||
{{> 'systems/l5r5e/templates/actors/character/advancement.html' advancement=advancement }}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
32
system/templates/actors/character/identity.html
Normal file
32
system/templates/actors/character/identity.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<ul class="identity-content">
|
||||
<li>
|
||||
<label class="attribute-label">
|
||||
{{ localize 'l5r5e.clan' }}
|
||||
<input type="text" name="data.identity.clan" value="{{data.identity.clan}}"/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label">
|
||||
{{ localize 'l5r5e.family' }}
|
||||
<input type="text" name="data.identity.family" value="{{data.identity.family}}"/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label">
|
||||
{{ localize 'l5r5e.school' }}
|
||||
<input type="text" name="data.identity.school" value="{{data.identity.school}}"/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label">
|
||||
{{ localize 'l5r5e.schoolrank' }}
|
||||
<input type="text" name="data.identity.school_rank" value="{{data.identity.school_rank}}" data-dtype="Number" placeholder="0"/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label">
|
||||
{{ localize 'l5r5e.roles' }}
|
||||
<input type="text" name="data.identity.roles" value="{{data.identity.roles}}"/>
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
42
system/templates/actors/character/narrative.html
Normal file
42
system/templates/actors/character/narrative.html
Normal file
@@ -0,0 +1,42 @@
|
||||
<ul class="narrative-content">
|
||||
<li>
|
||||
<label class="attribute-label">{{ localize 'l5r5e.social.ninjo' }}</label>
|
||||
<input type="text" name="data.social_standing.ninjo" value="{{data.social.ninjo}}"/>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label">{{ localize 'l5r5e.social.giri' }}</label>
|
||||
<input type="text" name="data.social_standing.giri" value="{{data.social.giri}}"/>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label">{{ localize 'l5r5e.social.titles' }}</label>
|
||||
<input type="text" name="data.social_standing.titles" value="{{data.social.titles}}"/>
|
||||
</li>
|
||||
<li>
|
||||
<fieldset>
|
||||
<legend class="text-block-header">{{ localize 'l5r5e.social.advantages' }}</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.item as |item id|}}
|
||||
{{#ifCond item.type '==' 'advantage'}}
|
||||
{{> 'systems/l5r5e/templates/items/item/item-entry.html' item=item id=id }}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
</li>
|
||||
<li>
|
||||
<fieldset>
|
||||
<legend class="text-block-header">{{ localize 'l5r5e.social.disadvantages' }}</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.item as |item id|}}
|
||||
{{#ifCond item.type '==' 'disadvantage'}}
|
||||
{{> 'systems/l5r5e/templates/items/item/item-entry.html' item=item id=id }}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
</li>
|
||||
</ul>
|
||||
<fieldset>
|
||||
<legend class="text-block-header">{{ localize 'l5r5e.notes' }}</legend>
|
||||
{{ editor content=data.notes.value target="data.notes.value" button=true editable=editable }}
|
||||
</fieldset>
|
||||
37
system/templates/actors/character/rings.html
Normal file
37
system/templates/actors/character/rings.html
Normal file
@@ -0,0 +1,37 @@
|
||||
<ul class="rings">
|
||||
<li id="earth">
|
||||
<label class="attribute-label earth centered-input">
|
||||
<i class="i_earth"></i>
|
||||
<strong>{{ localizeRing 'earth' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.rings.earth" value="{{data.rings.earth}}" data-dtype="Number" min="0" max="9" placeholder="0"/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="air">
|
||||
<label class="attribute-label air centered-input">
|
||||
<i class="i_air"></i>
|
||||
<strong>{{ localizeRing 'air' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.rings.air" value="{{data.rings.air}}" data-dtype="Number" min="0" max="9" placeholder="0"/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="water">
|
||||
<label class="attribute-label water centered-input">
|
||||
<i class="i_water"></i>
|
||||
<strong>{{ localizeRing 'water' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.rings.water" value="{{data.rings.water}}" data-dtype="Number" min="0" max="9" placeholder="0"/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="fire">
|
||||
<label class="attribute-label fire centered-input">
|
||||
<i class="i_fire"></i>
|
||||
<strong>{{ localizeRing 'fire' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.rings.fire" value="{{data.rings.fire}}" data-dtype="Number" min="0" max="9" placeholder="0"/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="void">
|
||||
<label class="attribute-label void centered-input">
|
||||
<i class="i_void"></i>
|
||||
<strong>{{ localizeRing 'void' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.rings.void" value="{{data.rings.void}}" data-dtype="Number" min="0" max="9" placeholder="0"/>
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
7
system/templates/actors/character/skill.html
Normal file
7
system/templates/actors/character/skill.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<li class="skill skill-wrapper" data-skill="{{skillId}}">
|
||||
<label class="skill-content">
|
||||
<span class="skill-name attribute-label rollable">{{ localizeSkill categoryId skillId }}</span>
|
||||
<input type="text" name="data.skills.{{categoryId}}.{{skillId}}.value" value="{{skill.value}}" data-dtype="Number" placeholder="0"/>
|
||||
</label>
|
||||
<!-- Roll button -->
|
||||
</li>
|
||||
20
system/templates/actors/character/social.html
Normal file
20
system/templates/actors/character/social.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<ul class="social-content">
|
||||
<li>
|
||||
<label class="attribute-label centered-input">
|
||||
{{ localize 'l5r5e.social.honor' }}
|
||||
<input class="centered-input" type="text" name="data.social.honor" value="{{data.social.honor}}" placeholder="0"/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label centered-input">
|
||||
{{ localize 'l5r5e.social.glory' }}
|
||||
<input class="centered-input" type="text" name="data.social.glory" value="{{data.social.glory}}" placeholder="0"/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label centered-input">
|
||||
{{ localize 'l5r5e.social.status' }}
|
||||
<input class="centered-input" type="text" name="data.social.status" value="{{data.social.status}}" placeholder="0"/>
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
7
system/templates/actors/character/stance.html
Normal file
7
system/templates/actors/character/stance.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<li class="stance-content">
|
||||
<label for="stance_{{ringId}}" class="stance-title {{ringId}}">
|
||||
{{ localizeRing ringId }}
|
||||
<input id="stance_{{ringId}}" type="radio" name="data.stance" value="{{ringId}}" {{radioChecked ringId stance}}/>
|
||||
</label>
|
||||
<p class="quick-rules">{{ localizeStanceTip ringId }}</p>
|
||||
</li>
|
||||
15
system/templates/actors/character/techniques.html
Normal file
15
system/templates/actors/character/techniques.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="techniques-wrapper">
|
||||
<fieldset class="section-header flexrow">
|
||||
<legend class="technique-controls">
|
||||
{{ localize 'l5r5e.techniques.title' }}
|
||||
<a class="technique-control technique-add" title="{{ localize 'l5r5e.global.add' }}"><i class="fas fa-plus"></i></a>
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.items as |item id|}}
|
||||
{{#ifCond item.type '==' 'technique'}}
|
||||
{{> 'systems/l5r5e/templates/items/technique/technique-entry.html' technique=item }}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
Reference in New Issue
Block a user