feat: Implement Daggerheart Path Browser module to display and copy Active Effect data paths.
This commit is contained in:
commit
922814242d
7 changed files with 387 additions and 0 deletions
20
templates/list.hbs
Normal file
20
templates/list.hbs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<div class="paths-list">
|
||||
{{#each groups}}
|
||||
<div class="path-group">
|
||||
<h3 class="group-header">{{group}}</h3>
|
||||
<ul class="item-list">
|
||||
{{#each paths}}
|
||||
<li class="path-item" data-label="{{label}}" data-value="{{value}}" {{#if hint}}data-tooltip="{{hint}}"{{/if}}>
|
||||
<div class="path-item-info">
|
||||
<span class="path-label">{{label}}</span>
|
||||
<code class="path-value">@system.{{value}}</code>
|
||||
</div>
|
||||
<button type="button" class="copy-btn" data-action="copyPath" data-value="{{value}}" data-tooltip="Copy Data Path">
|
||||
<i class="fa-solid fa-copy"></i>
|
||||
</button>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue