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 --}} {{!-- Compteurs/Blessures Tab --}}
<div class="tab blessurescompteurs" data-group="primary" data-tab="blessurescompteurs"> <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"> <ol class="item-list">
{{#each data.compteurs as |compteur key|}} {{#each data.compteurs as |compteur key|}}
<li class="item flexrow""> <li class="item flexrow">
<span class="arme-label">{{compteur.label}}</span> <span class="arme-label">{{compteur.label}}</span>
{{#if compteur.isInput}} {{#if compteur.isInput}}
<input class="stress-value stress-style compteur-edit" id="{{key}}-edit" type="text" name="{{key}}" value="{{compteur.value}}" data-dtype="number"/> <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 --}} {{!-- hautreve Tab --}}
<div class="tab hautreve" data-group="primary" data-tab="hautreve" style="height:200px"> <div class="tab hautreve" data-group="primary" data-tab="hautreve" style="height:200px">
<div> <div>
<span class="visu-tmr"><strong><a>Regarder les Terres Medianes</a></strong></span> <ol class="item-list">
</div> <li class="item flexrow">
<div> <span class="competence-label">Position en TMR :</span>
<span class="monte-tmr"><strong><a>Monter Normale dans les Terres Medianes !</a></strong></span> <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>
{{#if data.isGM}} {{#if data.isGM}}
<li class="item flexrow"> <input class="competence-value" type="text" name="data.reve.tmrpos.coord" value="{{data.reve.tmrpos.coord}}" data-dtype="String"/>
<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>
{{else}} {{else}}
<li class="item flexrow" >Position en TMR : {{data.reve.tmrpos.coord}} </li> {{data.reve.tmrpos.coord}}
<li class="item flexrow" >Refoulement : {{data.reve.refoulement.value}} </li>
{{/if}} {{/if}}
</ol> </span>
</div> </li>
<div> <li class="item flexrow" >
<span><strong>Sorts:</strong></span> <span class="competence-label"></span>
<ol class="item-list"> <div>
{{#each data.sorts as |mysort key|}} <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>
<li class="item flexrow" data-item-id="{{mysort._id}}" data-attribute="{{key}}"> <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="sort-label"> <a data-id="{{mysort._id}}">{{mysort.name}}</a></span> <span class="visu-tmr"><a><img src="icons/svg/eye.svg" alt="Regarder les Terres Medianes" width="50" height="50"/></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> </div>
</li> </li>
{{/each}} <li class="item flexrow">
</ol> <span class="ptreve-actuel competence-label"><a>Points de Rêve actuels</a> :</span>
</div> <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> </div>
{{!-- Equipment Tab --}} {{!-- Equipment Tab --}}