50 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Handlebars
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Handlebars
		
	
	
	
	
	
| <section class="tab character-{{tab.id}} {{tab.cssClass}}" data-tab="{{tab.id}}" data-group="{{tab.group}}">
 | |
| 
 | |
|   <fieldset>
 | |
|     <legend>{{localize "LETHALFANTASY.Label.aetherPoints"}}</legend>
 | |
|     <div class="spell-details">
 | |
|       <div class="spell-detail">
 | |
|         <span >Current</span>
 | |
|         {{formField systemFields.aetherPoints.fields.value value=system.aetherPoints.value localize=true}}
 | |
|         <a data-action="aetherPointsPlus"><i class="fa-solid fa-hexagon-plus"></i></a>
 | |
|         <a data-action="aetherPointsMinus"><i class="fa-solid fa-hexagon-minus"></i></a>
 | |
| 
 | |
|         <span >Max</span>
 | |
|         {{formField systemFields.aetherPoints.fields.max value=system.aetherPoints.max localize=true disabled=isPlayMode}}
 | |
|         </div>
 | |
|       </div>
 | |
|     </div>
 | |
|   </fieldset>
 | |
| 
 | |
|   <fieldset>
 | |
|     <legend>{{localize "LETHALFANTASY.Label.spells"}}{{#if isEditMode}}<a class="action" data-tooltip="{{localize "
 | |
|         LETHALFANTASY.Tooltip.addSpell"}}" data-tooltip-direction="UP"><i class="fas fa-plus"
 | |
|           data-action="createSpell"></i></a>{{/if}}</legend>
 | |
|     <div class="spells">
 | |
|       {{#each spells as |item|}}
 | |
|       <div class="spell" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-drag="true" >
 | |
|         <img class="item-img" src="{{item.img}}" data-tooltip="{{item.name}}" />
 | |
|         <div class="name" >
 | |
|           {{item.name}}
 | |
|         </div>
 | |
| 
 | |
|         <a class="rollable" data-roll-type="spell-attack" data-roll-key="{{item.id}}" data-tooltip="Spell Attack">
 | |
|           <i class="lf-roll-small fa-solid fa-swords" data-roll-type="spell-attack" data-roll-key="{{item.id}}"></i>
 | |
|         </a>
 | |
| 
 | |
|         <a class="rollable" data-roll-type="spell-power" data-roll-key="{{item.id}}" data-tooltip="Spell Power">
 | |
|           <i class="fa-duotone fa-solid fa-stars" data-roll-type="spell-power" data-roll-key="{{item.id}}"></i>
 | |
|         </a>
 | |
| 
 | |
|         <div class="controls">
 | |
|           <a data-tooltip="{{localize 'LETHALFANTASY.Edit'}}" data-action="edit" data-item-id="{{item.id}}"
 | |
|             data-item-uuid="{{item.uuid}}"><i class="fas fa-edit"></i></a>
 | |
|           <a data-tooltip="{{localize 'LETHALFANTASY.Delete'}}" data-action="delete" data-item-id="{{item.id}}"
 | |
|             data-item-uuid="{{item.uuid}}"><i class="fas fa-trash"></i></a>
 | |
|         </div>
 | |
|       </div>
 | |
|       {{/each}}
 | |
|     </div>
 | |
|   </fieldset>
 | |
| 
 | |
| </section> |