Amelioration fiche items

This commit is contained in:
LeRatierBretonnien 2024-02-29 22:35:23 +01:00
parent 6b1ecb6353
commit 939923e5ed
16 changed files with 301 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 482 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 KiB

Binary file not shown.

View File

View File

@ -0,0 +1 @@
MANIFEST-000014

0
packs/competences/LOCK Normal file
View File

8
packs/competences/LOG Normal file
View File

@ -0,0 +1,8 @@
2024/02/29-22:27:55.155956 7fd55ce006c0 Recovering log #12
2024/02/29-22:27:55.166972 7fd55ce006c0 Delete type=3 #10
2024/02/29-22:27:55.167027 7fd55ce006c0 Delete type=0 #12
2024/02/29-22:28:38.447774 7fd555a006c0 Level-0 table #17: started
2024/02/29-22:28:38.447798 7fd555a006c0 Level-0 table #17: 0 bytes OK
2024/02/29-22:28:38.454343 7fd555a006c0 Delete type=0 #15
2024/02/29-22:28:38.463769 7fd555a006c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!zwC0H39ar5Pl1l92' @ 0 : 0; will stop at (end)
2024/02/29-22:28:38.463797 7fd555a006c0 Manual compaction at level-1 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!zwC0H39ar5Pl1l92' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,8 @@
2024/02/29-22:04:33.948367 7fd557e006c0 Recovering log #8
2024/02/29-22:04:33.960203 7fd557e006c0 Delete type=3 #6
2024/02/29-22:04:33.960295 7fd557e006c0 Delete type=0 #8
2024/02/29-22:27:52.990776 7fd555a006c0 Level-0 table #13: started
2024/02/29-22:27:52.990820 7fd555a006c0 Level-0 table #13: 0 bytes OK
2024/02/29-22:27:53.023567 7fd555a006c0 Delete type=0 #11
2024/02/29-22:27:53.023779 7fd555a006c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!zwC0H39ar5Pl1l92' @ 0 : 0; will stop at (end)
2024/02/29-22:27:53.023803 7fd555a006c0 Manual compaction at level-1 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!zwC0H39ar5Pl1l92' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

Binary file not shown.

View File

@ -0,0 +1,49 @@
<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>
{{> systems/fvtt-te-deum/templates/items/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-te-deum/templates/items/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<div class="tab" data-group="primary">
<ul>
{{#each system.localisation as |armure armId|}}
<li class="flexrow">
<label class="item-name-label-long">{{getConfigLabel "LOCALISATION" armId}}</label>
<input type="checkbox" name="system.localisation.{{armId}}.protege" {{checked armure.protege}} />
</li>
{{/each}}
<li class="flexrow">
<label class="item-name-label-long">Protection</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.protection" value="{{system.protection}}" data-dtype="Number" />
</li>
<li class="flexrow">
<label class="item-name-label-long">Prix</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.prix" value="{{system.prix}}" data-dtype="Number" />
<select name="system.monnaie">
{{selectOptions config.monnaie selected=system.monnaie labelAttr="label" blank="denier"}}
</select>
</li>
</ul>
</div>
</div>
</section>
</form>

View File

@ -0,0 +1,55 @@
<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>
{{> systems/fvtt-te-deum/templates/items/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-te-deum/templates/items/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<div class="tab" data-group="primary">
<ul>
<li class="flexrow">
<label class="item-name-label-long">Caractéristique</label>
<select name="system.caracteristique">
{{selectOptions config.caracteristiques selected=system.caracteristique labelAttr="label" blank=""}}
</select>
</li>
<li class="flexrow">
<label class="item-name-label-long">Compétence de base</label>
<input type="checkbox" name="system.isBase" {{checked system.isBase}} />
</li>
<li class="flexrow">
<label class="item-name-label-long">Score</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.score" value="{{system.score}}" data-dtype="Number" />
</li>
<li class="flexrow">
<label class="item-name-label-long">Score de base</label>
{{#if isGM}}
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.scoreBase" value="{{system.scoreBase}}" data-dtype="Number" />
{{else}}
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.scoreBase" value="{{system.scoreBase}}" data-dtype="Number" disabled />
{{/if}}
</li>
</ul>
</div>
</div>
</section>
</form>

View File

@ -0,0 +1,94 @@
<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>
{{> systems/fvtt-te-deum/templates/items/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-te-deum/templates/items/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<div class="tab" data-group="primary">
<ul>
<li class="flexrow">
<label class="item-name-label-long">Etape</label>
<select name="system.etape">
{{selectOptions config.etapesEducation selected=system.etape labelAttr="label" blank=""}}
</select>
</li>
{{#each system.accessible as |access accId|}}
<li class="flexrow">
<label class="item-name-label-long">{{getConfigLabel "origineSociale" accId}}</label>
<input type="checkbox" name="system.accessible.{{accId}}.isaccessible" {{checked access.isaccessible}} />
</li>
{{/each}}
{{#each system.caracteristiques as |carac caracKey|}}
{{#if carac.valid}}
<li class="flexrow">
<label class="item-name-label-long">Caractéristique +1</label>
<select name="system.caracteristiques.{{caracKey}}.caracId">
{{selectOptions @root.config.caracteristiques selected=carac.caracId labelAttr="label" blank=""}}
</select>
</li>
{{/if}}
{{/each}}
{{#each system.competences as |comp compKey|}}
{{#if comp.valid}}
<li class="flexrow">
<label class="item-name-label-long">Compétence +1</label>
<select name="system.competences.{{compKey}}.compName">
{{selectOptions @root.competences selected=comp.compName labelAttr="name" blank=""}}
</select>
</li>
{{/if}}
{{/each}}
{{#if hasMultiplier}}
<li class="flexrow">
<label class="item-name-label-long">Multiplicateur de cagnotte</label>
<input type="text" class="item-field-label-short"
name="system.cagnotteMultiplier" value="{{system.cagnotteMultiplier}}"
data-dtype="Number" />
</li>
{{/if}}
{{#if hasQuestionnaire}}
{{#each system.questionnaire as |question quesKey|}}
<hr>
<input type="text" class="item-field-label-long2" name="system.questionnaire.{{quesKey}}.question"
value="{{question.question}}" data-dtype="String" />
{{#each question.reponses as |reponse repKey|}}
<li class="flexrow">
<label class="item-name-label-short item-name-label-text-margin">{{reponse.num}}</label>
<input type="text" class="item-field-label-long2"
name="system.questionnaire.{{quesKey}}.reponses.{{repKey}}.reponse" value="{{reponse.reponse}}"
data-dtype="String" />
<select class="item-name-label-medium" name="system.questionnaire.{{quesKey}}.reponses.{{repKey}}.compName">
{{selectOptions @root.competences selected=reponse.compName labelAttr="name" blank=""}}
</select>
<label class="item-name-label-short item-name-label-text-margin">+1</label>
</li>
{{/each}}
{{/each}}
{{/if}}
</ul>
</div>
</div>
</section>
</form>

View File

@ -0,0 +1,37 @@
<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>
{{> systems/fvtt-te-deum/templates/items/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-te-deum/templates/items/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<div class="tab" data-group="primary">
<ul>
<li class="flexrow">
<label class="item-name-label-long">Prix</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.prix" value="{{system.prix}}" data-dtype="Number" />
<select name="system.monnaie">
{{selectOptions config.monnaie selected=system.monnaie labelAttr="label" blank="denier"}}
</select>
</li>
</ul>
</div>
</div>
</section>
</form>

View File

@ -0,0 +1,49 @@
<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>
{{> systems/fvtt-te-deum/templates/items/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-te-deum/templates/items/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<div class="tab" data-group="primary">
<ul>
<li class="flexrow">
<label class="item-name-label-long">Bonus 1</label>
<select name="system.bonus1">
{{selectOptions config.caracteristiques selected=system.bonus1 labelAttr="label" blank=""}}
</select>
</li>
<li class="flexrow">
<label class="item-name-label-long">Bonus 2</label>
<select name="system.bonus2">
{{selectOptions config.caracteristiques selected=system.bonus2 labelAttr="label" blank=""}}
</select>
</li>
<li class="flexrow">
<label class="item-name-label-long">Cagnotte</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.cagnotte" value="{{system.cagnotte}}" data-dtype="Number" />
<select name="system.monnaie">
{{selectOptions config.monnaie selected=system.monnaie labelAttr="label" blank="denier"}}
</select>
</li>
</ul>
</div>
</div>
</section>
</form>