fvtt-mournblade/templates/item-arme-sheet.html
2022-06-06 18:49:39 +02:00

77 lines
3.8 KiB
HTML

<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
<span class="flexrow">
<label class="generic-label">Type d'arme : </label>
<select class="status-small-label color-class-common" type="text" name="data.typearme" value="{{data.typearme}}" data-dtype="string" >
{{#select data.typearme}}
<option value="contact">Arme de contact</option>
<option value="contactjet">Arme de contact et de Jet</option>
<option value="jet">Arme de Jet</option>
<option value="tir">Arme de Tir</option>
{{/select}}
</select>
</span>
<span class="flexrow">
<label class="generic-label">Bonus de maniement (offensif) : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.bonusmaniementoff" value="{{data.bonusmaniementoff}}" data-dtype="Number" />
</span>
<span class="flexrow">
<label class="generic-label">Défensive ? </label>
<input class="" type="checkbox" name="data.isdefense" value="{{data.isdefense}}" {{checked data.isdefense}}/>
</span>
{{#if data.isdefense}}
<span class="flexrow">
<label class="generic-label">Bonus de maniement (défensif) : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.bonusmaniementdef" value="{{data.bonusmaniementdef}}" data-dtype="Number" />
</span>
{{/if}}
<span class="flexrow">
<label class="generic-label">Dégâts : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.degats" value="{{data.degats}}" data-dtype="String" />
</span>
<span class="flexrow">
<label class="generic-label">A deux mains ? </label>
<input class="" type="checkbox" name="data.deuxmains" value="{{data.deuxmains}}" {{checked data.deuxmains}}/>
</span>
<span class="flexrow">
<label class="generic-label">Portée courte </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.courte" value="{{data.courte}}" data-dtype="Number" />
</span>
<span class="flexrow">
<label class="generic-label">Portée moyenne </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.moyenne" value="{{data.moyenne}}" data-dtype="Number" />
</span>
<span class="flexrow">
<label class="generic-label">Portée longue </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.longue" value="{{data.longue}}" data-dtype="Number" />
</span>
<span class="flexrow">
<label class="generic-label">Temps de rechargement </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.tr" value="{{data.tr}}" data-dtype="Number" />
</span>
<span class="flexrow">
<label class="generic-label">Rareté </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.rarete" value="{{data.rarete}}" data-dtype="Number" />
</span>
<span class="flexrow">
<label class="generic-label">Prix </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.prix" value="{{data.prix}}" data-dtype="Number" />
</span>
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
</div>
</section>
</form>