IMplémentation de la ajorité des remarques de Nepherius
This commit is contained in:
48
templates/npc-biographie.hbs
Normal file
48
templates/npc-biographie.hbs
Normal file
@@ -0,0 +1,48 @@
|
||||
<div class="tab biographie {{tab.cssClass}}" data-group="sheet" data-tab="biographie">
|
||||
|
||||
{{!-- Faction --}}
|
||||
<div class="bio-section faction-section">
|
||||
<div class="section-header">
|
||||
<i class="fas fa-flag"></i>
|
||||
<span>{{localize "CELESTOPOL.NPC.faction"}}</span>
|
||||
</div>
|
||||
{{#if isEditMode}}
|
||||
<div class="form-row-line faction-select-row">
|
||||
<label for="system.faction">{{localize "CELESTOPOL.NPC.factionLabel"}}</label>
|
||||
<select name="system.faction" id="faction-select">
|
||||
<option value="" {{#unless system.faction}}selected{{/unless}}>— {{localize "CELESTOPOL.NPC.factionNone"}} —</option>
|
||||
{{#each factions as |faction key|}}
|
||||
<option value="{{key}}" {{#if (eq key ../system.faction)}}selected{{/if}}>{{localize faction.label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="faction-display">
|
||||
{{#if system.faction}}
|
||||
<span class="faction-name">{{localize (lookup (lookup factions system.faction) 'label')}}</span>
|
||||
{{else}}
|
||||
<span class="faction-none">{{localize "CELESTOPOL.NPC.factionNone"}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
{{!-- Histoire --}}
|
||||
<div class="bio-section">
|
||||
<div class="section-header">
|
||||
<i class="fas fa-scroll"></i>
|
||||
<span>{{localize "CELESTOPOL.NPC.histoire"}}</span>
|
||||
</div>
|
||||
{{formInput systemFields.histoire enriched=enrichedHistoire value=system.histoire name="system.histoire" toggled=true}}
|
||||
</div>
|
||||
|
||||
{{!-- Description Physique --}}
|
||||
<div class="bio-section">
|
||||
<div class="section-header">
|
||||
<i class="fas fa-user"></i>
|
||||
<span>{{localize "CELESTOPOL.NPC.descriptionPhysique"}}</span>
|
||||
</div>
|
||||
{{formInput systemFields.descriptionPhysique enriched=enrichedDescriptionPhysique value=system.descriptionPhysique name="system.descriptionPhysique" toggled=true}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user