2023-01-01 22:21:30 +01:00
|
|
|
<form class="{{cssClass}}" autocomplete="off">
|
|
|
|
|
|
|
|
{{!-- Sheet Header --}}
|
|
|
|
<header class="sheet-header">
|
|
|
|
<div class="header-fields">
|
|
|
|
<div class="flexrow">
|
2023-01-15 21:32:32 +01:00
|
|
|
{{#if token}}
|
|
|
|
{{#if options.isOwner}}
|
2023-12-04 01:21:05 +01:00
|
|
|
<img class="profile-img dimmed" src="{{img}}" data-edit="img"/>
|
2023-01-15 21:32:32 +01:00
|
|
|
{{/if}}
|
2023-12-04 01:21:05 +01:00
|
|
|
<img class="profile-img-token" src="{{token.img}}"/>
|
2023-01-15 21:32:32 +01:00
|
|
|
{{else}}
|
2023-12-04 01:21:05 +01:00
|
|
|
<img class="profile-img" src="{{img}}" data-edit="img"/>
|
2023-01-15 21:32:32 +01:00
|
|
|
{{/if}}
|
2023-01-01 22:21:30 +01:00
|
|
|
<div class="flexcol">
|
|
|
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
|
|
|
|
{{#if @root.options.isObserver}}
|
|
|
|
<div class="form-group">
|
|
|
|
<input {{@root.disabled}} class="attribute-value" type="checkbox" name="system.illimite" {{#if system.illimite}}checked{{/if}}/>
|
2023-01-03 01:37:50 +01:00
|
|
|
<label for="system.illimite">Quantité illimitée en vente</label>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<span>
|
|
|
|
<label for="system.pourcentage">Appliquer un pourcentage sur les prix</label>
|
|
|
|
<input {{@root.disabled}} class="attribute-value" type="number" data-dtype="Number"
|
|
|
|
name="system.pourcentage" value="{{system.pourcentage}}"
|
|
|
|
min="20" max="500" step="5"/>
|
|
|
|
</span>
|
2023-01-01 22:21:30 +01:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
{{!-- Sheet Body --}}
|
|
|
|
<section class="sheet-body">
|
|
|
|
<div class="flexcol form-group medium-editor">
|
2023-01-28 16:34:09 +01:00
|
|
|
{{editor description target="system.description" button=true owner=options.isOwner editable=options.isOwner engine="prosemirror"}}
|
2023-01-01 22:21:30 +01:00
|
|
|
</div>
|
|
|
|
<hr>
|
2025-01-15 19:13:32 +01:00
|
|
|
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/commerce-inventaire.hbs"}}
|
2023-01-01 22:21:30 +01:00
|
|
|
{{#unless system.illimite}}
|
|
|
|
{{#if @root.options.isObserver}}
|
|
|
|
<hr>
|
2025-01-15 19:13:32 +01:00
|
|
|
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire-monnaie.hbs"}}
|
2023-01-01 22:21:30 +01:00
|
|
|
{{/if}}
|
|
|
|
{{/unless}}
|
|
|
|
<br>
|
|
|
|
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.html"}}
|
|
|
|
<br>
|
|
|
|
</section>
|
|
|
|
</form>
|