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.

269 lines
13 KiB

1 year ago
  1. <form autocomplete="off" class="dice-so-nice flexcol">
  2. <nav class="sheet-tabs tabs" data-group="dsn-main">
  3. <a class="item active" data-tab="general"><i class="fas fa-dice-d20"></i> {{localize "DICESONICE.settingsAppearance"}}</a>
  4. <a class="item" data-tab="preferences"><i class="fas fa-cogs"></i> {{localize "DICESONICE.settingsPreferences"}}</a>
  5. <a class="item" data-tab="sfx"><i class="fas fa-meteor"></i> {{localize "DICESONICE.settingsSpecialEffects"}}</a>
  6. <a class="item" data-tab="performance"><i class="fas fa-tachometer-alt"></i> {{localize "DICESONICE.settingsPerformance"}}</a>
  7. <a class="item" data-tab="backup"><i class="fas fa-upload"></i> {{localize "DICESONICE.settingsBackup"}}</a>
  8. </nav>
  9. <section id="config-tabs" class="content">
  10. <div class="tab active" data-tab="general" data-group="dsn-main">
  11. <div class="settings-list">
  12. <div id="dice-configuration-canvas-container"></div>
  13. <div class="dsn-settings-container">
  14. <hr />
  15. <div class="form-group">
  16. <label>{{localize "DICESONICE.enable"}}</label>
  17. <input type="checkbox" name="enabled" data-dtype="Boolean" {{checked enabled}} />
  18. </div>
  19. <div class="form-group">
  20. <label>{{localize "DICESONICE.showExtraDice"}}</label>
  21. <input type="checkbox" name="showExtraDice" data-showExtraDice data-dtype="Boolean" {{checked showExtraDice}} />
  22. </div>
  23. <hr />
  24. <a class="dice-more-theme" href="https://gitlab.com/riccisi/foundryvtt-dice-so-nice/-/wikis/Links" target="_blank">
  25. <i class="fas fa-store"></i> {{localize "DICESONICE.FindMoreTheme"}}
  26. </a>
  27. <nav class="dsn-appearance-tabs" data-group="dsn-dice">
  28. <span class="item" data-group="dsn-dice" data-tab="global">Global</span>
  29. <span class="dsn-appearance-hint" {{{displayHint}}}>{{localize "DICESONICE.navAppearanceHint"}}</span>
  30. {{#each navAppearance as |name key|}}
  31. <span class="item" data-group="dsn-dice" data-tab="{{key}}">{{name}} <i class="fas fa-times" data-close-tab></i></span>
  32. {{/each}}
  33. </nav>
  34. <section id="dsn-appearance-content">
  35. {{{tabsAppearance}}}
  36. </section>
  37. </div>
  38. </div>
  39. </div>
  40. <div class="tab" data-tab="preferences" data-group="dsn-main">
  41. <div class="settings-list">
  42. <div class="form-group">
  43. <label>{{localize "DICESONICE.hideAfterRoll"}}</label>
  44. <input type="checkbox" data-hideAfterRoll name="hideAfterRoll" data-dtype="Boolean" {{checked hideAfterRoll}} />
  45. </div>
  46. <div class="form-group setting-timeBeforeHide">
  47. <label>{{localize "DICESONICE.timeBeforeHide"}}</label>
  48. <input type="text" data-timeBeforeHide name="timeBeforeHide" value="{{timeBeforeHide}}">
  49. </div>
  50. <div class="form-group">
  51. <label>{{localize "DICESONICE.hideFX"}}</label>
  52. <select data-hideFX name="hideFX">
  53. {{#select hideFX}}
  54. {{#each fxList as |name key|}}
  55. <option value="{{key}}">{{name}}</option>
  56. {{/each}}
  57. {{/select}}
  58. </select>
  59. </div>
  60. <div class="form-group">
  61. <label>{{localize "DICESONICE.sounds"}}</label>
  62. <input type="checkbox" data-sounds name="sounds" data-dtype="Boolean" {{checked sounds}} />
  63. </div>
  64. <div class="form-group">
  65. <label>{{localize "DICESONICE.muteSoundSecretRolls"}}</label>
  66. <input type="checkbox" data-muteSoundSecretRolls name="muteSoundSecretRolls" data-dtype="Boolean" {{checked muteSoundSecretRolls}} />
  67. </div>
  68. <div class="form-group">
  69. <label>{{localize "DICESONICE.soundsVolume"}}</label>
  70. <div class="form-fields">
  71. <input type="range" data-soundsVolume name="soundsVolume" value="{{soundsVolume}}" min="0.1" max="1" step="0.1" data-dtype="Number">
  72. <span class="range-value">{{soundsVolume}}</span>
  73. </div>
  74. </div>
  75. <div class="form-group">
  76. <label>{{localize "DICESONICE.soundsSurface"}}</label>
  77. <select data-soundsSurface name="soundsSurface">
  78. {{#select soundsSurface}}
  79. {{#each soundsSurfaceList as |name key|}}
  80. <option value="{{key}}">{{name}}</option>
  81. {{/each}}
  82. {{/select}}
  83. </select>
  84. </div>
  85. <div class="form-group">
  86. <label>{{localize "DICESONICE.autoSize"}}</label>
  87. <input type="checkbox" data-autoscale name="autoscale" data-dtype="Boolean" {{checked autoscale}} />
  88. </div>
  89. <div class="form-group">
  90. <label>{{localize "DICESONICE.size"}}</label>
  91. <div class="form-fields">
  92. <input type="range" data-scale name="scale" value="{{scale}}" min="20" max="100" step="1" data-dtype="Number">
  93. <span class="range-value">{{scale}}</span>
  94. </div>
  95. </div>
  96. <div class="form-group">
  97. <label>{{localize "DICESONICE.speed"}}</label>
  98. <select data-speed name="speed">
  99. {{#select speed}}
  100. {{#each speedList as |name key|}}
  101. <option value="{{key}}">{{name}}</option>
  102. {{/each}}
  103. {{/select}}
  104. </select>
  105. </div>
  106. <div class="form-group">
  107. <label>{{localize "DICESONICE.canvasZIndex"}}</label>
  108. <select data-canvasZIndex name="canvasZIndex">
  109. {{#select canvasZIndex}}
  110. {{#each canvasZIndexList as |name key|}}
  111. <option value="{{key}}">{{name}}</option>
  112. {{/each}}
  113. {{/select}}
  114. </select>
  115. </div>
  116. <div class="form-group">
  117. <label>{{localize "DICESONICE.throwingForce"}}</label>
  118. <select data-throwingForce name="throwingForce">
  119. {{#select throwingForce}}
  120. {{#each throwingForceList as |name key|}}
  121. <option value="{{key}}">{{name}}</option>
  122. {{/each}}
  123. {{/select}}
  124. </select>
  125. </div>
  126. <div class="form-group">
  127. <label>{{localize "DICESONICE.enableFlavorColorset"}}</label>
  128. <input type="checkbox" data-enableFlavorColorset name="enableFlavorColorset" data-dtype="Boolean" {{checked enableFlavorColorset}} />
  129. </div>
  130. <div class="form-group">
  131. <label>{{localize "DICESONICE.immersiveDarkness"}}</label>
  132. <input type="checkbox" data-immersiveDarkness name="immersiveDarkness" data-dtype="Boolean" {{checked immersiveDarkness}} />
  133. </div>
  134. </div>
  135. </div>
  136. <div class="tab" data-tab="sfx" data-group="dsn-main">
  137. <div class="settings-list">
  138. <div class="form-group">
  139. <label>{{localize "DICESONICE.showOthersSFX"}}</label>
  140. <input type="checkbox" name="showOthersSFX" data-dtype="Boolean" {{checked showOthersSFX}} />
  141. </div>
  142. <ol id="sfxs-list" class="sfxs-list">
  143. <li class="sfx flexrow sfx-header">
  144. <div class="sfx-name sfx-flex-2">{{localize "DICESONICE.diceType"}}</div>
  145. <div class="sfx-name sfx-flex-5">{{localize "DICESONICE.onResult"}}</div>
  146. <div class="sfx-name sfx-flex-3">{{localize "DICESONICE.specialEffect"}}</div>
  147. <div class="sfx-controls">
  148. <a class="sfx-control" data-sfx-create title='{{localize "DICESONICE.Add"}}'><i class="fas fa-plus"></i></a>
  149. </div>
  150. </li>
  151. {{{specialEffectsList}}}
  152. </ol>
  153. </div>
  154. </div>
  155. <div class="tab" data-tab="performance" data-group="dsn-main">
  156. <div class="settings-list">
  157. <div class="form-group">
  158. <label>{{localize "DICESONICE.imageQuality"}}</label>
  159. <select data-imageQuality name="imageQuality">
  160. {{#select imageQuality}}
  161. {{#each imageQualityList as |name key|}}
  162. <option value="{{key}}">{{name}}</option>
  163. {{/each}}
  164. {{/select}}
  165. </select>
  166. </div>
  167. <hr/>
  168. <div class="form-group">
  169. <label>{{localize "DICESONICE.bumpMapping"}}</label>
  170. <input type="checkbox" data-bumpMapping name="bumpMapping" data-dtype="Boolean" {{checked bumpMapping}} />
  171. </div>
  172. <div class="form-group">
  173. <label>{{localize "DICESONICE.shadowQuality"}}</label>
  174. <select data-shadowQuality name="shadowQuality">
  175. {{#select shadowQuality}}
  176. {{#each shadowQualityList as |name key|}}
  177. <option value="{{key}}">{{name}}</option>
  178. {{/each}}
  179. {{/select}}
  180. </select>
  181. </div>
  182. <div class="form-group">
  183. <label>{{localize "DICESONICE.glow"}}</label>
  184. <input type="checkbox" data-glow name="glow" data-dtype="Boolean" {{checked glow}} />
  185. </div>
  186. <div class="form-group">
  187. <label>{{localize "DICESONICE.antialiasing"}}</label>
  188. <select data-antialiasing name="antialiasing">
  189. {{#select antialiasing}}
  190. {{#each antialiasingList as |name key|}}
  191. <option value="{{key}}">{{name}}</option>
  192. {{/each}}
  193. {{/select}}
  194. </select>
  195. </div>
  196. <div class="form-group">
  197. <label>{{localize "DICESONICE.useHighDPI"}}</label>
  198. <input type="checkbox" data-useHighDPI name="useHighDPI" data-dtype="Boolean" {{checked useHighDPI}} />
  199. </div>
  200. </div>
  201. </div>
  202. <div class="tab" data-tab="backup" data-group="dsn-main">
  203. <div class="settings-list">
  204. <p class="notes">{{localize "DICESONICE.BackupHint"}}</p>
  205. <div class="form-group">
  206. <button type="button" data-saveas name="saveas">
  207. <i class="fas fa-archive"></i> {{localize "DICESONICE.SaveAs"}}
  208. </button>
  209. </div>
  210. <div class="form-group">
  211. <button type="button" data-load name="load">
  212. <i class="fas fa-box-open"></i> {{localize "DICESONICE.Load"}}
  213. </button>
  214. </div>
  215. <hr />
  216. <div class="form-group">
  217. <button type="button" data-import name="import">
  218. <i class="fas fa-file-import"></i> {{localize "DICESONICE.Import"}}
  219. </button>
  220. </div>
  221. <div class="form-group">
  222. <button type="button" data-export name="export">
  223. <i class="fas fa-file-export"></i> {{localize "DICESONICE.Export"}}
  224. </button>
  225. </div>
  226. <div class="form-group">
  227. <button type="button" data-exportSFX name="exportSFX">
  228. <i class="fas fa-file-export"></i> {{localize "DICESONICE.ExportSFX"}}
  229. </button>
  230. </div>
  231. <hr />
  232. <div class="form-group">
  233. <button type="button" data-reset name="reset">
  234. <i class="fas fa-undo"></i> {{localize "DICESONICE.Reset"}}
  235. </button>
  236. </div>
  237. </div>
  238. </div>
  239. </section>
  240. <footer class="sheet-footer flexrow">
  241. <button type="submit" name="submit">
  242. <i class="far fa-save"></i> {{localize "DICESONICE.Save"}}
  243. </button>
  244. <button type="button" data-test name="test">
  245. <i class="fas fa-dice"></i> {{localize "DICESONICE.TestRoll"}}
  246. </button>
  247. <button type="button" data-cancel name="cancel">
  248. <i class="fas fa-ban"></i> {{localize "DICESONICE.Cancel"}}
  249. </button>
  250. </footer>
  251. </form>