All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.

178 lines
8.0 KiB

1 year ago
  1. <form class="{{classes}} lib-wrapper" autocomplete="off">
  2. <nav class="sheet-tabs tabs">
  3. <a class='item' data-tab='Priorities'>{{localize 'lib-wrapper.settings.menu.priorities.name'}}</a>
  4. <a class='item' data-tab='Conflicts'>{{localize 'lib-wrapper.settings.menu.conflicts.name'}}</a>
  5. <a class='item' data-tab='Wrappers'>{{localize 'lib-wrapper.settings.menu.active-wrappers.name'}}</a>
  6. <a class='item' data-tab='About'>{{localize 'lib-wrapper.settings.menu.about.name'}}</a>
  7. </nav>
  8. <section class='tab' data-tab='Priorities'>
  9. <h1>{{localize 'lib-wrapper.settings.menu.priorities.name'}}</h1>
  10. {{#if about.collect_stats}}
  11. {{^}}
  12. <p style="margin:auto; width:100%; text-align: center; padding-bottom: 5px"><b>{{localize 'lib-wrapper.settings.menu.priorities.statistics-disabled'}}</b></p>
  13. {{/if}}
  14. <div class="package-priority-group">
  15. <div class="form-group" style="width: 90%; float:left">
  16. <label for="packages-prioritized">{{localize 'lib-wrapper.settings.menu.priorities.prioritized.title'}}
  17. <p class="notes">{{localize 'lib-wrapper.settings.menu.priorities.prioritized.hint'}}</p>
  18. </label>
  19. <select name="packages-prioritized" class="packages-prioritized" size="8">
  20. {{#if packages.prioritized}}
  21. {{#each packages.prioritized}}
  22. <option value="{{this.key}}">{{this.title}} ({{this.id}})</option>
  23. {{/each}}
  24. {{/if}}
  25. </select>
  26. </div>
  27. <div class="vertical-arrow-btn-group" style="width: 5%; padding-top: 45px;">
  28. <button type="button" class="change-priority" data-which="packages-prioritized" data-direction="up">&uarr;</button>
  29. <button type="button" class="change-priority" data-which="packages-prioritized" data-direction="down">&darr;</button>
  30. </div>
  31. <div class="arrow-btn-group" style="width: 10%">
  32. <button type="button" style="width:50%" class="change-category" data-from="packages-normal" data-to="packages-prioritized">&uarr;</button>
  33. <button type="button" style="width:50%" class="change-category" data-from="packages-prioritized" data-to="packages-normal">&darr;</button>
  34. </div>
  35. </div>
  36. <div class="package-priority-group">
  37. <div class="form-group" style="width: 90%">
  38. <label for="packages-normal">{{localize 'lib-wrapper.settings.menu.priorities.unprioritized.title'}}
  39. <p class="notes">{{localize 'lib-wrapper.settings.menu.priorities.unprioritized.hint'}}</p>
  40. </label>
  41. <select name="packages-normal" class="packages-normal" size="8">
  42. {{#if packages.normal}}
  43. {{#each packages.normal}}
  44. <option value="{{this.key}}">{{this.title}} ({{this.id}})</option>
  45. {{/each}}
  46. {{/if}}
  47. </select>
  48. </div>
  49. <div class="arrow-btn-group" style="width: 10%">
  50. <button type="button" style="width:50%" class="change-category" data-from="packages-deprioritized" data-to="packages-normal">&uarr;</button>
  51. <button type="button" style="width:50%" class="change-category" data-from="packages-normal" data-to="packages-deprioritized">&darr;</button>
  52. </div>
  53. </div>
  54. <div class="package-priority-group">
  55. <div class="form-group" style="width: 90%; float:left">
  56. <label for="packages-deprioritized">{{localize 'lib-wrapper.settings.menu.priorities.deprioritized.title'}}
  57. <p class="notes">{{localize 'lib-wrapper.settings.menu.priorities.deprioritized.hint'}}<br><b>{{localize 'lib-wrapper.settings.menu.priorities.deprioritized.note'}}</b></p>
  58. </label>
  59. <select name="packages-deprioritized" class="packages-deprioritized" size="8">
  60. {{#if packages.deprioritized}}
  61. {{#each packages.deprioritized}}
  62. <option value="{{this.key}}">{{this.title}} ({{this.id}})</option>
  63. {{/each}}
  64. {{/if}}
  65. </select>
  66. </div>
  67. <div class="vertical-arrow-btn-group" style="width: 5%; padding-top: 45px;">
  68. <button type="button" class="change-priority" data-which="packages-deprioritized" data-direction="up">&uarr;</button>
  69. <button type="button" class="change-priority" data-which="packages-deprioritized" data-direction="down">&darr;</button>
  70. </div>
  71. </div>
  72. <div style="margin: auto; width: 50%; padding-top: 60px">
  73. <button type="button" class='submit' style="width:30%">{{localize 'lib-wrapper.settings.save'}}</button>
  74. <button type="button" class="reload" style="width:30%">{{localize 'lib-wrapper.settings.reload'}}</button>
  75. <button type="button" class="reset" style="width:30%">{{localize 'lib-wrapper.settings.reset'}}</button>
  76. </div>
  77. </section>
  78. <section class='tab' data-tab='Conflicts'>
  79. <h1>{{localize 'lib-wrapper.settings.menu.conflicts.name'}}</h1>
  80. {{#if about.collect_stats}}
  81. {{#if conflicts}}
  82. {{#each conflicts}}
  83. <ul id="{{this.package_id}}_{{this.other_id}}" class="has-nested">
  84. <li>
  85. <span class="caret has-nested">
  86. {{this.package_id}} vs. {{this.other_id}} ({{#if this.count}}x{{this.count}}{{/if}}{{#if this.count}}{{#if this.ignored}}; {{/if}}{{/if}}{{#if this.ignored}}ignored x{{this.ignored}}{{/if}})
  87. </span>
  88. <ul class="nested">
  89. {{#each this.targets}}
  90. <li>
  91. {{this.target}} ({{#if this.count}}x{{this.count}}{{/if}}{{#if this.count}}{{#if this.ignored}}; {{/if}}{{/if}}{{#if this.ignored}}ignored x{{this.ignored}}{{/if}})
  92. </li>
  93. {{/each}}
  94. </ul>
  95. </li>
  96. </ul>
  97. {{/each}}
  98. {{^}}
  99. <p>{{localize 'lib-wrapper.settings.menu.conflicts.none-detected'}}</p>
  100. {{/if}}
  101. {{^}}
  102. <p>{{localize 'lib-wrapper.settings.menu.conflicts.statistics-disabled'}}</p>
  103. {{/if}}
  104. <div style="margin: auto; width: 100%; padding-top: 60px; text-align: center">
  105. <button type="button" class="reload" style="width: 40%">{{localize 'lib-wrapper.settings.reload'}}</button>
  106. <span style="position: relative; top: 5px; padding-left: 20px" class="lw-show-ignored-conflicts">
  107. <input type="checkbox" id="lw-show-ignored-conflicts-checkbox" name="lw-show-ignored-conflicts-checkbox" {{#if show_ignored_conflicts}}checked{{/if}}>
  108. <label for="lw-show-ignored-conflicts-checkbox" style="position: relative; top: -5px">{{localize 'lib-wrapper.settings.menu.conflicts.show-ignored'}}</label>
  109. </span>
  110. </div>
  111. </section>
  112. <section class='tab' data-tab='Wrappers'>
  113. <h1>{{localize 'lib-wrapper.settings.menu.active-wrappers.name'}}</h1>
  114. {{#if wrappers}}
  115. {{#each wrappers}}
  116. <ul id="{{this.name}}" class="has-nested">
  117. <li><span class="caret has-nested">{{this.name}} ID={{this.id}} (x{{this.packages.length}})</span>
  118. {{#if this.names}}
  119. <ul class="nested">
  120. <li><span class="has-nested">Wrappers:</span>
  121. {{/if}}
  122. <ul class="nested">
  123. {{#each this.packages}}
  124. <li>{{this.name}} ({{this.type}}{{this.perf_mode}})</li>
  125. {{/each}}
  126. {{#if this.names}}
  127. </ul>
  128. </li>
  129. <li><span class="has-nested">Also known as:</span>
  130. <ul class="nested">
  131. {{#each this.names}}
  132. <li>{{this}}</li>
  133. {{/each}}
  134. </ul>
  135. </li>
  136. {{/if}}
  137. </ul>
  138. </li>
  139. </ul>
  140. {{/each}}
  141. {{^}}
  142. <p>{{localize 'lib-wrapper.settings.menu.active-wrappers.none-active'}}</p>
  143. {{/if}}
  144. <div style="margin: auto; width: 15%; padding-top: 60px">
  145. <button type="button" class="reload" style="width:100%">{{localize 'lib-wrapper.settings.reload'}}</button>
  146. </div>
  147. </section>
  148. <section class='tab' data-tab='About'>
  149. <h1>{{localize 'lib-wrapper.settings.menu.about.full-name'}}</h1>
  150. <p style="text-align: center"><b>{{localize 'lib-wrapper.settings.menu.about.credits' name=about.name version=about.version author='Rui Pinheiro'}}</b>
  151. {{#if about.translation_credits}}
  152. <br>{{about.translation_credits}}
  153. {{/if}}
  154. </p>
  155. <p>{{localize 'lib-wrapper.settings.menu.about.description'}}</p>
  156. <p>{{{localize 'lib-wrapper.settings.menu.about.info' repo_url='https://foundryvtt.com/packages/lib-wrapper' github_url='https://github.com/ruipin/fvtt-lib-wrapper/'}}}</p>
  157. {{#if about.support}}
  158. <p>{{{localize 'lib-wrapper.settings.menu.about.support'}}}</p>
  159. <ul>
  160. {{#each about.support}}
  161. <li>
  162. <a href="{{this.url}}">{{this.title}}</a>
  163. </li>
  164. {{/each}}
  165. </ul>
  166. {{/if}}
  167. <p>{{{localize 'lib-wrapper.settings.menu.about.issue-tracker' issues_url='https://github.com/ruipin/fvtt-lib-wrapper/issues'}}}</p>
  168. </section>
  169. </form>