foundryvtt-reve-de-dragon/templates/dialog-chronologie.html

52 lines
2.0 KiB
HTML
Raw Normal View History

2022-11-04 20:41:16 +01:00
<form class="rdddialogchrono">
<div class="flexcol">
<div class="form-group">
<label class="flex-shrink" for="auteur">Auteur</label>
2022-11-04 20:41:16 +01:00
<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=''
}}
2022-11-04 20:41:16 +01:00
</div>
<div class="form-group chronologie-preset">
<label class="flex-shrink" for="dateReel">Date réelle</label>
2022-11-04 20:41:16 +01:00
<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>
2022-11-04 20:41:16 +01:00
<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="fa-solid fa-square-plus"></i></a>
<a class="chronologie-preset-hide"><i class="fa-solid fa-square-minus"></i></a>
</label>
<textarea autocomplete="off" data-tooltip="Information" name="information" autofocus>{{information}}</textarea>
</div>
2023-01-10 22:45:23 +01:00
<div class="form-group">
<button class="chronologie-ajouter">Ajouter au journal</button>
</div>
2022-11-04 20:41:16 +01:00
</div>
</form>