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.

50 lines
2.3 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <section class="{{cssClass}} directory flexcol" id="{{cssId}}" data-tab="{{tabName}}">
  2. <!-- Directory Header -->
  3. <header class="directory-header flexcol">
  4. <div class="header-actions action-buttons flexrow">
  5. {{#if canCreateEntry}}
  6. <button class="create-entry"><i class="{{sidebarIcon}}"></i> {{localize 'SIDEBAR.Create' type=label}}</button>
  7. {{/if}}
  8. {{#if canCreateFolder}}
  9. <button class="create-folder"><i class="{{folderIcon}}"></i> {{localize 'FOLDER.Create'}}</button>
  10. {{/if}}
  11. </div>
  12. <div class="header-search flexrow">
  13. <i class="filter fa-solid {{#if filtersActive}}fa-filter-list{{else}}fa-filter{{/if}}"></i>
  14. <i class="fa-solid fa-search"></i>
  15. <input type="search" name="search" value="" placeholder="{{localize 'SIDEBAR.Search' types=labelPlural}}" autocomplete="off" />
  16. <a class="header-control toggle-sort" data-tooltip="{{localize sortTooltip}}"><i class="fa-solid {{sortIcon}}"></i></a>
  17. <a class="header-control collapse-all" data-tooltip="{{localize 'FOLDER.Collapse'}}"><i class="fa-duotone fa-folder-tree"></i></a>
  18. </div>
  19. </header>
  20. <!-- Directory Contents -->
  21. <ol class="directory-list">
  22. {{#each tree.children}}
  23. {{> (lookup @root "folderPartial") node=this folder=this.folder}}
  24. {{/each}}
  25. {{#each tree.entries}}
  26. {{> (lookup @root "entryPartial")}}
  27. {{/each}}
  28. <ol class="document-matches"></ol>
  29. </ol>
  30. <!-- Directory Footer -->
  31. <footer class="directory-footer action-buttons {{#if unavailable}}warning{{/if}}">
  32. {{~#if unavailable}}
  33. <i class="fa-solid fa-triangle-exclamation"></i>
  34. <a class="show-issues">{{localize "SUPPORT.UnavailableDocuments" count=unavailable document=label}}</a>
  35. {{/if~}}
  36. <button type="button" class="compendium-browser-btn">
  37. <i class="fa-solid fa-magnifying-glass"></i> {{localize "PF2E.CompendiumBrowser.Title"}}
  38. </button>
  39. </footer>
  40. <template class="compendium-search-match">
  41. <li class="match" >
  42. <div class="thumbnail"><img /></div>
  43. <a class="name"></a>
  44. <span class="details"></span>
  45. </li>
  46. </template>
  47. </section>