forked from GitHub-Mirrors/foundry-sw5e
Cleaning up some stuff
This commit is contained in:
parent
b40f5f62f8
commit
0f2f8a1fb6
20 changed files with 191 additions and 4959 deletions
|
@ -1,123 +0,0 @@
|
|||
<div class="inventory-filters castbook-filters">
|
||||
<div class="form-group casting-ability">
|
||||
<h3>{{localize "SW5E.CastAbility"}}</h3>
|
||||
<select name="data.attributes.casting" data-type="String">
|
||||
{{#select data.attributes.casting}}
|
||||
<option value="">{{localize "SW5E.None"}}</option>
|
||||
{{#each data.abilities as |abl a|}}
|
||||
<option value="{{a}}">{{abl.label}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
{{#if isNPC}}
|
||||
<h3>{{localize "SW5E.CasterLevel"}}</h3>
|
||||
<input class="casting-level" type="text" name="data.details.castLevel"
|
||||
value="{{data.details.castLevel}}" data-dtype="Number" placeholder="0"/>
|
||||
{{/if}}
|
||||
<h3 class="cast-dc">{{localize "SW5E.CastDC"}} {{data.attributes.castdc}}</h3>
|
||||
</div>
|
||||
|
||||
<ul class="filter-list flexrow" data-filter="castbook">
|
||||
<li class="filter-title">{{localize "SW5E.Filter"}}</li>
|
||||
<li class="filter-item" data-filter="action">{{localize "SW5E.Action"}}</li>
|
||||
<li class="filter-item" data-filter="bonus">{{localize "SW5E.BonusAction"}}</li>
|
||||
<li class="filter-item" data-filter="reaction">{{localize "SW5E.Reaction"}}</li>
|
||||
<li class="filter-item" data-filter="concentration">{{localize "SW5E.AbbreviationConc"}}</li>
|
||||
<li class="filter-item" data-filter="ritual">{{localize "SW5E.Ritual"}}</li>
|
||||
<li class="filter-item" data-filter="prepared">{{localize "SW5E.Prepared"}}{{#if preparedCasts}} ({{preparedCasts}}){{/if}}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<ol class="inventory-list">
|
||||
{{#each castbook as |section|}}
|
||||
<li class="item flexrow inventory-header castbook-header">
|
||||
<div class="item-name flexrow">
|
||||
<h3>{{section.label}}</h3>
|
||||
</div>
|
||||
|
||||
<div class="cast-slots">
|
||||
{{#if section.usesSlots}}
|
||||
<input type="text" name="data.casts.{{section.prop}}.value" value="{{section.uses}}" placeholder="0"
|
||||
data-dtype="Number"/>
|
||||
<span class="sep"> / </span>
|
||||
<span class="cast-max" data-level="{{section.prop}}" data-slots="{{section.slots}}">
|
||||
{{{section.slots}}}
|
||||
{{#if ../editable}}
|
||||
<a class="slot-max-override" title="{{localize 'SW5E.CastProgOverride'}}">
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
{{ else }}
|
||||
<span class="cast-slots">{{{section.uses}}}</span>
|
||||
<span class="sep"> / </span>
|
||||
<span class="cast-max">{{{section.slots}}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="cast-school">{{localize "SW5E.CastSchool"}}</div>
|
||||
<div class="cast-action">{{localize "SW5E.CastUsage"}}</div>
|
||||
<div class="cast-target">{{localize "SW5E.CastTarget"}}</div>
|
||||
|
||||
<div class="item-controls">
|
||||
{{#if section.canCreate}}
|
||||
<a class="item-control item-create" title="{{localize 'SW5E.CastCreate'}}" {{#each section.dataset as |v k|}}data-{{k}}="{{v}}"{{/each}}>
|
||||
<i class="fas fa-plus"></i> {{localize "SW5E.Add"}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<ol class="item-list">
|
||||
{{#each section.casts as |item i|}}
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
<div class="item-name flexrow rollable">
|
||||
<div class="item-image" style="background-image: url({{item.img}})"></div>
|
||||
<h4>{{item.name}}</h4>
|
||||
{{#if item.data.uses.value }}
|
||||
<div class="item-detail cast-uses">Uses {{item.data.uses.value}} / {{item.data.uses.max}}</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="cast-comps">
|
||||
{{#each labels.components}}
|
||||
<span class="cast-component {{this}}">{{this}}</span>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="cast-school">{{labels.school}}</div>
|
||||
<div class="cast-action">{{labels.activation}}</div>
|
||||
<div class="cast-target" title="{{localize 'SW5E.Range'}}: {{labels.range}}">
|
||||
{{#if labels.target}}
|
||||
{{labels.target}}
|
||||
{{else}}None
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
|
||||
{{#if ../../owner}}
|
||||
<div class="item-controls">
|
||||
{{#if section.canPrepare}}
|
||||
<a class="item-control item-toggle {{item.toggleClass}}" title="{{item.toggleTitle}}"><i class="fas fa-sun"></i></a>
|
||||
{{/if}}
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
{{/each}}
|
||||
</ol>
|
||||
{{else}}
|
||||
{{#if owner}}
|
||||
{{#if filters.castbook.size}}
|
||||
<li class="item flexrow"><p class="notes">{{localize "SW5E.FilterNoCasts"}}</p></li>
|
||||
{{else}}
|
||||
<li class="item flexrow inventory-header castbook-header castbook-empty">
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-create" title="{{localize 'SW5E.CastCreate'}}" data-type="cast"
|
||||
data-level="{{lvl}}"><i class="fas fa-plus"></i> {{localize "SW5E.CastAdd"}}</a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item flexrow"><p class="notes">{{localize "SW5E.NoCastLevels"}}</p></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</ol>
|
|
@ -1,120 +0,0 @@
|
|||
<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.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="species-traits">{{ localize "SW5E.SpeciesTraits" }}</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Item Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{!-- Description Tab --}}
|
||||
|
||||
<div class="tab description flexcol" data-group="primary" data-tab="description">
|
||||
|
||||
<table style="background-color: #c2e0f4; border-color: #3598db; border-style: solid; height: 217px; width: 520px; word-wrap: break-word;" border="1">
|
||||
<tbody>
|
||||
<tr style="height: 17px; background-color: #ced4d9;">
|
||||
<th style="text-align: left; height: 17px; width: 350px;" colspan="4">VISUAL CHARACTERISTICS</th>
|
||||
</tr>
|
||||
<tr style="height: 17px; border-style: none;">
|
||||
<td style="border-style: none; height: 17px; width: 148px;"><em>Skin Color</em></td>
|
||||
<td style="border-style: none; height: 17px; width: 20px;"> </td>
|
||||
<td style="border-style: none; width: 154px; height: 17px;"><input name="data.skinColorOptions.value" type="text" value="{{data.skinColorOptions.value}}" placeholder="{{ localize SW5E.skinColorOptions }}"/></td>
|
||||
<td style="border-style: none; height: 17px; width: 150px;"> </td>
|
||||
</tr>
|
||||
<tr style="border-style: none; height: 17px; background-color: #ced4d9;">
|
||||
<td style="border-style: none; height: 17px; width: 148px;"><em>Hair Color</em></td>
|
||||
<td style="border-style: none; height: 17px; width: 20px;"> </td>
|
||||
<td style="border-style: none; width: 154px; height: 17px;"><input name="data.hairColorOptions.value" type="text" value="{{data.hairColorOptions.value}}" placeholder="{{ localize SW5E.hairColorOptions }}"/></td>
|
||||
<td style="border-style: none; height: 17px; width: 150px;"> </td>
|
||||
</tr>
|
||||
<tr style="height: 17px;">
|
||||
<td style="border-style: none; height: 17px; width: 148px;"><em>Eye Color</em></td>
|
||||
<td style="border-style: none; height: 17px; width: 20px;"> </td>
|
||||
<td style="border-style: none; width: 154px; height: 17px;"><input name="data.eyeColorOptions.value" type="text" value="{{data.eyeColorOptions.value}}" placeholder="{{ localize SW5E.eyeColorOptions }}"/></td>
|
||||
<td style="border-style: none; height: 17px; width: 150px;"> </td>
|
||||
</tr>
|
||||
<tr style="border-style: none; height: 17px; background-color: #ced4d9; text-wrap: normal;">
|
||||
<td style="border-style: none; height: 17px; width: 148px;"><em>Distinctions</em></td>
|
||||
<td style="border-style: none; height: 17px; width: 20px;"> </td>
|
||||
<td style="border-style: none; text-wrap: normal; width: 154px; height: 17px;" colspan="2"><input text-wrap="break-word" name="data.distinctions.value" type="text" value="{{data.distinctions.value}}" placeholder="{{ localize SW5E.distinctions }}"/></td>
|
||||
</tr>
|
||||
<tr style="background-color: #ced4d9;">
|
||||
<th style="text-align: left; height: 17px; width: 519px;" colspan="4">PHYSICAL CHARACTERISTICS</th>
|
||||
</tr>
|
||||
<tr style="height: 17px;">
|
||||
<td style="border-style: none; height: 17px; width: 148px;"><em>Height</em></td>
|
||||
<td style="border-style: none; height: 17px; width: 20px;"> </td>
|
||||
<td style="text-align: center; border-style: none; width: 155px; height: 17px;"><input name="data.heightAverage.value" type="text" value="{{data.heightAverage.value}}" placeholder="5'2”"/></td>
|
||||
<td style="text-align: center; border-style: none; height: 17px; width: 151px;"><input name="data.heightRollMod.value" type="text" value="{{data.heightRollMod.value}}" placeholder="+1d4”"/></td>
|
||||
</tr>
|
||||
<tr style="background-color: #ced4d9;">
|
||||
<td style="border-style: none; height: 17px; width: 148px; background-color: #ced4d9;"><em>Weight</em></td>
|
||||
<td style="border-style: none; height: 17px; width: 20px;"> </td>
|
||||
<td style="text-align: center; border-style: none; width: 155px; height: 17px;"><input name="data.weightAverage.value" type="text" value="{{data.weightAverage.value}}" placeholder="100 lb."/></td>
|
||||
<td style="text-align: center; border-style: none; height: 17px; width: 151px;"><input name="data.weightRollMod.value" type="text" value="{{data.weightRollMod.value}}" placeholder="x(1d4) lb."/></td>
|
||||
</tr>
|
||||
<tr style="background-color: #ced4d9;">
|
||||
<th style="text-align: left; height: 17px; width: 519px;" colspan="4">SOCIOCULTURAL CHARACTERISTICS</th>
|
||||
</tr>
|
||||
<tr style="height: 17px;">
|
||||
<td style="border-style: none; height: 17px; width: 148px;"><em>Homeworld</em></td>
|
||||
<td style="border-style: none; height: 17px; width: 20px;"> </td>
|
||||
<td style="border-style: none; width: 154px; height: 17px;" colspan="2"><input name="data.homeworld.value" type="text" value="{{data.homeworld.value}}" placeholder="{{ localize SW5E.homeworld }}"/></td>
|
||||
</tr>
|
||||
<tr style="background-color: #ced4d9;">
|
||||
<td style="border-style: none; height: 17px; width: 148px;"><em>Language</em></td>
|
||||
<td style="border-style: none; height: 17px; width: 20px;"> </td>
|
||||
<td style="border-style: none; width: 154px; height: 17px;" colspan="2"><input name="data.slanguage.value" type="text" value="{{data.slanguage.value}}" placeholder="{{ localize SW5E.slanguage }}"/></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div id="species-description">
|
||||
<p>
|
||||
<!--Species Description-->
|
||||
{{editor content=data.description.value target="data.description.value" fontsize=12px button=true editable=editable}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Traits Tab --}}
|
||||
|
||||
<div class="tab species-traits flexcol" data-group="primary" data-tab="species-traits">
|
||||
<span id="Traits"><h2>{{item.name}} Traits</h2>
|
||||
<p>As a/an {{item.name}}, you have the following special traits.<br>
|
||||
<ul style="list-style-type:none;">
|
||||
{{#each data.traits as | d t |}}
|
||||
<li><em><strong>{{t}}</strong></em>. {{{desc}}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue