Initial data model migration
This commit is contained in:
50
templates/partial-item-header.hbs
Normal file
50
templates/partial-item-header.hbs
Normal file
@@ -0,0 +1,50 @@
|
||||
<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 isEditMode}}
|
||||
<button
|
||||
type="button"
|
||||
data-action="toggleSheet"
|
||||
class="chat-card-button"
|
||||
>
|
||||
<i class="fas fa-eye"></i>
|
||||
Mode Lecture
|
||||
</button>
|
||||
{{else}}
|
||||
<button
|
||||
type="button"
|
||||
data-action="toggleSheet"
|
||||
class="chat-card-button"
|
||||
>
|
||||
<i class="fas fa-edit"></i>
|
||||
Mode Édition
|
||||
</button>
|
||||
{{/if}}
|
||||
<button
|
||||
type="button"
|
||||
data-action="postItem"
|
||||
class="chat-card-button"
|
||||
title="Poster dans le chat"
|
||||
>
|
||||
<i class="fas fa-comment"></i>
|
||||
Poster
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
Reference in New Issue
Block a user