standardization pass

This commit is contained in:
Vlyan
2020-12-18 16:31:03 +01:00
parent 9893ca4223
commit 003bcc1761
65 changed files with 131 additions and 149 deletions

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

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

View File

@@ -0,0 +1,19 @@
<ul>
<li>{{!-- Npc Type (minion / adversary) --}}
<select class="attribute-dtype" name="data.type">
{{#select data.type}}
{{#each data.types as |t|}}
<option value="{{t}}">{{t}}</option>
{{/each}}
{{/select}}
</select>
</li>
{{!-- Martial --}}
<li>
<input type="text" name="data.conflict_rank.martial" value="{{data.conflict_rank.martial}}" data-dtype="Number" placeholder="0"/>
</li>
{{!-- Social --}}
<li>
<input type="text" name="data.conflict_rank.social" value="{{data.conflict_rank.social}}" data-dtype="Number" placeholder="0"/>
</li>
</ul>

View File

@@ -0,0 +1,20 @@
<fieldset class="narrative-content">
<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>
<fieldset class="narrative-content">
<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>

View 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" 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" 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" 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" 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" placeholder="0"/>
</label>
</li>
</ul>

View File

@@ -0,0 +1,10 @@
<ul class="npc-skill">{{!-- Skills --}}
{{#each data.skills as |skillValue skillCatId|}}
<li>
<label>
{{localizeSkill skillCatId "title"}}
<input type="text" name="data.skills.{{skillCatId}}" value="{{skillValue}}" data-dtype="Number" placeholder="0"/>
</label>
</li>
{{/each}}
</ul>

View File

@@ -0,0 +1,43 @@
<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>
<li>
{{!-- Strength --}}
<select class="attribute-dtype" name="data.rings_affinities.strength.ring">
{{#select data.rings_affinities.strength.ring}}
{{#each data.stances as |stance|}}
<option value="{{stance}}">{{localizeRing stance}}</option>
{{/each}}
{{/select}}
</select>
<input type="text" name="data.rings_affinities.strength.value" value="{{data.rings_affinities.strength.value}}" data-dtype="Number" placeholder="0"/>,
{{!-- Weakness --}}
<select class="attribute-dtype" name="data.rings_affinities.weakness.ring">
{{#select data.rings_affinities.weakness.ring}}
{{#each data.stances as |stance|}}
<option value="{{stance}}">{{localizeRing stance}}</option>
{{/each}}
{{/select}}
</select>
<input type="text" name="data.rings_affinities.weakness.value" value="{{data.rings_affinities.weakness.value}}" data-dtype="Number" placeholder="0"/>
{{!-- Attitude --}}
<input type="text" name="data.attitude" value="{{data.attitude}}" data-dtype="String" placeholder=""/>
<h2>{{ localize 'l5r5e.attributes.title' }}</h2>
</li>
</ul>

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

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