DIvers rework de CSS/LESS et améliorations de messages/layout
This commit is contained in:
@@ -11,25 +11,21 @@
|
||||
|
||||
{{#if isRace}}
|
||||
<section class="sheet-card summary-card">
|
||||
<div class="field-row"><label>{{localize "LESOUBLIES.labels.taille"}}</label><input name="system.size" type="number" value="{{system.size}}" {{#if isPlayMode}}disabled{{/if}} /></div>
|
||||
<div class="field-row"><label>{{localize "LESOUBLIES.labels.taille"}}</label><select name="system.size" {{#if isPlayMode}}disabled{{/if}}>{{#each choiceSets.raceSizeOptions as |option|}}<option value="{{option.value}}" {{#if (eq option.value @root.system.size)}}selected{{/if}}>{{option.label}}</option>{{/each}}</select></div>
|
||||
<div class="field-row"><label>{{localize "LESOUBLIES.labels.esperanceVie"}}</label><input name="system.lifeExpectancy" type="number" value="{{system.lifeExpectancy}}" {{#if isPlayMode}}disabled{{/if}} /></div>
|
||||
<div class="field-row"><label>{{localize "LESOUBLIES.labels.langue"}}</label><input name="system.language" type="text" value="{{system.language}}" {{#if isPlayMode}}disabled{{/if}} /></div>
|
||||
<p><strong>{{localize "LESOUBLIES.labels.motsCles"}} :</strong> {{join system.keywords}}</p>
|
||||
<p><strong>Domaines de langues :</strong> {{join system.languageDomains}}</p>
|
||||
<h2>{{localize "LESOUBLIES.ui.profils"}}</h2>
|
||||
<div class="profile-grid">
|
||||
{{#each system.profiles as |value key|}}
|
||||
<div class="profile-cell"><label>{{profileLabel key}}</label><input name="system.profiles.{{key}}" type="number" value="{{value}}" {{#if @root.isPlayMode}}disabled{{/if}} /></div>
|
||||
{{/each}}
|
||||
</div>
|
||||
<p><strong>Tribus principales :</strong> {{join system.mainTribes}}</p>
|
||||
</section>
|
||||
{{/if}}
|
||||
|
||||
{{#if isTribu}}
|
||||
<section class="sheet-card summary-card">
|
||||
<p><strong>{{localize "LESOUBLIES.labels.motsCles"}} :</strong> {{join system.keywords}}</p>
|
||||
<div class="field-row"><label>Race principale</label><input name="system.mainRace" type="text" value="{{system.mainRace}}" {{#if isPlayMode}}disabled{{/if}} /></div>
|
||||
<div class="field-row"><label>Race principale</label><select name="system.mainRace" {{#if isPlayMode}}disabled{{/if}}><option value="">—</option>{{#each choiceSets.mainRaceOptions as |option|}}<option value="{{option.value}}" {{#if (eq option.value @root.system.mainRace)}}selected{{/if}}>{{option.label}}</option>{{/each}}</select></div>
|
||||
<div class="field-row"><label>{{localize "LESOUBLIES.labels.langue"}}</label><input name="system.spokenLanguage" type="text" value="{{system.spokenLanguage}}" {{#if isPlayMode}}disabled{{/if}} /></div>
|
||||
<div class="field-row"><label>{{localize "LESOUBLIES.labels.territoire"}}</label><input name="system.territory" type="text" value="{{system.territory}}" {{#if isPlayMode}}disabled{{/if}} /></div>
|
||||
<div class="field-row"><label>{{localize "LESOUBLIES.labels.philosophie"}}</label><input name="system.philosophy" type="text" value="{{system.philosophy}}" {{#if isPlayMode}}disabled{{/if}} /></div>
|
||||
@@ -71,26 +67,26 @@
|
||||
|
||||
<section class="sheet-card notes-card">
|
||||
<h2>{{localize "LESOUBLIES.labels.description"}}</h2>
|
||||
{{editor system.description target="system.description" button=true editable=isEditMode}}
|
||||
{{formInput systemFields.description enriched=enriched.description value=system.description name="system.description" toggled=true}}
|
||||
{{#if isRace}}
|
||||
<h2>Apparence et interprétation</h2>
|
||||
{{editor system.appearance target="system.appearance" button=true editable=isEditMode}}
|
||||
{{formInput systemFields.appearance enriched=enriched.appearance value=system.appearance name="system.appearance" toggled=true}}
|
||||
{{/if}}
|
||||
<h2>{{localize "LESOUBLIES.labels.reglesSpeciales"}}</h2>
|
||||
{{#if isRace}}
|
||||
{{editor system.specialRules target="system.specialRules" button=true editable=isEditMode}}
|
||||
{{formInput systemFields.specialRules enriched=enriched.specialRules value=system.specialRules name="system.specialRules" toggled=true}}
|
||||
{{/if}}
|
||||
{{#if isTribu}}
|
||||
{{editor system.specialRules target="system.specialRules" button=true editable=isEditMode}}
|
||||
{{formInput systemFields.specialRules enriched=enriched.specialRules value=system.specialRules name="system.specialRules" toggled=true}}
|
||||
<h2>Interprétation</h2>
|
||||
{{editor system.roleplayNotes target="system.roleplayNotes" button=true editable=isEditMode}}
|
||||
{{formInput systemFields.roleplayNotes enriched=enriched.roleplayNotes value=system.roleplayNotes name="system.roleplayNotes" toggled=true}}
|
||||
{{/if}}
|
||||
{{#if isMetier}}
|
||||
{{editor system.specialRules target="system.specialRules" button=true editable=isEditMode}}
|
||||
{{formInput systemFields.specialRules enriched=enriched.specialRules value=system.specialRules name="system.specialRules" toggled=true}}
|
||||
<h2>Interprétation</h2>
|
||||
{{editor system.roleplayNotes target="system.roleplayNotes" button=true editable=isEditMode}}
|
||||
{{formInput systemFields.roleplayNotes enriched=enriched.roleplayNotes value=system.roleplayNotes name="system.roleplayNotes" toggled=true}}
|
||||
{{/if}}
|
||||
<h2>{{localize "LESOUBLIES.labels.notes"}}</h2>
|
||||
{{editor system.notes target="system.notes" button=true editable=isEditMode}}
|
||||
{{formInput systemFields.notes enriched=enriched.notes value=system.notes name="system.notes" toggled=true}}
|
||||
</section>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user