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

51 lines
2.4 KiB

1 year ago
  1. <section class="{{cssClass}} directory flexcol" id="{{cssId}}" data-tab="{{tabName}}">
  2. <header class="directory-header">
  3. <div class="header-actions action-buttons flexrow">
  4. {{#if user.isGM}}
  5. <button class="create-compendium" type="submit"><i class="fas fa-atlas"></i> {{localize "COMPENDIUM.Create"}}</button>
  6. {{/if}}
  7. </div>
  8. <div class="header-search flexrow">
  9. <i class="fas fa-search"></i>
  10. <input type="search" name="search" autocomplete="off" spellcheck="false" placeholder="{{localize "COMPENDIUM.Search"}}" />
  11. </div>
  12. </header>
  13. <ol class="directory-list">
  14. {{#each packs as |group type|}}
  15. <li class="compendium-type" data-type="{{type}}">
  16. <h3 class="noborder">{{localize (concat "DOCUMENT." type)}}</h3>
  17. <ol class="compendium-list">
  18. {{#each group.packs as |pack|}}
  19. <li class="compendium-pack directory-item" data-collection="{{pack.collection}}" data-pack="{{pack.collection}}" data-open="0">
  20. <h4 class="pack-title">
  21. <a><i class="folder fas fa-folder"></i> {{pack.metadata.label}}</a>
  22. <div class="status-icons">
  23. {{#if pack.private}}<i class="fas fa-eye-slash"></i>{{/if}}
  24. {{#if pack.locked}}<i class="fas fa-lock"></i>{{/if}}
  25. </div>
  26. </h4>
  27. <footer class="compendium-footer">
  28. <span class="document-type">{{localize pack.documentName}}</span>
  29. <span> ({{pack.metadata.packageName}})</span>
  30. </footer>
  31. </li>
  32. {{/each}}
  33. <ol class="document-matches"></ol>
  34. </ol>
  35. </li>
  36. {{/each}}
  37. </ol>
  38. <footer class="directory-footer">
  39. <button type="button" class="compendium-browser-btn"><i class="fas fa-fire"></i> {{localize "PF2E.CompendiumBrowser.Title"}}</button>
  40. </footer>
  41. <template id="compendium-search-match">
  42. <li class="match" >
  43. <div class="thumbnail"><img /></div>
  44. <a class="name"></a>
  45. <span class="details"></span>
  46. </li>
  47. </template>
  48. </section>