<form class="{{cssClass}} flexcol" autocomplete="off">
|
|
|
|
{{!-- Item Sheet Header --}}
|
|
<header class="sheet-header flexrow">
|
|
<img class="profile" src="{{item.img}}" data-tooltip="{{item.name}}" data-edit="img"/>
|
|
|
|
<div class="header-details flexrow">
|
|
<h1 class="charname">
|
|
<input name="name" type="text" value="{{item.name}}" placeholder="{{ localize 'DND5E.ClassName' }}"/>
|
|
</h1>
|
|
|
|
<div class="item-subtitle">
|
|
<h4 class="item-type">{{itemType}}</h4>
|
|
<span class="item-status">{{itemStatus}}</span>
|
|
</div>
|
|
|
|
<ul class="summary flexrow">
|
|
<li>
|
|
<input type="text" name="system.source" value="{{system.source}}" placeholder="{{ localize 'DND5E.Source' }}"/>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</header>
|
|
|
|
{{!-- Item Sheet Navigation --}}
|
|
<nav class="sheet-navigation tabs" data-group="primary">
|
|
<a class="item active" data-tab="description">{{ localize "DND5E.Description" }}</a>
|
|
<a class="item" data-tab="details">{{ localize "DND5E.Details" }}</a>
|
|
<a class="item" data-tab="advancement">{{ localize "DND5E.AdvancementTitle" }}</a>
|
|
</nav>
|
|
|
|
{{!-- Item Sheet Body --}}
|
|
<section class="sheet-body">
|
|
|
|
{{!-- Description Tab --}}
|
|
<div class="tab flexrow active" data-group="primary" data-tab="description">
|
|
{{editor descriptionHTML target="system.description.value" button=true editable=editable
|
|
engine="prosemirror" collaborate=false}}
|
|
</div>
|
|
|
|
{{!-- Details Tab --}}
|
|
<div class="tab details" data-group="primary" data-tab="details">
|
|
|
|
{{!-- Identifier --}}
|
|
<div class="form-group">
|
|
<label>{{ localize "DND5E.Identifier" }}</label>
|
|
<div class="form-fields">
|
|
<input type="text" name="system.identifier" value="{{system.identifier}}"
|
|
placeholder="{{item.identifier}}">
|
|
</div>
|
|
<p class="hint">
|
|
{{{localize "DND5E.ClassIdentifierHint" identifier=item.identifier}}}
|
|
</p>
|
|
</div>
|
|
|
|
{{!-- Class Hit Dice --}}
|
|
<div class="form-group">
|
|
<label>{{localize "DND5E.HitDice"}}</label>
|
|
<div class="form-fields">
|
|
<select name="system.hitDice">
|
|
{{#select system.hitDice}}
|
|
{{#each config.hitDieTypes}}
|
|
<option value="{{this}}">{{this}}</option>
|
|
{{/each}}
|
|
{{/select}}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label>{{localize "DND5E.HitDiceUsed"}}</label>
|
|
<div class="form-fields">
|
|
{{numberInput system.hitDiceUsed name="system.hitDiceUsed" placeholder="0"}}
|
|
</div>
|
|
</div>
|
|
|
|
{{!-- Spellcasting --}}
|
|
<h3 class="form-header">{{localize "DND5E.Spellcasting"}}</h3>
|
|
{{> "dnd5e.item-spellcasting"}}
|
|
|
|
{{!-- Proficiencies --}}
|
|
<h3 class="form-header">{{localize "DND5E.Proficiency"}}</h3>
|
|
<div class="form-group">
|
|
<label>
|
|
{{ localize "DND5E.ClassSaves" }}
|
|
{{#if editable}}
|
|
<a class="trait-selector class-saves" data-target="system.saves" data-options="saves">
|
|
<i class="fas fa-edit"></i>
|
|
</a>
|
|
{{/if}}
|
|
</label>
|
|
<div class="form-fields">
|
|
<ul class="traits-list">
|
|
{{#each system.saves}}
|
|
<li class="tag {{this}}">{{lookup (lookup ../config.abilities this) "label"}}</li>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
{{!-- Level 1 skills --}}
|
|
<div class="form-group">
|
|
<label>{{localize "DND5E.ClassSkillsNumber"}}</label>
|
|
<div class="form-fields">
|
|
{{numberInput system.skills.number name="system.skills.number" placeholder="0"}}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label>
|
|
{{localize "DND5E.ClassSkillsEligible"}}
|
|
{{#if editable}}
|
|
<a class="trait-selector class-skills" data-target="system.skills.choices" data-options="skills.choices">
|
|
<i class="fas fa-edit"></i>
|
|
</a>
|
|
{{/if}}
|
|
</label>
|
|
<div class="form-fields">
|
|
<ul class="traits-list">
|
|
{{#each system.skills.choices}}
|
|
<li class="tag {{this}}">{{lookup (lookup ../config.skills this) "label"}}</li>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label>
|
|
{{localize "DND5E.ClassSkillsChosen"}}
|
|
{{#if editable}}
|
|
<a class="trait-selector class-skills" data-target="system.skills" data-options="skills">
|
|
<i class="fas fa-edit"></i>
|
|
</a>
|
|
{{/if}}
|
|
</label>
|
|
<div class="form-fields">
|
|
<ul class="traits-list">
|
|
{{#each system.skills.value}}
|
|
<li class="tag {{this}}">{{lookup (lookup ../config.skills this) "label"}}</li>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{{!-- Advancement Tab --}}
|
|
{{> "dnd5e.item-advancement"}}
|
|
|
|
</section>
|
|
</form>
|