2023-02-07 18:06:45 +01:00
|
|
|
<form class="dialog-repos">
|
2023-12-04 01:21:05 +01:00
|
|
|
<img class="chat-icon" src="{{img}}" data-tooltip="{{name}}" />
|
2023-02-07 18:06:45 +01:00
|
|
|
<div class="flexcol">
|
|
|
|
<div class="flexrow"><span>
|
|
|
|
<h2>{{name}} se repose</h2>
|
|
|
|
</span></div>
|
2023-02-10 02:01:43 +01:00
|
|
|
<div class="flexrow"><span>
|
2023-04-27 13:32:42 +02:00
|
|
|
<input type="radio" name="repos" id="sieste" value="sieste" {{#unless system.sommeil.nouveaujour}}checked{{/unless}}>
|
2023-02-10 02:01:43 +01:00
|
|
|
<label for="sieste">Sieste de
|
|
|
|
<input type="number" name="sieste.heures" value="1" data-dtype="Number" />
|
|
|
|
heures</label>
|
|
|
|
</span></div>
|
|
|
|
<div class="flexrow"><span><hr></span></div>
|
|
|
|
{{#if system.sommeil.nouveaujour}}
|
|
|
|
<div class="flexrow"><span>
|
|
|
|
<input type="radio" name="repos" id="chateau-dormant" value="chateau-dormant">
|
|
|
|
<label for="chateau-dormant">Juste château Dormant</label>
|
|
|
|
</span></div>
|
|
|
|
<div class="flexrow"><span>
|
|
|
|
<input type="radio" name="repos" id="nuit" value="nuit" checked>
|
|
|
|
{{#if system.sommeil.insomnie}}
|
|
|
|
<label>Insomnie cette nuit</label>
|
|
|
|
{{else}}
|
|
|
|
<label for="nuit">Dormir
|
|
|
|
<input type="number" name="sommeil.heures" value="{{system.sommeil.heures}}" data-dtype="Number" />
|
|
|
|
heures cette nuit
|
|
|
|
</label>
|
|
|
|
{{/if}}
|
|
|
|
</span></div>
|
|
|
|
<div class="flexrow">
|
|
|
|
<label for="moral">Moral</label>
|
|
|
|
<div class="sommeil-actor-moral">
|
|
|
|
{{> "systems/foundryvtt-reve-de-dragon/templates/sommeil/sommeil-actor-moral.hbs" system.sommeil}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-02-07 18:06:45 +01:00
|
|
|
{{else}}
|
|
|
|
<div class="flexrow"><span>
|
2023-02-10 02:01:43 +01:00
|
|
|
Le gardien des rêves doit faire passer Chateau Dormant
|
2023-02-07 18:06:45 +01:00
|
|
|
</span></div>
|
|
|
|
{{/if}}
|
|
|
|
<div class="flexrow"><span><hr></span></div>
|
|
|
|
<div class="flexrow"><span>
|
|
|
|
<input type="radio" name="repos" id="gris-reve" value="gris-reve">
|
|
|
|
<label for="gris-reve">Gris rêve</label>
|
|
|
|
</span></div>
|
|
|
|
<div class="flexrow">
|
|
|
|
<label for="nb-jours">Nombre de jours</label>
|
|
|
|
<input type="number" name="nb-jours" value="2" data-dtype="Number" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|