44 lines
1.1 KiB
Handlebars
44 lines
1.1 KiB
Handlebars
<div class="header">
|
|
<header class="sheet-header">
|
|
<img
|
|
class="item-sheet-img"
|
|
src="{{item.img}}"
|
|
data-action="editImage"
|
|
title="{{item.name}}"
|
|
/>
|
|
<div class="header-fields">
|
|
<h1 class="charname">
|
|
<input
|
|
name="name"
|
|
type="text"
|
|
value="{{item.name}}"
|
|
placeholder="Name"
|
|
/>
|
|
</h1>
|
|
</div>
|
|
<div class="header-actions">
|
|
{{#if canEnchant}}
|
|
<button
|
|
type="button"
|
|
data-action="enchanter"
|
|
class="chat-card-button"
|
|
data-tooltip="Enchanter (Loi)"
|
|
>
|
|
<i class="fas fa-star-half-alt"></i>
|
|
</button>
|
|
{{else if enchantementActif}}
|
|
<span class="chat-card-button" data-tooltip="Déjà enchanté (Loi)" style="color:gold;cursor:default;">
|
|
<i class="fas fa-star"></i>
|
|
</span>
|
|
{{/if}}
|
|
<button
|
|
type="button"
|
|
data-action="postItem"
|
|
class="chat-card-button"
|
|
data-tooltip="Poster dans le chat"
|
|
>
|
|
<i class="fas fa-comment"></i>
|
|
</button>
|
|
</div>
|
|
</header>
|
|
</div> |