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.

100 lines
5.9 KiB

1 year ago
  1. <li class="row flexrow {{#if condition.hidden}}hidden{{/if}}" data-mapping-row="{{@index}}" data-condition-id="{{condition.id}}" >
  2. <!--column 1-->
  3. <!--column 2-->
  4. <div class="flexcol content1">
  5. <!--row 1 icon + text-->
  6. <div class="flexrow">
  7. <!--row 1 col 1 icon-->
  8. <div class="flexcol icon">
  9. <img name="icon-{{@index}}" src="{{condition.icon}}" title="Status Icon" class="icon" />
  10. </div>
  11. <!--row 1 col 2 text-entry-->
  12. <div class="flexcol text-entry">
  13. <div class="flexrow">
  14. <div class="condition">
  15. <div class="wrapper-rel">
  16. <label for="condition-{{@index}}" class="inset-label">{{localize "combat-utility-belt.WORDS.Name"}}</label>
  17. <input type="text" name="condition-{{@index}}" title="Condition" value="{{condition.name}}" class="condition condition-text-input" placeholder="Condition Name" data-dtype="String" {{#if isDefault}}disabled{{/if}}>
  18. </div>
  19. </div>
  20. </div>
  21. <div class="flexrow condition-lab text-entry reference">
  22. <div class="wrapper-rel">
  23. <label for="reference-item-{{@index}}" class="inset-label">{{localize "combat-utility-belt.WORDS.Reference"}}</label>
  24. <input type="text" name="reference-item-{{@index}}" value="{{condition.referenceId}}" title="Condition Reference" placeholder="{{localize "combat-utility-belt.ENHANCED_CONDITIONS.ConditionLab.NoReference"}}" {{#if isDefault}}disabled{{/if}}>
  25. </div>
  26. <div class="enriched-link">{{{condition.enrichedReference}}}</div>
  27. </div>
  28. </div>
  29. </div>
  30. <!--row 2 reference-->
  31. <div class="flexrow path">
  32. <div class="wrapper-rel">
  33. <label for="icon-path-{{@index}}" class="inset-label">{{localize "combat-utility-belt.WORDS.Icon"}}</label>
  34. <input type="text" name="icon-path-{{@index}}" title="Status Icon Path" class="icon-path condition-text-input" value="{{condition.icon}}" placeholder="/icons/example.svg" data-dtype="String" {{#if isDefault}}disabled{{/if}}>
  35. </div>
  36. <button type="button" name="file-picker-{{@index}}" class="file-picker" data-type="image" data-target="icon-path-{{@index}}" title="Browse Files" tabindex="-1" {{#if isDefault}}hidden{{/if}}>
  37. <i class="fas fa-file-import fa-fw"></i>
  38. </button>
  39. </div>
  40. </div>
  41. <!--column 3-->
  42. <div class="flexcol content2">
  43. <div class="flexrow related-buttons">
  44. {{!-- <div class="active-effect"> --}}
  45. <button type="button"
  46. name="option-config"
  47. class="option-config"
  48. title="{{condition.optionButtonTitle}}">
  49. <i class="fas fa-cog"></i> {{localize "combat-utility-belt.ENHANCED_CONDITIONS.ConditionLab.Buttons.Options"}}
  50. </button>
  51. <button type="button"
  52. class="active-effect-config"
  53. title="{{#if condition.isNew}}
  54. {{localize "ENHANCED_CONDITIONS.Lab.ActiveEffects.TitleDisabledNew"}}
  55. {{else if isDefault}}{{localize "ENHANCED_CONDITIONS.Lab.ActiveEffects.TitleDisabledDefault"}}
  56. {{else}}{{localize "ENHANCED_CONDITIONS.Lab.ActiveEffects.Title"}}
  57. {{/if}}"
  58. {{#if (or condition.isNew isDefault) }}disabled{{else}}{{/if}}>
  59. <i class="fas fa-hand-sparkles"></i> Active Effect
  60. </button>
  61. <div class="flex-break"></div>
  62. <button type="button"
  63. class="trigger-config"
  64. title="{{condition.triggerButtonTitle}}">
  65. {{> "modules/combat-utility-belt/templates/partials/triggler-icon.hbs"}} Triggers
  66. </button>
  67. <button type="button"
  68. name="macro-config"
  69. class="macro-config"
  70. title="{{condition.macroButtonTitle}}">
  71. <i class="fas fa-code"></i> Macros
  72. </button>
  73. </div>
  74. </div>
  75. <!--column 4-->
  76. <!--delete row-->
  77. <div class="flexcol row-controls">
  78. <div class="move-up">
  79. {{#unless sortDirection}}
  80. {{#unless (eq key 0)}}<a class="move-up"><i class="fas fa-chevron-up"></i></a>{{/unless}}
  81. {{/unless}}
  82. </div>
  83. <div class="remove-row">
  84. {{#unless isDefault}}
  85. <a name="remove-row-{{@index}}" class="remove-row" title="Delete Row">
  86. <i class="fas fa-trash"></i>
  87. </a>
  88. {{/unless}}
  89. </div>
  90. <div class="move-down">
  91. {{#unless sortDirection}}
  92. {{#unless (eq key conditionMapLength)}}<a class="move-down"><i class="fas fa-chevron-down"></i></a>{{/unless}}
  93. {{/unless}}
  94. </div>
  95. </div>
  96. </li>