53 lines
2.1 KiB
HTML
53 lines
2.1 KiB
HTML
<form class="{{cssClass}}" autocomplete="off">
|
|
<header class="sheet-header">
|
|
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
|
<div class="header-fields">
|
|
{{#if (or isGM data.identifie)}}
|
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
|
{{else}}
|
|
<h1 class="charname">Inconnue</h1>
|
|
{{/if}}
|
|
</div>
|
|
</header>
|
|
|
|
{{!-- Sheet Body --}}
|
|
<section class="sheet-body">
|
|
<div class="form-group">
|
|
<label for="xp">Actif ? </label>
|
|
<input class="attribute-value" type="checkbox" name="data.active" {{#if data.active}}checked{{/if}}/>
|
|
</div>
|
|
{{#if (or isGM data.identifie)}}
|
|
<div class="form-group">
|
|
<label for="xp">Identifiée ? </label>
|
|
<input class="attribute-value" type="checkbox" name="data.identifie" {{#if data.identifie}}checked{{/if}}/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="xp">Malignité </label>
|
|
<input class="attribute-value" type="text" name="data.malignite" value="{{data.malignite}}" data-dtype="Number"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="xp">Périodicité</label>
|
|
<input class="attribute-value" type="text" name="data.periodicite" value="{{data.periodicite}}" data-dtype="String"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="xp">Dommages</label>
|
|
<input class="attribute-value" type="text" name="data.dommages" value="{{data.dommages}}" data-dtype="String"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="xp">Remedes Connus ? </label>
|
|
<input class="attribute-value" type="checkbox" name="data.remedesconnus" {{#if data.remedesconnus}}checked{{/if}}/>
|
|
</div>
|
|
{{#if (or isGM data.remedesconnus)}}
|
|
<div class="form-group">
|
|
<label for="xp">Remèdes </label>
|
|
<input class="attribute-value" type="text" name="data.remedes" value="{{data.remedes}}" data-dtype="String"/>
|
|
</div>
|
|
{{/if}}
|
|
{{/if}}
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
|
|
</section>
|
|
|
|
</form>
|