2022-11-04 20:41:16 +01:00
|
|
|
<form class="rdddialogchrono">
|
|
|
|
<div class="flexcol">
|
|
|
|
<div class="form-group">
|
2023-01-10 22:17:20 +01:00
|
|
|
<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>
|
2023-01-10 22:17:20 +01:00
|
|
|
<div class="form-group chronologie-preset">
|
2023-01-07 20:06:04 +01:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/common/timestamp.hbs"
|
2023-01-10 22:17:20 +01:00
|
|
|
(timestamp-extract timestamp)
|
|
|
|
path='chronologie'
|
|
|
|
label='Date en jeu'
|
2023-01-07 20:06:04 +01:00
|
|
|
disabled=''
|
|
|
|
}}
|
2022-11-04 20:41:16 +01:00
|
|
|
</div>
|
2023-01-10 22:17:20 +01:00
|
|
|
<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>
|
2023-01-10 22:17:20 +01:00
|
|
|
<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>
|
2023-01-10 22:17:20 +01:00
|
|
|
<div class="form-group chronologie-preset">
|
|
|
|
<hr>
|
|
|
|
</div>
|
2023-01-08 20:42:23 +01:00
|
|
|
<div class="form-group">
|
2023-01-10 22:17:20 +01:00
|
|
|
<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>
|
2023-01-08 20:42:23 +01:00
|
|
|
<textarea autocomplete="off" title="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>
|