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.

40 lines
3.3 KiB

1 year ago
  1. <section>
  2. <h1>{{date}} ({{time}})</h1>
  3. {{#if user.isGM}}
  4. <div class="input-grid">
  5. <button type="button" data-advance-mode="{{sign}}" data-advance-time="6"><span class="sign">{{sign}}</span>{{localize "PF2E.WorldClock.Button.AddOneRound"}}</button>
  6. <button type="button" data-advance-mode="{{sign}}" data-advance-time="60"><span class="sign">{{sign}}</span>{{localize "PF2E.WorldClock.Button.AddOneMinute"}}</button>
  7. <button type="button" data-advance-mode="{{sign}}" data-advance-time="600"><span class="sign">{{sign}}</span>{{localize "PF2E.WorldClock.Button.AddTenMinutes"}}</button>
  8. <button type="button" data-advance-mode="{{sign}}" data-advance-time="3600"><span class="sign">{{sign}}</span>{{localize "PF2E.WorldClock.Button.AddOneHour"}}</button>
  9. <button type="button" data-advance-mode="{{sign}}" data-advance-time="86400"><span class="sign">{{sign}}</span>{{localize "PF2E.WorldClock.Button.AddOneDay"}}</button>
  10. <button type="button" data-advance-mode="{{sign}}" data-advance-time="604800"><span class="sign">{{sign}}</span>{{localize "PF2E.WorldClock.Button.AddOneWeek"}}</button>
  11. <section class="time-of-day">
  12. <button type="button" title="{{localize "PF2E.WorldClock.Button.TimeOfDay.Advance.Dawn"}}" data-advance-mode="{{sign}}" data-advance-time="dawn">
  13. <span class="sign">{{sign}}</span><img src="systems/pf2e/icons/mdi/sunrise.svg" />
  14. </button>
  15. <button type="button" title="{{localize "PF2E.WorldClock.Button.TimeOfDay.Advance.Noon"}}" data-advance-mode="{{sign}}" data-advance-time="noon">
  16. <span class="sign">{{sign}}</span><img src="systems/pf2e/icons/mdi/sunny.svg" />
  17. </button>
  18. <button type="button" title="{{localize "PF2E.WorldClock.Button.TimeOfDay.Advance.Dusk"}}" data-advance-mode="{{sign}}" data-advance-time="dusk">
  19. <span class="sign">{{sign}}</span><img src="systems/pf2e/icons/mdi/sunset.svg" />
  20. </button>
  21. <button type="button" title="{{localize "PF2E.WorldClock.Button.TimeOfDay.Advance.Midnight"}}" data-advance-mode="{{sign}}" data-advance-time="midnight">
  22. <span class="sign">{{sign}}</span><img class="midnight" src="systems/pf2e/icons/mdi/night.svg" />
  23. </button>
  24. </section>
  25. </div>
  26. <hr>
  27. <div class="input-grid">
  28. <input name="diff-value" type="number" required="required" placeholder="{{localize "PF2E.WorldClock.Placeholder"}}">
  29. <select name="diff-unit">
  30. <option value="1">{{localize "PF2E.Time.Unit.Seconds"}}</option>
  31. <option value="6">{{localize "PF2E.Time.Unit.Rounds"}}</option>
  32. <option value="60">{{localize "PF2E.Time.Unit.Minutes"}}</option>
  33. <option value="3600">{{localize "PF2E.Time.Unit.Hours"}}</option>
  34. <option value="86400">{{localize "PF2E.Time.Unit.Days"}}</option>
  35. <option value="604800">{{localize "PF2E.Time.Unit.Weeks"}}</option>
  36. </select>
  37. <button type="button" name="advance">{{#if (eq sign "+")}}{{localize "PF2E.WorldClock.Button.Advance"}}{{else}}{{localize "PF2E.WorldClock.Button.Retract"}}{{/if}}</button>
  38. </div>
  39. {{/if}}
  40. </section>