#171 - Gestion potion de soins (WIP)

This commit is contained in:
sladecraven 2021-04-04 18:42:09 +02:00
parent a5561b7b88
commit 18f1d314b7
2 changed files with 10 additions and 10 deletions

View File

@ -3,6 +3,11 @@
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/> <img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields"> <div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1> <h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
{{#if isOwned}}
<div class="form-group">
<span for="xp"><a class="creer-tache-livre chat-card-button" data-actor-id="{{actorId}}">Créer une tâche de lecture</a></span>
</div>
{{/if}}
</div> </div>
</header> </header>
@ -54,11 +59,6 @@
<label for="xp">Prix (sols) </label> <label for="xp">Prix (sols) </label>
<input class="attribute-value" type="text" name="data.cout" value="{{data.cout}}" data-dtype="Number"/> <input class="attribute-value" type="text" name="data.cout" value="{{data.cout}}" data-dtype="Number"/>
</div> </div>
{{#if isOwned}}
<div class="form-group">
<span for="xp"><a class="creer-tache-livre" data-actor-id="{{actorId}}">Créer une tâche de lecture</a></span>
</div>
{{/if}}
<div class="flexcol"> <div class="flexcol">
<span><label>Description : </label></span> <span><label>Description : </label></span>
<div class="form-group editor"> <div class="form-group editor">

View File

@ -3,6 +3,11 @@
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" /> <img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
<div class="header-fields"> <div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1> <h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
{{#if isOwned}}
<div class="form-group">
<span for="xp"><a class="consommer-potion chat-card-button" data-actor-id="{{actorId}}">Consommer cette potion</a></span>
</div>
{{/if}}
</div> </div>
</header> </header>
@ -85,11 +90,6 @@
</select> </select>
</div> </div>
{{/if}} {{/if}}
{{#if isOwned}}
<div class="form-group">
<span for="xp"><a class="consommer-potion" data-actor-id="{{actorId}}">Consommer cette potion</a></span>
</div>
{{/if}}
<div class="flexcol"> <div class="flexcol">
<span><label>Description :</label></span> <span><label>Description :</label></span>
<div class="form-group editor"> <div class="form-group editor">