fvtt-malefices/templates/items/item-tarot-sheet.hbs

69 lines
2.7 KiB
Handlebars
Raw Normal View History

2023-02-01 21:30:43 +01:00
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
2023-02-02 22:20:35 +01:00
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
2023-02-01 21:30:43 +01:00
</header>
{{> systems/fvtt-malefices/templates/items/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
2023-02-02 22:20:35 +01:00
<div class="flexrow">
<div>
<img class="item-tarot-img" src="{{img}}" data-edit="img" title="{{name}}"/>
</div>
2023-02-01 21:30:43 +01:00
2023-02-02 22:20:35 +01:00
<div>
{{> systems/fvtt-malefices/templates/items/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
2023-02-01 21:30:43 +01:00
2023-02-02 22:20:35 +01:00
<div class="tab" data-group="primary">
<ul>
2023-02-01 21:30:43 +01:00
2023-02-07 15:36:06 +01:00
<li class="flexrow">
<label class="item-field-label-long">Type </label>
<select class="item-field-label-long" type="text" name="system.tarottype" value="{{system.tarottype}}" data-dtype="String">
{{#select system.tarottype}}
{{#each config.tarotType as |type key| }}
<option value="{{key}}">{{type}}</option>
{{/each}}
{{/select}}
</select>
</li>
{{#if isGM}}
<li class="flexrow">
<label class="item-field-label-long">Valeur endroit (ie positif) ?</label>
<input type="input" class="item-field-label-short" name="system.numericvalueup" value="{{system.numericvalueup}}" data-dtype="Number" />
</li>
<li class="flexrow">
<label class="item-field-label-long">Valeur envers (ie négatif) ?</label>
<input type="input" class="item-field-label-short" name="system.numericvaluedown" value="{{system.numericvaluedown}}" data-dtype="Number" />
</li>
2023-02-07 15:36:06 +01:00
<li class="flexrow">
2023-02-07 19:55:33 +01:00
<label class="item-field-label-long">A un sens (ie positif/négatif)?</label>
<input type="checkbox" class="item-field-label-short" name="system.isdualside" {{checked system.isdualside}} />
2023-02-07 15:36:06 +01:00
</li>
2023-02-07 19:55:33 +01:00
{{#if system.isdualside}}
<li class="flexrow">
<label class="item-field-label-long">En positif ?</label>
<input type="checkbox" class="item-field-label-short" name="system.ispositif" {{checked system.ispositif}} />
</li>
{{/if}}
2023-02-02 22:20:35 +01:00
<li class="flexrow">
2023-02-07 15:36:06 +01:00
<label class="item-field-label-long">Carte cachée (ie MJ seulement) ?</label>
<input type="checkbox" class="item-field-label-short" name="system.isgm" {{checked system.isgm}} />
2023-02-02 22:20:35 +01:00
</li>
2023-02-07 15:36:06 +01:00
{{/if}}
2023-02-02 22:20:35 +01:00
</ul>
</div>
</div>
2023-02-01 21:30:43 +01:00
</div>
2023-02-02 22:20:35 +01:00
</section>
2023-02-01 21:30:43 +01:00
</form>