Envoi initial
This commit is contained in:
23
templates/items/parts/sheet-configuration.html
Normal file
23
templates/items/parts/sheet-configuration.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<div class="field-groups mt-1">
|
||||
<div class="field-group w3-10">
|
||||
<label>{{ localize 'MGT2.Items.Difficulty' }}</label>
|
||||
<select name="system.roll.difficulty">
|
||||
<option></option>
|
||||
{{selectOptions config.Difficulty selected = system.roll.difficulty localize = true}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="field-group w3-10">
|
||||
<label>{{ localize 'MGT2.Items.Skill' }}</label>
|
||||
<select name="system.roll.skill">
|
||||
<option></option>
|
||||
{{selectOptions skills selected=system.roll.skill nameAttr="_id" labelAttr="name"}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="field-group w3-10">
|
||||
<label>{{ localize 'MGT2.Items.Characteristic' }}</label>
|
||||
<select name="system.roll.characteristic">
|
||||
<option></option>
|
||||
{{selectOptions config.Characteristics selected=system.roll.characteristic localize = true}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
21
templates/items/parts/sheet-physical-item.html
Normal file
21
templates/items/parts/sheet-physical-item.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<div class="field-group mt-05">
|
||||
<label>{{ localize 'MGT2.Items.Quantity' }}</label>
|
||||
<input type="number" name="system.quantity" value="{{system.quantity}}" data-dtype="Number" integer="true" positive="true" />
|
||||
</div>
|
||||
<div class="field-group mt-05">
|
||||
<label>{{ localize 'MGT2.Items.Weight' }} ({{unitlabels.weight}})</label>
|
||||
<input type="number" name="weight" value="{{weight}}" data-dtype="Number" step="0.5" />
|
||||
</div>
|
||||
<div class="field-group mt-05">
|
||||
<label class="mgt2-checkbox"><input type="checkbox" name="system.weightless" data-dtype="Boolean" {{checked system.weightless}} />{{ localize 'MGT2.Items.Weightless' }}</label>
|
||||
</div>
|
||||
<div class="field-group mt-05">
|
||||
<label>{{ localize 'MGT2.Items.Cost' }}</label>
|
||||
<input type="number" name="system.cost" value="{{system.cost}}" data-dtype="Number" step="1" />
|
||||
</div>
|
||||
<div class="field-group mt-05">
|
||||
<label>{{ localize 'MGT2.Items.TL' }}</label>
|
||||
<select name="system.tl">
|
||||
{{selectOptions config.TL selected = system.tl localize = true}}
|
||||
</select>
|
||||
</div>
|
||||
Reference in New Issue
Block a user