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.

62 lines
2.8 KiB

1 year ago
  1. <form autocomplete="off" onsubmit="event.preventDefault();">
  2. <h2>
  3. <i class="fas fa-flask"></i> {{localize "ENHANCED_CONDITIONS.Lab.Title"}}
  4. {{#if unsavedMap}} <strong> {{localize "ENHANCED_CONDITIONS.Lab.MappingType.Unsaved"}}</strong>{{/if}}
  5. </h2>
  6. <div class="flexrow">
  7. {{!-- List Controls --}}
  8. <div class="flexrow condition-list-controls">
  9. <div class="sort">
  10. <a class="sort-list" title="{{sortTitle}}">
  11. <span class="fa-stack fa-1x">
  12. {{#unless sortDirection}}<i class="fas fa-slash fa-stack-1x"></i>{{/unless}}
  13. {{#if (eq sortDirection "desc")}}<i class="fas fa-sort-alpha-down-alt fa-stack-1x"></i>
  14. {{else}}<i class="fas fa-sort-alpha-down fa-stack-1x"></i>
  15. {{/if}}
  16. </span>
  17. </a>
  18. </div>
  19. <div class="filter">
  20. <div class="input-wrapper">
  21. <i class="fas fa-filter"></i>
  22. <input type="text" name="filter-list" title="{{filterTitle}}" placeholder="{{filterTitle}}" value="{{filterValue}}" data-dtype="String">
  23. </div>
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label>{{localize "ENHANCED_CONDITIONS.Lab.MappingType.Label"}}</label>
  28. <select name="map-type" class="map-type" title="">
  29. {{#select mapType}}
  30. {{#each mapTypeChoices as |label name|}}
  31. <option value="{{name}}">{{label}}</option>
  32. {{/each}}
  33. {{/select}}
  34. </select>
  35. </div>
  36. {{!-- <hr> --}}
  37. </div>
  38. <ol class="condition-lab list">
  39. {{#each displayedMap as |condition key|}}
  40. {{> "modules/combat-utility-belt/templates/partials/condition-lab-row.hbs" condition=condition key=key isDefault=../isDefault conditionMapLength=../displayedMap.length sortDirection=../sortDirection}}
  41. {{/each}}
  42. <div class="flexrow add-row">
  43. <a name="add-row" title="Add Row">
  44. <i class="fas fa-plus"></i> {{#if isDefault}}Add Row (switch to System - Custom){{else}}Add Row{{/if}}
  45. </a>
  46. </div>
  47. </ol>
  48. <footer class="flexrow">
  49. <button type="submit" name="submit" title="Save mapping form values" {{#if unsavedMap}}class="highlight"{{/if}}>
  50. <i class="far fa-save"></i> Save Mapping
  51. </button>
  52. <button type="button" name="reset" title="Reset unsaved changes">
  53. <i class="fas fa-undo"></i> Reset Mapping
  54. </button>
  55. <button type="button" name="restore" class="restore-defaults" title="Restore mappings back to system defaults">
  56. <i class="fas fa-history"></i> Restore Defaults
  57. </button>
  58. </footer>
  59. </form>