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.

39 lines
1.8 KiB

  1. <form>
  2. <div class="form-group">
  3. <label>Category</label>
  4. <div class="form-fields">
  5. <select name="category">
  6. <option value="user" {{#if (eq category "user")}}selected="selected"{{/if}}>User</option>
  7. <option value="core" {{#if (eq category "core")}}selected="core"{{/if}}>CORE</option>
  8. <option value="community" {{#if (eq category "community")}}selected="community"{{/if}}>Community</option>
  9. </select>
  10. </div>
  11. <p class="notes">Template category you wish to view.</p>
  12. </div>
  13. {{#if allowCreate}}
  14. <button class="create">Create Template</button>
  15. <hr>
  16. {{/if}}
  17. <input type="text" class="search" placeholder="Search templates..">
  18. <hr>
  19. <ul class="template-list">
  20. {{#each templates}}
  21. <li class="template tooltip" data-id="{{id}}" data-name="{{name}}" data-url="{{fileURL}}" data-creator="{{createdBy}}">
  22. {{#if (or hint img)}}
  23. <div class="tooltiptext">
  24. {{#if hint}}<div class="description">{{{hint}}}</div>{{/if}}
  25. {{#if img}}<img data-src="{{img}}" loading="lazy">{{/if}}
  26. </div>
  27. {{/if}}
  28. <a>{{name}}</a> {{#if createdBy}}<span class="createdBy">- by {{createdBy}}{{/if}}</span>
  29. {{#if ../allowDelete}}<a class="delete" title="Delete"><i class="fa-solid fa-trash fa-xs"></i></a>{{/if}}
  30. {{#if ../allowCopy}}<a class="copy" title="Copy to User"><i class="fas fa-clone fa-xs"></i></a>{{/if}}
  31. {{#if system}}<br><span class="system">({{system}})</span>{{/if}}
  32. {{#each modules as |module|}}<span class="module" title="{{module.id}}">({{module.name}})</span>{{/each}}
  33. </li>
  34. {{/each}}
  35. </ul>
  36. </form>