Anomalie : refonte fiche — 3 champs Technique/Narratif/Exemples
- DataModel : suppression 'description', ajout 'exemples' (HTMLField) - Template anomaly.hbs : suppression onglets, 3 sections éditables directement (sans bouton masqué), scroll interne - Styles : fond crème + titres de section Art Déco + éditeurs blancs avec texte sombre lisible (fix couleur jaune illisible) - item-sheets.mjs : contexte enrichedExemples + hauteur fenêtre 560px - lang/fr.json : clé CELESTOPOL.Item.exemples Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -53,25 +53,29 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<nav class="item-tabs sheet-tabs tabs" data-group="item-tabs">
|
||||
<a class="item active" data-group="item-tabs" data-tab="description">{{localize "CELESTOPOL.Tab.description"}}</a>
|
||||
<a class="item" data-group="item-tabs" data-tab="technique">{{localize "CELESTOPOL.Tab.technique"}}</a>
|
||||
</nav>
|
||||
{{!-- Corps principal : 3 sections sans onglets --}}
|
||||
<div class="anomaly-body">
|
||||
|
||||
<section class="tab active" data-group="item-tabs" data-tab="description">
|
||||
<div class="form-group">
|
||||
{{editor system.description target="system.description" button=true editable=isEditable}}
|
||||
<div class="anomaly-section">
|
||||
<div class="anomaly-section-title">{{localize "CELESTOPOL.Item.technique"}}</div>
|
||||
<div class="anomaly-editor-wrap">
|
||||
{{editor system.technique target="system.technique" button=false editable=isEditable}}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="tab" data-group="item-tabs" data-tab="technique">
|
||||
<div class="form-group">
|
||||
<label>{{localize "CELESTOPOL.Item.technique"}}</label>
|
||||
{{editor system.technique target="system.technique" button=true editable=isEditable}}
|
||||
<div class="anomaly-section">
|
||||
<div class="anomaly-section-title">{{localize "CELESTOPOL.Item.narratif"}}</div>
|
||||
<div class="anomaly-editor-wrap">
|
||||
{{editor system.narratif target="system.narratif" button=false editable=isEditable}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{localize "CELESTOPOL.Item.narratif"}}</label>
|
||||
{{editor system.narratif target="system.narratif" button=true editable=isEditable}}
|
||||
|
||||
<div class="anomaly-section">
|
||||
<div class="anomaly-section-title">{{localize "CELESTOPOL.Item.exemples"}}</div>
|
||||
<div class="anomaly-editor-wrap">
|
||||
{{editor system.exemples target="system.exemples" button=false editable=isEditable}}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user