2023-02-07 18:06:45 +01:00
|
|
|
<form class="chateau-dormant">
|
|
|
|
<div class="flexcol">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="motifStress">Motif de stress</label>
|
|
|
|
<input type="text" name="motifStress" value="{{motifStress}}" data-dtype="String" />
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<ul class="item-list alterne-list">
|
|
|
|
<li class="competence-header flexrow">
|
|
|
|
<span class="flex-grow-3">Personnage</span>
|
|
|
|
<span class="flex-shrink">Insomnie</span>
|
|
|
|
<span class="flex-grow-1">Sommeil</span>
|
|
|
|
<span class="flex-shrink">Stress</span>
|
|
|
|
<span class="flex-grow-1">Moral</span>
|
|
|
|
<span class="flex-shrink">Ignorer</span>
|
|
|
|
</li>
|
2023-02-10 02:01:43 +01:00
|
|
|
{{#each actors as |actor|}}
|
|
|
|
<li class="item flexrow list-item set-sommeil-actor" data-actor-id="{{actor.id}}">
|
2023-02-07 18:06:45 +01:00
|
|
|
<span class="flex-grow-3">
|
|
|
|
<label>
|
2023-12-04 01:21:05 +01:00
|
|
|
<img class="chat-icon" src="{{actor.img}}" data-tooltip="{{actor.name}}" />
|
2023-02-10 02:01:43 +01:00
|
|
|
<span>{{actor.name}}</span>
|
2023-02-07 18:06:45 +01:00
|
|
|
</label>
|
|
|
|
</span>
|
|
|
|
<span class="flex-shrink">
|
2023-02-10 02:01:43 +01:00
|
|
|
<input type="checkbox" class="sommeil-insomnie" {{#if actor.system.sommeil.insomnie}}checked{{/if}}>
|
2023-02-07 18:06:45 +01:00
|
|
|
</span>
|
|
|
|
<span class="flex-grow-1">
|
|
|
|
<input type="number" class="number-x sommeil-heures" data-dtype="Number"
|
2023-02-10 02:01:43 +01:00
|
|
|
value="{{#if actor.system.sommeil.insomnie}}0{{else}}4{{/if}}"
|
|
|
|
min="0" max="{{#if actor.system.sommeil.insomnie}}0{{else}}12{{/if}}"
|
|
|
|
{{#if actor.system.sommeil.insomnie}}disabled{{/if}}/>
|
2023-02-07 18:06:45 +01:00
|
|
|
h
|
|
|
|
</span>
|
|
|
|
<span class="flex-shrink">
|
|
|
|
<input type="number" class="number-x2 sommeil-stress" value="0" data-dtype="Number" min="0" max="200"/>
|
|
|
|
</span>
|
|
|
|
<span class="flex-grow-1 flexrow sommeil-actor-moral">
|
2023-02-10 02:01:43 +01:00
|
|
|
{{> "systems/foundryvtt-reve-de-dragon/templates/sommeil/sommeil-actor-moral.hbs" actor.system.sommeil}}
|
2023-02-07 18:06:45 +01:00
|
|
|
</span>
|
|
|
|
<span class="flex-shrink">
|
|
|
|
<input type="checkbox" class="sommeil-ignorer">
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</form>
|