Dice dialog v1 and Minus all key in template and long files
This commit is contained in:
@@ -5,8 +5,7 @@
|
||||
|
||||
{{#if l5r5e.stance}}
|
||||
<div class="l5r5e dice-stance">
|
||||
<!-- TODO localization -->
|
||||
<i class="i_{{l5r5e.stance}}"></i> {{l5r5e.skillId}}
|
||||
<i class="i_{{l5r5e.stance}}"></i> {{l5r5e.skillName}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="dice-picker-dialog">
|
||||
<form class="noflex" autocomplete="off">
|
||||
<div class="form-group">
|
||||
<label>{{localize "L5r5e.Approaches"}}:</label>
|
||||
<label>{{localize "l5r5e.approaches"}}:</label>
|
||||
<div class="form-fields">
|
||||
{{#each elementsList}}
|
||||
<input type="radio" id="approach_{{this.id}}" name="approach" value="{{this.id}}" data-dice="{{this.value}}">
|
||||
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<label><i class="d6"></i> {{localize "L5r5e.Rings.Title"}}:</label>
|
||||
<label><i class="d6"></i> {{localize "l5r5e.rings.title"}}:</label>
|
||||
<div class="form-fields">
|
||||
{{#each dicesList}}
|
||||
<input type="radio" id="ring_{{this}}" name="ring" value="{{this}}">
|
||||
@@ -25,7 +25,7 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<label><i class="d12"></i> {{localize "L5r5e.Skills.Title"}}: {{skillData.name}}</label>
|
||||
<label><i class="d12"></i> {{localize "l5r5e.skills.title"}}:</label>
|
||||
<div class="form-fields">
|
||||
{{#each dicesList}}
|
||||
<input type="radio" id="skill_{{this}}" name="skill" value="{{this}}">
|
||||
@@ -39,7 +39,7 @@
|
||||
{{#if skillData.name}}
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<label>{{skillData.name}}</label>
|
||||
<label><i class="d12"></i> {{skillData.value}} : {{skillData.name}} </label>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
|
||||
<!-- TODO summary localization -->
|
||||
{{#if chatData.l5r5e.dicesTypes.l5r}}
|
||||
{{#if chatData.displaySummary}}
|
||||
{{#chatData.l5r5e.summary}}
|
||||
|
||||
@@ -24,11 +24,11 @@
|
||||
<div class="tab attributes" data-group="primary" data-tab="attributes">
|
||||
<div class="flexrow">
|
||||
<div class="attribute-container">
|
||||
<label class="attribute-label">{{ localize 'L5r5e.XP.Spent' }}</label>
|
||||
<label class="attribute-label">{{ localize 'l5r5e.xp.spent' }}</label>
|
||||
<input type="text" name="data.xp_used" value="{{data.xp_used}}" data-dtype="Number" placeholder="0"/>
|
||||
</div>
|
||||
<div class="attribute-container">
|
||||
<label class="attribute-label">{{ localize 'L5r5e.Rank' }}</label>
|
||||
<label class="attribute-label">{{ localize 'l5r5e.rank' }}</label>
|
||||
<input type="text" name="data.rank" value="{{data.rank}}" data-dtype="Number" placeholder="0"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name"/></h1>
|
||||
<div class="resource">
|
||||
<label>{{ localize 'L5r5e.Quantity' }}</label>
|
||||
<label>{{ localize 'l5r5e.quantity' }}</label>
|
||||
<input type="text" name="data.quantity" value="{{data.quantity}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<div class="resource">
|
||||
<label>{{ localize 'L5r5e.Weight' }}</label>
|
||||
<label>{{ localize 'l5r5e.weight' }}</label>
|
||||
<input type="text" name="data.weight" value="{{data.weight}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -26,15 +26,15 @@
|
||||
<div class="tab" data-group="primary" data-tab="description">
|
||||
<div class="weapon-stats-content">
|
||||
<div>
|
||||
<label class="attribute-label">{{ localize 'L5r5e.Damage' }}</label>
|
||||
<label class="attribute-label">{{ localize 'l5r5e.damage' }}</label>
|
||||
<input type="text" name="data.damage" value="{{data.damage}}" data-dtype="Number" placeholder="0"/>
|
||||
</div>
|
||||
<div>
|
||||
<label class="attribute-label">{{ localize 'L5r5e.Range' }}</label>
|
||||
<label class="attribute-label">{{ localize 'l5r5e.range' }}</label>
|
||||
<input type="text" name="data.range" value="{{data.range}}" data-dtype="Number" placeholder="0"/>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="text-block-header">{{ localize 'L5r5e.Properties' }}</h4>
|
||||
<h4 class="text-block-header">{{ localize 'l5r5e.properties' }}</h4>
|
||||
{{editor content=data.properties target="data.properties" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="weapons-content">
|
||||
<h4 class="section-header">{{ localize 'L5r5e.Weapons' }}</h4>
|
||||
<h4 class="section-header">{{ localize 'l5r5e.weapons' }}</h4>
|
||||
<ul class="item-list">
|
||||
{{#each actor.items as |item id|}}
|
||||
{{#if item.isWeapon }}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
</div>
|
||||
<div class="header-fields">
|
||||
{{> 'systems/l5r5e/templates/sheets/actor/social.html' }}
|
||||
<h2>{{ localize 'L5r5e.Attributes.Title' }}</h2>
|
||||
<h2>{{ localize 'l5r5e.attributes.title' }}</h2>
|
||||
{{> 'systems/l5r5e/templates/sheets/actor/rings.html' }}
|
||||
{{> 'systems/l5r5e/templates/sheets/actor/attributes.html' }}
|
||||
</div>
|
||||
@@ -16,11 +16,11 @@
|
||||
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item" data-tab="narrative">{{ localize 'L5r5e.Narrative' }}</a>
|
||||
<a class="item" data-tab="skills">{{ localize 'L5r5e.Skills.Title' }}</a>
|
||||
<a class="item" data-tab="conflict">{{ localize 'L5r5e.Conflict.Title' }}</a>
|
||||
<a class="item" data-tab="inventory">{{ localize 'L5r5e.Inventory' }}</a>
|
||||
<a class="item" data-tab="experience">{{ localize 'L5r5e.Experience' }}</a>
|
||||
<a class="item" data-tab="narrative">{{ localize 'l5r5e.narrative' }}</a>
|
||||
<a class="item" data-tab="skills">{{ localize 'l5r5e.skills.title' }}</a>
|
||||
<a class="item" data-tab="conflict">{{ localize 'l5r5e.conflict.title' }}</a>
|
||||
<a class="item" data-tab="inventory">{{ localize 'l5r5e.inventory' }}</a>
|
||||
<a class="item" data-tab="experience">{{ localize 'l5r5e.experience' }}</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
|
||||
@@ -1,47 +1,47 @@
|
||||
<ul class="attributes-wrapper">
|
||||
<li class="endurance-content">
|
||||
<label class="attribute-label">
|
||||
{{ localize 'L5r5e.Attributes.Endurance' }}
|
||||
{{ localize 'l5r5e.attributes.endurance' }}
|
||||
<input class="centered-input" type="text" name="data.endurance" value="{{data.endurance}}" data-dtype="Number" disabled/>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
{{ localize 'L5r5e.Attributes.Fatigue' }}
|
||||
{{ localize 'l5r5e.attributes.fatigue' }}
|
||||
<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>
|
||||
<p class="quick-rules"> {{ localize 'l5r5e.attributes.endurancetip' }}</p>
|
||||
</li>
|
||||
<li class="composure-content">
|
||||
<label class="attribute-label">
|
||||
{{ localize 'L5r5e.Attributes.Composure' }}
|
||||
{{ localize 'l5r5e.attributes.composure' }}
|
||||
<input class="centered-input" type="text" name="data.composure" value="{{data.composure}}" data-dtype="Number" disabled/>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
{{ localize 'L5r5e.Attributes.Strife' }}
|
||||
{{ localize 'l5r5e.attributes.strife' }}
|
||||
<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>
|
||||
<p class="quick-rules"> {{ localize 'l5r5e.attributes.composuretip' }}</p>
|
||||
</li>
|
||||
<li class="focus-content">
|
||||
<label class="attribute-label">
|
||||
{{ localize 'L5r5e.Attributes.Focus' }}
|
||||
{{ localize 'l5r5e.attributes.focus' }}
|
||||
<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>
|
||||
<p class="quick-rules"> {{ localize 'l5r5e.attributes.focustip' }}</p>
|
||||
</li>
|
||||
<li class="vigilante-content">
|
||||
<label class="attribute-label">
|
||||
{{ localize 'L5r5e.Attributes.Vigilante' }}
|
||||
{{ localize 'l5r5e.attributes.vigilante' }}
|
||||
<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>
|
||||
<p class="quick-rules"> {{ localize 'l5r5e.attributes.vigilantetip' }}</p>
|
||||
</li>
|
||||
<li class="void-content">
|
||||
<label class="attribute-label">
|
||||
{{ localize 'L5r5e.Attributes.VoidPoints' }}
|
||||
{{ localize 'l5r5e.attributes.voidpoints' }}
|
||||
<input class="centered-input" type="text" name="data.void_points.current" value="{{data.void_points.current}}" data-dtype="Number"/>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
{{ localize 'L5r5e.Max' }}
|
||||
{{ localize 'L5r5e.max' }}
|
||||
<input class="centered-input" type="text" name="data.void_points.max" value="{{data.void_points.max}}" data-dtype="Number" disabled/>
|
||||
</label>
|
||||
</li>
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
{{/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>
|
||||
<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>
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="conflict-wrapper">
|
||||
<div class="conflict-top-content">
|
||||
<div class="conflict-stances-content">
|
||||
<h4 class="section-header">{{ localize 'L5r5e.Conflict.Stance' }}</h4>
|
||||
<h4 class="section-header">{{ localize 'l5r5e.conflict.stance' }}</h4>
|
||||
{{#each data.stances as |stance stanceId|}}
|
||||
{{> 'systems/l5r5e/templates/sheets/actor/stance.html' stance=stance stanceId=stanceId }}
|
||||
{{/each}}
|
||||
|
||||
@@ -1,31 +1,31 @@
|
||||
<div class="tab-container">
|
||||
<div class="flexrow" style="flex: 0 0 100px; justify-content: center;">
|
||||
<div class="short-attribute-container">
|
||||
<h4 class="attribute-label center">{{ localize 'L5r5e.XP.Total' }}</h4>
|
||||
<h4 class="attribute-label center">{{ localize 'l5r5e.xp.total' }}</h4>
|
||||
<input type="text" name="data.xp_total" value="{{ data.xp_total }}" data-dtype="Number" placeholder="0"/>
|
||||
</div>
|
||||
<div class="short-attribute-container">
|
||||
<h4 class="attribute-label">{{ localize 'L5r5e.XP.Spent' }}</h4>
|
||||
<h4 class="attribute-label">{{ localize 'l5r5e.xp.spent' }}</h4>
|
||||
<input type="text" name="data.xp_spent" value="{{ data.xp_spent }}" data-dtype="Number" placeholder="0"/>
|
||||
</div>
|
||||
<div class="short-attribute-container">
|
||||
<h4 class="attribute-label">{{ localize 'L5r5e.XP.Saved' }}</h4>
|
||||
<h4 class="attribute-label">{{ localize 'l5r5e.xp.saved' }}</h4>
|
||||
<input type="text" name="data.xp_saved" value="{{ data.xp_saved }}" data-dtype="Number" placeholder="0"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="adquisitions">
|
||||
<h4 class="section-header flexrow">{{ localize 'L5r5e.XP.Adquisitions'}}</h4>
|
||||
<div class="acquisitions">
|
||||
<h4 class="section-header flexrow">{{ localize 'l5r5e.xp.acquisitions'}}</h4>
|
||||
<header class="flexrow row">
|
||||
<h4 class="name">{{ localize 'L5r5e.Name' }}</h4>
|
||||
<h4 class="xp">{{ localize 'L5r5e.XP.Spent' }}</h4>
|
||||
<h4 class="rank">{{ localize 'L5r5e.Rank' }}</h4>
|
||||
<h4 class="name">{{ localize 'l5r5e.name' }}</h4>
|
||||
<h4 class="xp">{{ localize 'l5r5e.xp.spent' }}</h4>
|
||||
<h4 class="rank">{{ localize 'l5r5e.rank' }}</h4>
|
||||
</header>
|
||||
|
||||
{{#each data.feats as |feat featId| }}
|
||||
{{> 'systems/l5r5e/templates/sheets/actor/adquisition.html' adquisition=feat }}
|
||||
{{/each}}
|
||||
<div class="tools">
|
||||
<a class="adquisition-control adquisition-add" title="{{ localize 'L5r5e.Add'}}"><i class="fas fa-plus"></i></a>
|
||||
<a class="adquisition-control adquisition-add" title="{{ localize 'l5r5e.add'}}"><i class="fas fa-plus"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,6 +1,6 @@
|
||||
<div class="feats-wrapper">
|
||||
<div class="section-header flexrow">
|
||||
<h4 style="margin: 0; font-weight: bold;">{{ localize 'L5r5e.Feats' }}</h4>
|
||||
<h4 style="margin: 0; font-weight: bold;">{{ localize 'l5r5e.feats' }}</h4>
|
||||
<div class="feat-controls">
|
||||
<a class="feat-control feat-add" title="Add Item"><i class="fas fa-plus"></i></a>
|
||||
</div>
|
||||
|
||||
@@ -1,31 +1,31 @@
|
||||
<ul class="identity-content">
|
||||
<li>
|
||||
<label class="attribute-label">
|
||||
{{ localize 'L5r5e.Clan' }}
|
||||
{{ localize 'l5r5e.clan' }}
|
||||
<input type="text" name="data.identity.clan" value="{{data.identity.clan}}"/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label">
|
||||
{{ localize 'L5r5e.Family' }}
|
||||
{{ localize 'l5r5e.family' }}
|
||||
<input type="text" name="data.identity.family" value="{{data.identity.family}}"/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label">
|
||||
{{ localize 'L5r5e.School' }}
|
||||
{{ localize 'l5r5e.school' }}
|
||||
<input type="text" name="data.identity.school" value="{{data.identity.school}}"/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label">
|
||||
{{ localize 'L5r5e.SchoolRank' }}
|
||||
{{ 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' }}
|
||||
{{ localize 'l5r5e.roles' }}
|
||||
<input type="text" name="data.identity.roles" value="{{data.identity.roles}}"/>
|
||||
</label>
|
||||
</li>
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
<ul class="narrative-content">
|
||||
<li>
|
||||
<label class="attribute-label">{{ localize 'L5r5e.SocialStanding.Ninjo' }}</label>
|
||||
<label class="attribute-label">{{ localize 'l5r5e.socialstanding.ninjo' }}</label>
|
||||
<input type="text" name="data.social_standing.ninjo" value="{{data.social_standing.ninjo}}"/>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label">{{ localize 'L5r5e.SocialStanding.Giri' }}</label>
|
||||
<label class="attribute-label">{{ localize 'l5r5e.socialstanding.giri' }}</label>
|
||||
<input type="text" name="data.social_standing.giri" value="{{data.social_standing.giri}}"/>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label">{{ localize 'L5r5e.SocialStanding.SocialTitles' }}</label>
|
||||
<label class="attribute-label">{{ localize 'l5r5e.socialstanding.socialtitles' }}</label>
|
||||
<input type="text" name="data.social_standing.titles" value="{{data.social_standing.titles}}"/>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="text-block-header">{{ localize 'L5r5e.Notes' }}</h4>
|
||||
<h4 class="text-block-header">{{ localize 'l5r5e.notes' }}</h4>
|
||||
{{ editor content=data.notes.value target="data.notes.value" button=true editable=editable }}
|
||||
@@ -2,35 +2,35 @@
|
||||
<li id="earth">
|
||||
<label class="attribute-label earth centered-input">
|
||||
<i class="i_earth"></i>
|
||||
<strong>{{ localizeRing 'Earth' }}</strong>
|
||||
<strong>{{ localizeRing 'earth' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.rings.earth" value="{{data.rings.earth}}" data-dtype="Number" placeholder="0"/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="air">
|
||||
<label class="attribute-label air centered-input">
|
||||
<i class="i_air"></i>
|
||||
<strong>{{ localizeRing 'Air' }}</strong>
|
||||
<strong>{{ localizeRing 'air' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.rings.air" value="{{data.rings.air}}" data-dtype="Number" placeholder="0"/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="water">
|
||||
<label class="attribute-label water centered-input">
|
||||
<i class="i_water"></i>
|
||||
<strong>{{ localizeRing 'Water' }}</strong>
|
||||
<strong>{{ localizeRing 'water' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.rings.water" value="{{data.rings.water}}" data-dtype="Number" placeholder="0"/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="fire">
|
||||
<label class="attribute-label fire centered-input">
|
||||
<i class="i_fire"></i>
|
||||
<strong>{{ localizeRing 'Fire' }}</strong>
|
||||
<strong>{{ localizeRing 'fire' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.rings.fire" value="{{data.rings.fire}}" data-dtype="Number" placeholder="0"/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="void">
|
||||
<label class="attribute-label void centered-input">
|
||||
<i class="i_void"></i>
|
||||
<strong>{{ localizeRing 'Void' }}</strong>
|
||||
<strong>{{ localizeRing 'void' }}</strong>
|
||||
<input class="centered-input" type="text" name="data.rings.void" value="{{data.rings.void}}" data-dtype="Number" placeholder="0"/>
|
||||
</label>
|
||||
</li>
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
<ul class="social-content">
|
||||
<li>
|
||||
<label class="attribute-label centered-input">
|
||||
{{ localize 'L5r5e.SocialStanding.Honor' }}
|
||||
{{ localize 'l5r5e.socialstanding.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.SocialStanding.Glory' }}
|
||||
{{ localize 'l5r5e.socialstanding.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.SocialStanding.Status' }}
|
||||
{{ localize 'l5r5e.socialstanding.status' }}
|
||||
<input class="centered-input" type="text" name="data.social.status" value="{{data.social.status}}" placeholder="0"/>
|
||||
</label>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user