Migration datamodels !

This commit is contained in:
2026-01-10 16:05:56 +01:00
parent 627ccc707b
commit 438caf3b1c
3946 changed files with 318813 additions and 3453 deletions

47
templates/post-item.hbs Normal file
View File

@@ -0,0 +1,47 @@
<div class="wasteland-chat-item" data-transfer="{{jsondata}}">
{{!-- Header avec image de l'item --}}
<div class="chat-item-header">
{{#if img}}
<img class="item-icon" src="{{img}}" alt="{{name}}" />
{{/if}}
<div class="header-info">
<h4 class="item-name">{{name}}</h4>
{{#if system.typeArme}}
<div class="item-type">
<i class="fas fa-{{#if (eq system.typeArme 'tir')}}crosshairs{{else if (eq system.typeArme 'contact')}}hand-fist{{else}}hand-sparkles{{/if}}"></i>
Arme
</div>
{{else if type}}
<div class="item-type">
<i class="fas fa-{{#if (eq type 'competence')}}graduation-cap{{else if (eq type 'capacite')}}star{{else if (eq type 'pouvoir')}}wand-sparkles{{else if (eq type 'equipement')}}shield{{else}}cube{{/if}}"></i>
{{type}}
</div>
{{/if}}
</div>
</div>
{{!-- Corps avec description --}}
<div class="chat-item-body">
{{#if system.description}}
<div class="item-description">
{{{system.description}}}
</div>
{{/if}}
{{!-- Propriétés spéciales pour armes --}}
{{#if system.degats}}
<div class="item-properties">
<div class="property">
<span class="property-label">Dégâts</span>
<span class="property-value">{{system.degats}}</span>
</div>
{{#if system.portee}}
<div class="property">
<span class="property-label">Portée</span>
<span class="property-value">{{system.portee}}</span>
</div>
{{/if}}
</div>
{{/if}}
</div>
</div>