forked from GitHub-Mirrors/foundry-sw5e
Add files via upload
This commit is contained in:
parent
a59213e72e
commit
36e5bee2f4
7 changed files with 212 additions and 0 deletions
29
templates/apps/short-rest.html
Normal file
29
templates/apps/short-rest.html
Normal file
|
@ -0,0 +1,29 @@
|
|||
<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 "Roll" }}
|
||||
</button>
|
||||
</div>
|
||||
{{#unless canRoll}}
|
||||
<p class="notes">{{ localize "SW5E.ShortRestNoHD" }}</p>
|
||||
{{/unless}}
|
||||
</div>
|
||||
<div class="dialog-buttons">
|
||||
{{#each buttons as |button id|}}
|
||||
<button class="dialog-button" data-button="{{id}}">
|
||||
{{{button.icon}}}
|
||||
{{{button.label}}}
|
||||
</button>
|
||||
{{/each}}
|
||||
</div>
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue