design item sheet
This commit is contained in:
@@ -21,88 +21,81 @@
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div class="flexrow">
|
<h4 class="resource flexrow">
|
||||||
<aside style="flex:1">
|
<label class="resource-label">{{ localize "VERMINE.level"}}</label>
|
||||||
<div class="resource">
|
<span class="hexa"><input
|
||||||
<label class="resource-label">{{ localize "VERMINE.level"}}</label>
|
type="number"
|
||||||
|
name="system.level.value"
|
||||||
|
value="{{system.level.value }}"
|
||||||
|
data-dtype="Number"
|
||||||
|
min="{{system.level.min }}"
|
||||||
|
max="{{system.level.max }}"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
<label class="resource-label">{{ localize "VERMINE.type"}}</label>
|
||||||
|
<select
|
||||||
|
name="system.type"
|
||||||
|
data-dtype="String"
|
||||||
|
>
|
||||||
|
<option
|
||||||
|
value="character"
|
||||||
|
{{#if (eq system.type "character")}}selected{{/if}}
|
||||||
|
>Personnage</option>
|
||||||
|
<option
|
||||||
|
value="group"
|
||||||
|
{{#if (eq system.type "group")}}selected{{/if}}
|
||||||
|
>Groupe</option>
|
||||||
|
<option
|
||||||
|
value="creature"
|
||||||
|
{{#if (eq system.type "creature")}}selected{{/if}}
|
||||||
|
>Créature</option>
|
||||||
|
<option
|
||||||
|
value="totem"
|
||||||
|
{{#if (eq system.type "totem")}}selected{{/if}}
|
||||||
|
>Totem</option>
|
||||||
|
</select>
|
||||||
|
<label class="resource-label">{{ localize "IDENTITY.totem"}}</label>
|
||||||
|
<select
|
||||||
|
name="system.totem"
|
||||||
|
data-dtype="String"
|
||||||
|
>
|
||||||
|
{{#each config.totems as | totem tk|}}
|
||||||
|
<option
|
||||||
|
value="{{tk}}"
|
||||||
|
{{#if (eq tk @root.system.totem)}}selected="selected"
|
||||||
|
{{/if}}
|
||||||
|
>{{ localize totem }}</option>
|
||||||
|
{{/each}}
|
||||||
|
</select>
|
||||||
|
</h4>
|
||||||
|
{{#if (eq system.type "group")}}
|
||||||
|
<h4 class="resource flexrow">
|
||||||
|
<label class="resource-label">{{ localize "ITEMS.learning"}}</label>
|
||||||
|
<span class=" hexa">
|
||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
name="system.level.value"
|
name="system.learning.threshold"
|
||||||
value="{{system.level.value }}"
|
value="{{system.learning.threshold }}"
|
||||||
data-dtype="Number"
|
data-dtype="Number"
|
||||||
min="{{system.level.min }}"
|
min="3"
|
||||||
max="{{system.level.max }}"
|
max="10"
|
||||||
/>
|
/>
|
||||||
</div>
|
</span>/
|
||||||
{{#if (eq system.type "group")}}
|
<span class="hexa">
|
||||||
<div class="resource row mdb">
|
<input
|
||||||
<label class="resource-label">{{ localize "ITEMS.learning"}}</label>
|
type="number"
|
||||||
<div class=" flexrow row">
|
name="system.learning.hindrance"
|
||||||
<input
|
value="{{system.learning.hindrance }}"
|
||||||
type="number"
|
data-dtype="Number"
|
||||||
name="system.learning.threshold"
|
min="0"
|
||||||
value="{{system.learning.threshold }}"
|
max="3"
|
||||||
data-dtype="Number"
|
/>
|
||||||
min="3"
|
</span>
|
||||||
max="10"
|
</h4>
|
||||||
/> /
|
{{/if}}
|
||||||
<input
|
<h4>description</h4>
|
||||||
type="number"
|
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
|
||||||
name="system.learning.hindrance"
|
|
||||||
value="{{system.learning.hindrance }}"
|
|
||||||
data-dtype="Number"
|
|
||||||
min="0"
|
|
||||||
max="3"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{{/if}}
|
|
||||||
<div class="resource">
|
|
||||||
<label class="resource-label">{{ localize "VERMINE.type"}}</label>
|
|
||||||
<select
|
|
||||||
name="system.type"
|
|
||||||
data-dtype="String"
|
|
||||||
>
|
|
||||||
<option
|
|
||||||
value="character"
|
|
||||||
{{#if (eq system.type "character")}}selected{{/if}}
|
|
||||||
>Personnage</option>
|
|
||||||
<option
|
|
||||||
value="group"
|
|
||||||
{{#if (eq system.type "group")}}selected{{/if}}
|
|
||||||
>Groupe</option>
|
|
||||||
<option
|
|
||||||
value="group"
|
|
||||||
{{#if (eq system.type "creature")}}selected{{/if}}
|
|
||||||
>Créature</option>
|
|
||||||
<option
|
|
||||||
value="totem"
|
|
||||||
{{#if (eq system.type "totem")}}selected{{/if}}
|
|
||||||
>Totem</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<div class="resource">
|
|
||||||
<label class="resource-label">{{ localize "VERMINE.totem"}}</label>
|
|
||||||
<select
|
|
||||||
name="system.totem"
|
|
||||||
data-dtype="String"
|
|
||||||
>
|
|
||||||
{{#each config.totems as | totem tk|}}
|
|
||||||
<option
|
|
||||||
value="{{tk}}"
|
|
||||||
{{#if (eq tk @root.system.totem)}}selected="selected"
|
|
||||||
{{/if}}
|
|
||||||
>{{ localize totem }}</option>
|
|
||||||
{{/each}}
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</aside>
|
|
||||||
<main
|
|
||||||
class="editor-wrapper"
|
|
||||||
style="flex:10"
|
|
||||||
>
|
|
||||||
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
|
|
||||||
</main>
|
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
@@ -20,7 +20,8 @@
|
|||||||
</header>
|
</header>
|
||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body ">
|
<section class="sheet-body ">
|
||||||
<h4 class="resource-label flexrow">{{ localize "ITEMS.cost"}}
|
<h4 class="resource-label flexrow">
|
||||||
|
<label class="resource-label">{{ localize "ITEMS.cost"}}</label>
|
||||||
<span class="hexa">
|
<span class="hexa">
|
||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
|
|||||||
@@ -22,31 +22,21 @@
|
|||||||
|
|
||||||
|
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
<div
|
|
||||||
class=" flexrow "
|
<h4 class="resource flexrow">
|
||||||
data-group="primary"
|
<label class="resource-label ">{{ localize "VERMINE.level"}}</label>
|
||||||
data-tab="description"
|
<span class="hexa"><input
|
||||||
>
|
type="number"
|
||||||
<aside style="flex:20%;">
|
name="system.level.value"
|
||||||
<div class="resource">
|
value="{{system.level.value }}"
|
||||||
<label class="resource-label">{{ localize "VERMINE.level"}}</label>
|
data-dtype="Number"
|
||||||
<input
|
min="{{system.level.min }}"
|
||||||
type="number"
|
max="{{system.level.max }}"
|
||||||
name="system.level.value"
|
/></span>
|
||||||
value="{{system.level.value }}"
|
</h4>
|
||||||
data-dtype="Number"
|
<h4>description</h4>
|
||||||
min="{{system.level.min }}"
|
|
||||||
max="{{system.level.max }}"
|
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</aside>
|
|
||||||
<main
|
|
||||||
class="editor-wrapper"
|
|
||||||
style="flex:10"
|
|
||||||
>
|
|
||||||
{{editor system.description target="system.description" rollData=rollData button=true owner=owner editable=editable}}
|
|
||||||
</main>
|
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
Reference in New Issue
Block a user