Migration vers datamodels
This commit is contained in:
19
templates/items/item-equipment-details.hbs
Normal file
19
templates/items/item-equipment-details.hbs
Normal file
@@ -0,0 +1,19 @@
|
||||
<section class="tab sheet-body {{tab.cssClass}}" data-tab="details" data-group="primary">
|
||||
<ul>
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">{{localize "ECRY.ui.quantity"}}</label>
|
||||
<input type="number" class="item-field-label-short" name="system.quantity" value="{{system.quantity}}" />
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">{{localize "ECRY.ui.weight"}}</label>
|
||||
<input type="number" class="item-field-label-short" name="system.weight" value="{{system.weight}}" />
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">{{localize "ECRY.ui.cost"}}</label>
|
||||
<input type="number" class="item-field-label-short" name="system.cost" value="{{system.cost}}" />
|
||||
<select name="system.costunit">
|
||||
{{selectOptions config.costUnits selected=system.costunit localize=true labelAttr="name"}}
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
5
templates/items/item-maneuver-details.hbs
Normal file
5
templates/items/item-maneuver-details.hbs
Normal file
@@ -0,0 +1,5 @@
|
||||
<section class="tab sheet-body {{tab.cssClass}}" data-tab="details" data-group="primary">
|
||||
<ul>
|
||||
{{!-- Maneuver has no additional details --}}
|
||||
</ul>
|
||||
</section>
|
||||
14
templates/items/item-specialization-details.hbs
Normal file
14
templates/items/item-specialization-details.hbs
Normal file
@@ -0,0 +1,14 @@
|
||||
<section class="tab sheet-body {{tab.cssClass}}" data-tab="details" data-group="primary">
|
||||
<ul>
|
||||
<li class="flexrow">
|
||||
<label class="item-name-label-long">{{localize "ECRY.ui.skill"}}</label>
|
||||
<select name="system.skillkey">
|
||||
{{selectOptions config.skills selected=system.skillkey localize=true valueAttr="key" labelAttr="name"}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="item-name-label-long">{{localize "ECRY.ui.bonus"}}</label>
|
||||
<input type="number" class="item-field-label-short" name="system.bonus" value="{{system.bonus}}" />
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
16
templates/items/item-trait-details.hbs
Normal file
16
templates/items/item-trait-details.hbs
Normal file
@@ -0,0 +1,16 @@
|
||||
<section class="tab sheet-body {{tab.cssClass}}" data-tab="details" data-group="primary">
|
||||
<ul>
|
||||
<li class="flexrow">
|
||||
<label class="item-name-label-long">{{localize "ECRY.ui.traitType"}}</label>
|
||||
<select name="system.traitype">
|
||||
{{selectOptions config.traitTypes selected=system.traitype}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="item-name-label-long">{{localize "ECRY.ui.niveauTrait"}}</label>
|
||||
<select name="system.level">
|
||||
{{selectOptions config.traitLevel selected=system.level labelAttr="text"}}
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
25
templates/items/item-weapon-details.hbs
Normal file
25
templates/items/item-weapon-details.hbs
Normal file
@@ -0,0 +1,25 @@
|
||||
<section class="tab sheet-body {{tab.cssClass}}" data-tab="details" data-group="primary">
|
||||
<ul>
|
||||
<li class="flexrow">
|
||||
<label class="item-name-label-long">{{localize "ECRY.ui.weapontype"}}</label>
|
||||
<select name="system.weapontype">
|
||||
{{selectOptions config.weaponTypes selected=system.weapontype localize=true}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="item-name-label-long">{{localize "ECRY.ui.effect"}}</label>
|
||||
<input type="number" class="item-field-label-short" name="system.effect" value="{{system.effect}}" />
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">{{localize "ECRY.ui.weight"}}</label>
|
||||
<input type="number" class="item-field-label-short" name="system.weight" value="{{system.weight}}" />
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">{{localize "ECRY.ui.cost"}}</label>
|
||||
<input type="number" class="item-field-label-short" name="system.cost" value="{{system.cost}}" />
|
||||
<select name="system.costunit">
|
||||
{{selectOptions config.costUnits selected=system.costunit localize=true labelAttr="name"}}
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
5
templates/items/partials/item-description.hbs
Normal file
5
templates/items/partials/item-description.hbs
Normal file
@@ -0,0 +1,5 @@
|
||||
<section class="tab sheet-body {{tab.cssClass}}" data-tab="description" data-group="primary">
|
||||
<div class="editor">
|
||||
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
|
||||
</div>
|
||||
</section>
|
||||
6
templates/items/partials/item-header.hbs
Normal file
6
templates/items/partials/item-header.hbs
Normal file
@@ -0,0 +1,6 @@
|
||||
<header class="sheet-header flexrow">
|
||||
<img class="item-sheet-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
|
||||
<div class="header-fields">
|
||||
<h1 class="charname">{{formInput fields.name value=source.name}}</h1>
|
||||
</div>
|
||||
</header>
|
||||
Reference in New Issue
Block a user