forked from GitHub-Mirrors/foundry-sw5e

Filled in some missing pieces in html for core upgrades. Looked mostly good on both Cyr and Jacob's accounts. I had a few questions about differences that were added from DND5e, they are as follows: less\original\npc.less line 34 - is the "li" before .creature-type necessary, not in dnd5e module\item\entity.js line 685 - dnd is game.user._id, we have game.user.data._id module\pixi\ability-template.js line 22- dnd is game.user._id, we have game.user.data._id templates\chat\item-card.html line 1- dnd has actor._id, we have actor.data._id
23 lines
1.3 KiB
HTML
23 lines
1.3 KiB
HTML
<form autocomplete="off">
|
|
<p class="notes">{{ localize "SW5E.HitDiceConfigHint" }}</p>
|
|
{{#each classes}}
|
|
<div class="form-group">
|
|
<label>{{this.name}} ({{this.diceDenom}})</label>
|
|
<div class="form-fields">
|
|
<button class="decrement" type="button">-</button>
|
|
<input title="{{ localize 'SW5E.HitDiceRemaining' }}" class="current" name="{{this.classItemId}}" type="number" value="{{this.currentHitDice}}" />
|
|
<span class="sep">/</span>
|
|
<input title="{{ localize 'SW5E.HitDiceMax' }}" class="max" type="number" value="{{this.maxHitDice}}" disabled />
|
|
<button class="increment" type="button">+</button>
|
|
|
|
<button class="roll-hd" data-hd-denom="{{this.diceDenom}}" {{#unless this.canRoll}}disabled{{/unless}}>
|
|
<i class="fas fa-dice-d20"></i> {{ localize "SW5E.Roll" }}
|
|
</button>
|
|
</div>
|
|
</div>
|
|
{{/each}}
|
|
<div class="dialog-buttons">
|
|
<button type="reset" name="reset"><i class="fas fa-redo"></i> {{ localize "SETTINGS.5eUndoChanges" }}</button>
|
|
<button type="submit" name="submit" value="1"><i class="far fa-save"></i> {{ localize "SETTINGS.Save"}}</button>
|
|
</div>
|
|
</form>
|