Dice dialog v1 and Minus all key in template and long files

This commit is contained in:
Vlyan
2020-12-10 13:51:18 +01:00
parent 1d3ec4c274
commit ca69a8f182
25 changed files with 538 additions and 507 deletions

View File

@@ -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 --}}

View File

@@ -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>

View File

@@ -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>

View File

@@ -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}}

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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 }}

View File

@@ -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>

View File

@@ -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>