forked from GitHub-Mirrors/foundry-sw5e

Updated to 0.98 core for 0.7.x compatability (untested) Class Skills are pulling in automatically on class item drop to character sheet. TODO: Expand automated skill drop for Archetypes KNOWN ISSUE: init.value is being converted to a string causing some NaN errors on the html. Initiative was changed to a number instead of a string in 0.98 likely some place is assuming it is still a string. I had to use Number() on the value because it was forcing other vales to be a string because the value is "". Maybe someone can fix this
45 lines
1.8 KiB
HTML
45 lines
1.8 KiB
HTML
<form class="{{cssClass}} flexcol" autocomplete="off">
|
|
|
|
{{!-- Item Sheet Header --}}
|
|
<header class="sheet-header flexrow">
|
|
<img class="profile" src="{{item.img}}" title="{{item.name}}" data-edit="img"/>
|
|
|
|
<div class="header-details flexrow">
|
|
<h1 class="charname">
|
|
<input name="name" type="text" value="{{item.name}}" placeholder="{{ localize 'SW5E.ItemName' }}"/>
|
|
</h1>
|
|
|
|
<div class="item-subtitle">
|
|
<h4 class="item-type">{{itemType}}</h4>
|
|
<span class="item-status">{{itemStatus}}</span>
|
|
</div>
|
|
|
|
<ul class="summary">
|
|
<li>
|
|
<input type="text" name="data.className" value="{{data.className}}" placeholder="{{ localize 'SW5E.ClassName' }}"/>
|
|
</li>
|
|
<li>
|
|
<input type="text" name="data.classCasterType" value="{{data.classCasterType}}" />
|
|
</li>
|
|
<li>
|
|
<input type="text" name="data.source" value="{{data.source}}" placeholder="{{ localize 'SW5E.Source' }}"/>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</header>
|
|
|
|
{{!-- Item Sheet Navigation --}}
|
|
<nav class="sheet-navigation tabs" data-group="primary">
|
|
<a class="item active" data-tab="description">{{ localize "SW5E.Description" }}</a>
|
|
<!-- <a class="item" data-tab="details">{{ localize "SW5E.Details" }}</a> -->
|
|
</nav>
|
|
|
|
{{!-- Item Sheet Body --}}
|
|
<section class="sheet-body">
|
|
|
|
{{!-- Description Tab --}}
|
|
<div class="tab description" data-group="primary" data-tab="description">
|
|
{{editor content=data.description.value target="data.description.value" button=true owner=owner editable=editable}}
|
|
</div>
|
|
</section>
|
|
</form>
|