Icones pour les actions

* dormir (bougée dans les compteurs/blessures)
* monter/regarder dans les TMR
This commit is contained in:
Vincent Vandemeulebrouck 2020-11-17 11:42:52 +01:00
parent f46bcfd770
commit 59be07b3e9

View File

@ -278,10 +278,13 @@
{{!-- Compteurs/Blessures Tab --}}
<div class="tab blessurescompteurs" data-group="primary" data-tab="blessurescompteurs">
<div class="flex-group-left flexrow">
<div class="flex-group-left flexrow">
<span class="dormir-une-heure"><a><img src="icons/svg/sleep.svg" alt="Dormir une heure" width="50" height="50"/></a></span>
</div>
<div class="flex-group-left flexrow">
<ol class="item-list">
{{#each data.compteurs as |compteur key|}}
<li class="item flexrow"">
<li class="item flexrow">
<span class="arme-label">{{compteur.label}}</span>
{{#if compteur.isInput}}
<input class="stress-value stress-style compteur-edit" id="{{key}}-edit" type="text" name="{{key}}" value="{{compteur.value}}" data-dtype="number"/>
@ -385,57 +388,67 @@
{{!-- hautreve Tab --}}
<div class="tab hautreve" data-group="primary" data-tab="hautreve" style="height:200px">
<div>
<span class="visu-tmr"><strong><a>Regarder les Terres Medianes</a></strong></span>
</div>
<div>
<span class="monte-tmr"><strong><a>Monter Normale dans les Terres Medianes !</a></strong></span>
</div>
<div>
<span class="monte-tmr-rapide"><strong><a>Monter en Accéléré dans les Terres Medianes !</a></strong></span>
</div>
<div>
<span class="dormir-une-heure"><strong><a>Dormir une heure</a></strong></span>
</div>
<div>
<ol class="item-list">
<li class="item flexrow">
<span class="ptreve-actuel competence-label"><a>Points de Rêve actuels</a> :</span>
<span><input class="pointsreve-value" type="text" name="data.reve.reve.value" value="{{data.reve.reve.value}}" data-dtype="Number"/></span>
</li>
<li class="item flexrow">
<span class="competence-label">Seuil de Rêve :</span>
<span><input class="seuil-reve-value" type="text" name="data.reve.seuil.value" value="{{data.reve.seuil.value}}" data-dtype="Number"/></span>
</li>
<div>
<ol class="item-list">
<li class="item flexrow">
<span class="competence-label">Position en TMR :</span>
<span>
{{#if data.isGM}}
<li class="item flexrow">
<span class="competence-label">Position en TMR : </span>
<span><input class="competence-value" type="text" name="data.reve.tmrpos.coord" value="{{data.reve.tmrpos.coord}}" data-dtype="String"/></span>
</li>
<li class="item flexrow" >
<span class="competence-label">Refoulement : </span>
<span><input class="competence-value" type="text" name="data.reve.refoulement.value" value="{{data.reve.refoulement.value}}" data-dtype="Number"/></span>
</li>
<input class="competence-value" type="text" name="data.reve.tmrpos.coord" value="{{data.reve.tmrpos.coord}}" data-dtype="String"/>
{{else}}
<li class="item flexrow" >Position en TMR : {{data.reve.tmrpos.coord}} </li>
<li class="item flexrow" >Refoulement : {{data.reve.refoulement.value}} </li>
{{data.reve.tmrpos.coord}}
{{/if}}
</ol>
</div>
<div>
<span><strong>Sorts:</strong></span>
<ol class="item-list">
{{#each data.sorts as |mysort key|}}
<li class="item flexrow" data-item-id="{{mysort._id}}" data-attribute="{{key}}">
<span class="sort-label"> <a data-id="{{mysort._id}}">{{mysort.name}}</a></span>
<span>{{mysort.data.draconic}} / {{mysort.data.difficulte}}</span>
<div class="item-controls">
<a class="item-control item-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
</span>
</li>
<li class="item flexrow" >
<span class="competence-label"></span>
<div>
<span class="monte-tmr"><a><img src="icons/svg/up.svg" alt="Montée normale dans les Terres Medianes !" width="50" height="50"/></a></span>
<span class="monte-tmr-rapide"><a><img src="icons/svg/thrust.svg" alt="Montée accélérée dans les Terres Medianes !" width="50" height="50"/></a></span>
<span class="visu-tmr"><a><img src="icons/svg/eye.svg" alt="Regarder les Terres Medianes" width="50" height="50"/></a></span>
</div>
</li>
{{/each}}
</ol>
</div>
<li class="item flexrow">
<span class="ptreve-actuel competence-label"><a>Points de Rêve actuels</a> :</span>
<span><input class="pointsreve-value" type="text" name="data.reve.reve.value" value="{{data.reve.reve.value}}" data-dtype="Number"/></span>
</li>
<li class="item flexrow">
<span class="competence-label">Seuil de Rêve :</span>
<span>
{{#if data.isGM}}
<input class="seuil-reve-value" type="text" name="data.reve.seuil.value" value="{{data.reve.seuil.value}}" data-dtype="Number"/>
{{else}}
{{data.reve.seuil.value}}
{{/if}}
</span>
</li>
<li class="item flexrow" >
<span class="competence-label">Refoulement : </span>
<span>
{{#if data.isGM}}
<input class="competence-value" type="text" name="data.reve.refoulement.value" value="{{data.reve.refoulement.value}}" data-dtype="Number"/>
{{else}}
{{data.reve.refoulement.value}}
{{/if}}
</span>
</li>
</ol>
</div>
<div>
<span><strong>Sorts:</strong></span>
<ol class="item-list">
{{#each data.sorts as |mysort key|}}
<li class="item flexrow" data-item-id="{{mysort._id}}" data-attribute="{{key}}">
<span class="sort-label"> <a data-id="{{mysort._id}}">{{mysort.name}}</a></span>
<span>{{mysort.data.draconic}} / {{mysort.data.difficulte}}</span>
<div class="item-controls">
<a class="item-control item-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ol>
</div>
</div>
{{!-- Equipment Tab --}}