All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.4 KiB

1 year ago
  1. <form id="short-rest-hd" class="dialog-content" onsubmit="event.preventDefault();">
  2. <p>{{ localize "DND5E.ShortRestHint" }}</p>
  3. <div class="form-group">
  4. <label>{{ localize "DND5E.ShortRestSelect" }}</label>
  5. <div class="form-fields">
  6. <select name="hd">
  7. {{#select denomination}}
  8. {{#each availableHD as |num denom|}}
  9. <option value="{{denom}}">{{denom}} ({{num}} {{ localize "DND5E.available" }})</option>
  10. {{/each}}
  11. {{/select}}
  12. </select>
  13. <button id="roll-hd" {{#unless canRoll}}disabled{{/unless}}>
  14. <i class="fas fa-dice-d20"></i> {{ localize "DND5E.Roll" }}
  15. </button>
  16. </div>
  17. {{#unless canRoll}}
  18. <p class="notes">{{ localize "DND5E.ShortRestNoHD" }}</p>
  19. {{/unless}}
  20. </div>
  21. {{#if promptNewDay}}
  22. <div class="form-group">
  23. <label>{{ localize "DND5E.NewDay" }}</label>
  24. <input type="checkbox" name="newDay" {{checked newDay}}/>
  25. <p class="hint">{{ localize "DND5E.NewDayHint" }}</p>
  26. </div>
  27. {{/if}}
  28. <div class="dialog-buttons">
  29. {{#each buttons as |button id|}}
  30. <button class="dialog-button" data-button="{{id}}">
  31. {{{button.icon}}}
  32. {{{button.label}}}
  33. </button>
  34. {{/each}}
  35. </div>
  36. </form>