Add ul li style for editor + Adjuste stance + marge on sheets and img

This commit is contained in:
Mandar
2021-01-02 01:33:17 +01:00
parent 999d4b0738
commit 78fde2cdd9
6 changed files with 142 additions and 85 deletions

View File

@@ -1,52 +1,48 @@
<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' }}
{{#if editable}}
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{ localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
{{/if}}
</legend>
<ul class="item-list">
{{#each actor.items as |item id|}}
{{#ifCond '["distinction","passion"]' 'includes' item.data.peculiarity_type}}
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../editable }}
{{/ifCond}}
{{/each}}
</ul>
</fieldset>
</li>
<li>
<fieldset>
<legend class="text-block-header">
{{ localize 'l5r5e.social.disadvantages' }}
{{#if editable}}
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{ localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
{{/if}}
</legend>
<ul class="item-list">
{{#each actor.items as |item id|}}
{{#ifCond '["adversity","anxiety"]' 'includes' item.data.peculiarity_type}}
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../editable }}
{{/ifCond}}
{{/each}}
</ul>
</fieldset>
</li>
</ul>
<fieldset>
<div class="narrative-content">
<fieldset>
<legend class="text-block-header">{{ localize 'l5r5e.social.title' }}</legend>
<label class="attribute-label">{{ localize 'l5r5e.social.ninjo' }}
<input type="text" name="data.social_standing.ninjo" value="{{data.social.ninjo}}"/>
</label>
<label class="attribute-label">{{ localize 'l5r5e.social.giri' }}
<input type="text" name="data.social_standing.giri" value="{{data.social.giri}}"/>
</label>
<label class="attribute-label">{{ localize 'l5r5e.social.titles' }}
<input type="text" name="data.social_standing.titles" value="{{data.social.titles}}"/>
</label>
</fieldset>
<fieldset>
<legend class="text-block-header">
{{ localize 'l5r5e.social.advantages' }}
{{#if editable}}
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{ localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
{{/if}}
</legend>
<ul class="item-list">
{{#each actor.items as |item id|}}
{{#ifCond '["distinction","passion"]' 'includes' item.data.peculiarity_type}}
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../editable }}
{{/ifCond}}
{{/each}}
</ul>
</fieldset>
<fieldset>
<legend class="text-block-header">
{{ localize 'l5r5e.social.disadvantages' }}
{{#if editable}}
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{ localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
{{/if}}
</legend>
<ul class="item-list">
{{#each actor.items as |item id|}}
{{#ifCond '["adversity","anxiety"]' 'includes' item.data.peculiarity_type}}
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../editable }}
{{/ifCond}}
{{/each}}
</ul>
</fieldset>
</div>
<fieldset class="narrative-note">
<legend class="text-block-header">{{ localize 'l5r5e.notes' }}</legend>
{{ editor content=data.notes.value target="data.notes.value" button=true editable=editable }}
</fieldset>