foundryvtt-reve-de-dragon/templates/dialog-chronologie.html
Vincent Vandemeulebrouck 1208eb8ae1 Amélioration des tooltips
- title/alt remplacés par des data-tooltip
- description de ce que font les boutons
- description des items survolés
2023-12-04 02:32:26 +01:00

52 lines
2.0 KiB
HTML

<form class="rdddialogchrono">
<div class="flexcol">
<div class="form-group">
<label class="flex-shrink" for="auteur">Auteur</label>
<input type="text" name="auteur" value="{{auteur}}" data-dtype="String" {{#unless isGM}}disabled{{/unless}}/>
</div>
<div class="form-group chronologie-preset">
{{>"systems/foundryvtt-reve-de-dragon/templates/common/timestamp.hbs"
(timestamp-extract timestamp)
path='chronologie'
label='Date en jeu'
disabled=''
}}
</div>
<div class="form-group chronologie-preset">
<label class="flex-shrink" for="dateReel">Date réelle</label>
<input type="datetime-local" name="dateReel" value="{{dateReel}}" data-dtype="String" />
</div>
<div class="form-group chronologie-preset">
<label class="flex-shrink" for="journalId">Journal</label>
<select type="text" name="journalId" value="{{journalId}}" data-dtype="String">
{{#select journalId}}
<option value=""></option>
{{#each (trier journaux) as |journal key|}}
<option value="{{journal.id}}">
{{#if journal.folder}}
{{#if journal.folder.ancestors}}
{{#each journal.folder.ancestors as |parent key|}}{{parent.name}} / {{/each}}
{{/if}}
{{journal.folder.name}} /
{{/if}}
{{journal.name}}
</option>
{{/each}}
{{/select}}
</select>
</div>
<div class="form-group chronologie-preset">
<hr>
</div>
<div class="form-group">
<label class="flex-shrink" for="information">Information
<a class="chronologie-preset-show"><i class="fas fa-plus-square"></i></a>
<a class="chronologie-preset-hide"><i class="fas fa-minus-square"></i></a>
</label>
<textarea autocomplete="off" data-tooltip="Information" name="information" autofocus>{{information}}</textarea>
</div>
<div class="form-group">
<button class="chronologie-ajouter">Ajouter au journal</button>
</div>
</div>
</form>