|
|
|
@ -10,6 +10,38 @@
|
|
|
|
|
|
|
|
|
|
<h1>🧬 Ma collection de créatures 🐾</h1>
|
|
|
|
|
|
|
|
|
|
<h2 class="section-title">🌱 Vos créatures de base</h2>
|
|
|
|
|
|
|
|
|
|
<div class="emoji-container base">
|
|
|
|
|
{% for emoji in emojisDeBase %}
|
|
|
|
|
<div class="emoji-card {{ emoji.color }}"
|
|
|
|
|
data-id="{{ emoji.id }}"
|
|
|
|
|
data-name="{{ emoji.nom }}"
|
|
|
|
|
data-color="{{ emoji.color }}"
|
|
|
|
|
data-level="{{ emoji.nbCombatGagne }}"
|
|
|
|
|
data-force="{{ emoji.force }}"
|
|
|
|
|
data-vitesse="{{ emoji.vitesse }}">
|
|
|
|
|
|
|
|
|
|
<div class="emoji-level">Level {{ emoji.nbCombatGagne }}</div>
|
|
|
|
|
<div class="emoji">{{ emoji.code }}</div>
|
|
|
|
|
<div class="emoji-name {{ emoji.color }}">{{ emoji.nom }}</div>
|
|
|
|
|
<div class="detail-icon" data-id="{{ emoji.id }}">ℹ️</div>
|
|
|
|
|
|
|
|
|
|
<div class="popup" id="popup-{{ emoji.id }}">
|
|
|
|
|
<strong>Stats :</strong><br>
|
|
|
|
|
Force: {{ emoji.force }}<br>
|
|
|
|
|
Robustesse: {{ emoji.robustesse }}<br>
|
|
|
|
|
Intelligence: {{ emoji.intelligence }}<br>
|
|
|
|
|
Vitesse: {{ emoji.vitesse }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="section-break-icon">🔻</div>
|
|
|
|
|
|
|
|
|
|
<h2 class="section-title">📦 Votre collection personnelle</h2>
|
|
|
|
|
|
|
|
|
|
<div class="filter-bar">
|
|
|
|
|
<label for="search-input">🔍 Rechercher un nom :</label>
|
|
|
|
|
<input type="text" id="search-input" placeholder="ex: Bob..." />
|
|
|
|
@ -32,18 +64,20 @@
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="selection-status">Sélectionnez 2 créatures...</div>
|
|
|
|
|
|
|
|
|
|
<div class="emoji-container">
|
|
|
|
|
{% for emoji in emojis %}
|
|
|
|
|
<div class="emoji-card {{ emoji.color }}" data-id="{{ emoji.id }}" data-name="{{ emoji.nom }}"
|
|
|
|
|
data-color="{{ emoji.color }}" data-level="{{ emoji.nbCombatGagne }}"
|
|
|
|
|
data-force="{{ emoji.force }}" data-vitesse="{{ emoji.vitesse }}">
|
|
|
|
|
<div class="emoji-container" id="collection-container">
|
|
|
|
|
{% for emoji in emojisCrees %}
|
|
|
|
|
<div class="emoji-card {{ emoji.color }}"
|
|
|
|
|
data-id="{{ emoji.id }}"
|
|
|
|
|
data-name="{{ emoji.nom }}"
|
|
|
|
|
data-color="{{ emoji.color }}"
|
|
|
|
|
data-level="{{ emoji.nbCombatGagne }}"
|
|
|
|
|
data-force="{{ emoji.force }}"
|
|
|
|
|
data-vitesse="{{ emoji.vitesse }}">
|
|
|
|
|
|
|
|
|
|
<div class="emoji-level">Level {{ emoji.nbCombatGagne }}</div>
|
|
|
|
|
<div class="emoji">{{ emoji.code }}</div>
|
|
|
|
|
<div class="emoji-name {{ emoji.color }}">{{ emoji.nom }}</div>
|
|
|
|
|
<div class="detail-icon">ℹ️</div>
|
|
|
|
|
<div class="detail-icon" data-id="{{ emoji.id }}">ℹ️</div>
|
|
|
|
|
|
|
|
|
|
<div class="popup" id="popup-{{ emoji.id }}">
|
|
|
|
|
<strong>Stats :</strong><br>
|
|
|
|
@ -56,11 +90,13 @@
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="selection-status">Sélectionnez 2 créatures de votre choix pour commencer ...</div>
|
|
|
|
|
|
|
|
|
|
<div id="selection-visual" class="selection-visual"></div>
|
|
|
|
|
|
|
|
|
|
<div class="action-buttons">
|
|
|
|
|
<button class="btn" ">⚔️ Combattre</button>
|
|
|
|
|
<button class="btn" ">💞 Reproduire</button>
|
|
|
|
|
<button class="btn">⚔️ Combattre</button>
|
|
|
|
|
<button class="btn">💞 Reproduire</button>
|
|
|
|
|
</div>
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|