Initial release

This commit is contained in:
2023-02-01 21:30:35 +01:00
parent 04909ef841
commit 513e43f169
17 changed files with 91 additions and 69 deletions

View File

@ -15,6 +15,7 @@
</div>
</div>
</div>
</header>
{{!-- Sheet Tab Navigation --}}
@ -30,6 +31,7 @@
{{!-- Skills Tab --}}
<div class="tab main" data-group="primary" data-tab="main">
<div class="grid grid-2col">
<div>
@ -46,8 +48,19 @@
{{#if attr.hasmax}}
<input type="text" class="item-field-label-short" name="system.attributs.{{key}}.max" value="{{attr.max}}" data-dtype="Number"/>
{{/if}}
{{#if (eq key "physique")}}
{{#if @root.phyMalus}}
({{@root.phyMalus}})
{{/if}}
{{/if}}
</li>
{{/each}}
<li class="item flexrow list-item">
<span class="item-field-label-long">Points de Destin</span>
<input type="text" class="item-field-label-short" name="system.pointdestin" value="{{system.pointdestin}}" data-dtype="Number"/>
</li>
</ul>
</div>
@ -216,15 +229,19 @@
<div class="tab notes" data-group="primary" data-tab="notes">
<hr>
<h3>Background : </h3>
<span class="item-name-label-header items-title-bg">
<h3><label class="items-title-text">Background</label></h3>
</span>
<div class="form-group editor">
{{editor data.biodata.description target="system.biodata.description" button=true owner=owner
{{editor description target="system.biodata.description" button=true owner=owner
editable=editable}}
</div>
<hr>
<h3>Notes : </h3>
<span class="item-name-label-header items-title-bg">
<h3><label class="items-title-text">Notes</label></h3>
</span>
<div class="form-group editor">
{{editor data.biodata.notes target="system.biodata.notes" button=true owner=owner editable=editable}}
{{editor notes target="system.biodata.notes" button=true owner=owner editable=editable}}
</div>
<hr>
</article>

View File

@ -63,6 +63,13 @@
{{/if}}
{{/if}}
{{#if isReroll}}
{{else}}
{{#if destin}}
<button class="chat-card-button roll-destin">Relancer (1 Destin)</button>
{{/if}}
{{/if}}
</ul>
</div>

View File

@ -11,7 +11,14 @@
{{#if attr}}
<div class="flexrow">
<span class="roll-dialog-label">{{attr.label}} : </span>
<span class="roll-dialog-label">{{attr.value}}</span>
<span class="roll-dialog-label">
{{attr.value}}
{{#if (eq attr.abbrev "physique")}}
{{#if phyMalus}}
({{phyMalus}})
{{/if}}
{{/if}}
</span>
</div>
{{/if}}
@ -58,7 +65,7 @@
</select>
</div>
{{/if}}
</div>
</form>