fvtt-pegasus-rpg/templates/item-race-sheet.html

134 lines
5.8 KiB
HTML
Raw Permalink Normal View History

2021-12-02 07:38:59 +01:00
<form class="{{cssClass}}" autocomplete="off">
2022-03-06 22:18:08 +01:00
<header class="sheet-header">
2022-03-07 16:00:53 +01:00
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}" />
2022-03-06 22:18:08 +01:00
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
</div>
</header>
{{> systems/fvtt-pegasus-rpg/templates/partial-item-nav.html}}
2021-12-02 07:38:59 +01:00
2022-03-06 22:18:08 +01:00
{{!-- Sheet Body --}}
<section class="sheet-body">
2021-12-02 07:38:59 +01:00
2022-03-06 22:18:08 +01:00
<div class="tab details" data-group="primary" data-tab="description">
2022-01-07 20:40:40 +01:00
2022-03-06 22:18:08 +01:00
<label class="generic-label">Description</label>
2022-03-07 16:00:53 +01:00
<div class="medium-editor item-text-long-line">
2022-09-04 09:58:51 +02:00
{{editor data.description target="data.description" button=true owner=owner editable=editable}}
2022-03-06 22:18:08 +01:00
</div>
<label class="generic-label">Environment</label>
2022-03-07 16:00:53 +01:00
<div class="medium-editor item-text-long-line">
2022-09-04 09:58:51 +02:00
{{editor data.environment target="data.environment" button=true owner=owner editable=editable}}
2022-03-06 22:18:08 +01:00
</div>
<label class="generic-label">Society/Culture</label>
2022-03-07 16:00:53 +01:00
<div class="medium-editor item-text-long-line">
2022-09-04 09:58:51 +02:00
{{editor data.society_culture target="data.society_culture" button=true owner=owner editable=editable}}
2022-03-06 22:18:08 +01:00
</div>
<label class="generic-label">Outlook</label>
2022-03-07 16:00:53 +01:00
<div class="medium-editor item-text-long-line">
2022-09-04 09:58:51 +02:00
{{editor data.outlook target="data.outlook" button=true owner=owner editable=editable}}
2022-03-06 22:18:08 +01:00
</div>
</div>
2022-01-07 20:40:40 +01:00
2022-03-06 22:18:08 +01:00
<div class="tab details" data-group="primary" data-tab="details">
<ul>
<li class="flexrow"><label class="generic-label">Abilities</label>
</li>
<ul class="ul-level1">
<li class="flexrow">
<div class="drop-abilities"><label>Drop Abilities here !</label></div>
</li>
{{#each data.abilities as |ability idx|}}
<li class="flexrow">
2022-09-04 09:58:51 +02:00
<label name="system.abilities[{{idx}}].name"><a class="view-subitem" data-type="abilities"
2022-03-06 22:18:08 +01:00
data-index="{{idx}}">{{ability.name}}</a></label>
<div class="item-controls padd-left">
<a class="item-control delete-subitem padd-left" data-type="abilities" data-index="{{idx}}"
title="Delete Ability"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</ul>
2022-01-07 20:40:40 +01:00
2022-03-06 22:18:08 +01:00
<ul>
<li class="flexrow"><label class="generic-label">Selectable Stats ?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.selectablestats" {{checked
2022-09-05 08:57:02 +02:00
system.selectablestats}} /></label>
2022-03-06 22:18:08 +01:00
</li>
{{#if data.selectablestats}}
<li class="flexrow"><label class="generic-label">Select 1 stat only once?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.statsonlyonce" {{checked
2022-09-05 08:57:02 +02:00
system.statsonlyonce}} /></label>
2022-03-06 22:18:08 +01:00
</li>
<li class="flexrow"><label class="generic-label">Number of selectable stats</label>
2022-09-04 09:58:51 +02:00
<input type="text" class="input-numeric-short padd-right" name="system.numberstats" value="{{data.numberstats}}"
2022-03-06 22:18:08 +01:00
data-dtype="Number" />
</li>
{{/if}}
</ul>
2022-01-08 18:28:01 +01:00
2022-03-06 22:18:08 +01:00
<ul>
<li class="flexrow"><label class="generic-label">Number of Optionnal Abilities</label>
2022-09-04 09:58:51 +02:00
<input type="text" class="input-numeric-short padd-right" name="system.nboptionnal" value="{{data.nboptionnal}}"
2022-03-06 22:18:08 +01:00
data-dtype="Number" />
</li>
2022-01-08 18:28:01 +01:00
2022-03-06 22:18:08 +01:00
<li class="flexrow"><label class="generic-label">Optionnal Abilities</label>
</li>
<ul class="ul-level1">
<li class="flexrow">
<div class="drop-optionnal-abilities"><label>Drop Abilities here !</label></div>
</li>
{{#each data.optionnalabilities as |ability idx|}}
<li class="flexrow">
2022-09-04 09:58:51 +02:00
<label name="system.optionnalabilities[{{idx}}].name"><a class="view-subitem" data-type="optionnalabilities"
2022-03-06 22:18:08 +01:00
data-index="{{idx}}">{{ability.name}}</a></label>
<div class="item-controls padd-left">
<a class="item-control delete-subitem padd-left" data-type="optionnalabilities" data-index="{{idx}}"
title="Delete Ability"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</ul>
2021-12-02 07:38:59 +01:00
2022-03-06 22:18:08 +01:00
<ul>
<li class="flexrow"><label class="generic-label">Perks Gained ?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.perksgained" {{checked
2022-03-06 22:18:08 +01:00
data.perksgained}} /></label>
</li>
{{#if data.perksgained}}
<li class="flexrow"><label class="generic-label">Choose in all available perks?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.perksall" {{checked
2022-03-06 22:18:08 +01:00
data.perksall}} /></label>
</li>
<li class="flexrow"><label class="generic-label">Number of perks to gain</label>
2022-09-04 09:58:51 +02:00
<input type="text" class="input-numeric-short padd-right" name="system.perksnumber" value="{{data.perksnumber}}"
2022-03-06 22:18:08 +01:00
data-dtype="Number" />
</li>
{{#if data.perksall}}
{{else}}
<ul class="ul-level1">
<li class="flexrow">
<div class="drop-race-perk"><label>Drop Perks here !</label></div>
</li>
{{#each data.perks as |perk idx|}}
<li class="flexrow">
2022-09-04 09:58:51 +02:00
<label name="system.perks[{{idx}}].name"><a class="view-subitem" data-type="perks"
2022-03-06 22:18:08 +01:00
data-index="{{idx}}">{{perk.name}}</a></label>
<div class="item-controls padd-left">
<a class="item-control delete-subitem padd-left" data-type="perks" data-index="{{idx}}"
title="Delete Perk"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
{{/if}}
{{/if}}
</ul>
</div>
</section>
</form>