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.

39 lines
1.6 KiB

1 year ago
  1. <form autocomplete="off" onsubmit="event.preventDefault();">
  2. {{#each settings as |setting|}}
  3. <!-- {{setting.key}} -->
  4. <div class="form-group">
  5. <label for="{{setting.key}}">{{localize setting.name}}</label>
  6. <div class="form-fields">
  7. {{#if setting.isSelect}}
  8. <select name="{{setting.key}}">
  9. {{#select setting.value}}
  10. {{#each setting.choices as |label value|}}
  11. <option value="{{value}}">{{localize label}}</option>
  12. {{/each}}
  13. {{/select}}
  14. </select>
  15. {{else if setting.isCheckbox}}
  16. <input type="checkbox" name="{{setting.key}}" {{checked setting.value}} />
  17. {{else if setting.isDateTime}}
  18. <input type="datetime-local" name="{{setting.key}}" value="{{setting.value}}" min="2019-01-01T00:00" required="required" />
  19. {{/if}}
  20. </div>
  21. <p class="notes">{{localize setting.hint}}</p>
  22. </div>
  23. {{/each}}
  24. <div class="form-group submenu">
  25. <label>{{localize "PF2E.SETTINGS.WorldClock.ResetWorldTime.Name"}}</label>
  26. <button type="button" class="reset-world-time">
  27. <i class="fas fa-history"></i>
  28. {{localize "PF2E.SETTINGS.WorldClock.ResetWorldTime.Button"}}
  29. </button>
  30. <p class="notes">{{localize "PF2E.SETTINGS.WorldClock.ResetWorldTime.Hint"}}</p>
  31. </div>
  32. <hr />
  33. <div class="form-group">
  34. <button type="submit">
  35. <i class="far fa-save"></i> {{localize "SETTINGS.Save"}}
  36. </button>
  37. </div>
  38. </form>