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
38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
<form id="short-rest-hd" class="dialog-content" onsubmit="event.preventDefault();">
|
|
<p>{{ localize "SW5E.ShortRestHint" }}</p>
|
|
<div class="form-group">
|
|
<label>{{ localize "SW5E.ShortRestSelect" }}</label>
|
|
<div class="form-fields">
|
|
<select name="hd">
|
|
{{#select denomination}}
|
|
{{#each availableHD as |num denom|}}
|
|
<option value="{{denom}}">{{denom}} ({{num}} {{ localize "SW5E.available" }})</option>
|
|
{{/each}}
|
|
{{/select}}
|
|
</select>
|
|
<button id="roll-hd" {{#unless canRoll}}disabled{{/unless}}>
|
|
<i class="fas fa-dice-d20"></i> {{ localize "SW5E.Roll" }}
|
|
</button>
|
|
</div>
|
|
{{#unless canRoll}}
|
|
<p class="notes">{{ localize "SW5E.ShortRestNoHD" }}</p>
|
|
{{/unless}}
|
|
</div>
|
|
|
|
{{#if promptNewDay}}
|
|
<div class="form-group">
|
|
<label>{{ localize "SW5E.NewDay" }}</label>
|
|
<input type="checkbox" name="newDay" {{checked newDay}}/>
|
|
<p class="hint">{{ localize "SW5E.NewDayHint" }}</p>
|
|
</div>
|
|
{{/if}}
|
|
|
|
<div class="dialog-buttons">
|
|
{{#each buttons as |button id|}}
|
|
<button class="dialog-button" data-button="{{id}}">
|
|
{{{button.icon}}}
|
|
{{{button.label}}}
|
|
</button>
|
|
{{/each}}
|
|
</div>
|
|
</form>
|