forked from foundryvtt/pf2e
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update token config templates to latest core version (foundryvtt#15026)
- Loading branch information
Showing
2 changed files
with
30 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,127 +1,42 @@ | ||
<div class="tab" data-group="main" data-tab="light"> | ||
<nav class="tabs sheet-tabs secondary-tabs" data-group="light" aria-role="{{localize "LIGHT.NavLabel"}}"> | ||
<a class="item" data-tab="basic" data-group="light"><i class="fa-solid fa-lightbulb"></i> {{localize "LIGHT.HeaderBasic"}}</a> | ||
<a class="item" data-tab="animation" data-group="light"><i class="fa-solid fa-play"></i> {{localize "LIGHT.HeaderAnimation"}}</a> | ||
<a class="item" data-tab="advanced" data-group="light"><i class="fa-solid fa-cogs"></i> {{localize "LIGHT.HeaderAdvanced"}}</a> | ||
<a class="item" data-tab="basic" data-group="light"><i class="fa-solid fa-lightbulb"></i> {{localize "AMBIENT_LIGHT.SECTIONS.BASIC"}}</a> | ||
<a class="item" data-tab="animation" data-group="light"><i class="fa-solid fa-play"></i> {{localize "AMBIENT_LIGHT.SECTIONS.ANIMATION"}}</a> | ||
<a class="item" data-tab="advanced" data-group="light"><i class="fa-solid fa-cogs"></i> {{localize "AMBIENT_LIGHT.SECTIONS.ADVANCED"}}</a> | ||
</nav> | ||
|
||
<div class="tab" data-group="light" data-tab="basic"> | ||
<div class="form-group slim"> | ||
<label>{{localize "LIGHT.Radius"}} <span class="units">({{gridUnits}})</span></label> | ||
<label>{{localize "AMBIENT_LIGHT.LABELS.radius"}} <span class="units">({{gridUnits}})</span></label> | ||
<div class="form-fields"> | ||
<label>{{localize "LIGHT.Dim"}}</label> | ||
<input type="number" name="light.dim" placeholder="{{gridUnits}}" value="{{object.light.dim}}" step="any"/> | ||
<label>{{localize "LIGHT.Bright"}}</label> | ||
<input type="number" name="light.bright" placeholder="{{gridUnits}}" value="{{object.light.bright}}" step="any"/> | ||
<label>{{lightFields.dim.label}}</label> | ||
{{formInput lightFields.dim value=object.light.dim}} | ||
<label>{{lightFields.bright.label}}</label> | ||
{{formInput lightFields.bright value=object.light.bright}} | ||
</div> | ||
<p class="hint">{{localize "LIGHT.RadiusHint"}}</p> | ||
<p class="hint">{{ localize "AMBIENT_LIGHT.LABELS.radiusHint" }}</p> | ||
</div> | ||
|
||
<div class="form-group slim"> | ||
<label>{{localize "LIGHT.Angle"}} <span class="units">({{localize "Degrees"}})</span></label> | ||
<div class="form-fields"> | ||
<input type="number" name="light.angle" value="{{object.light.angle}}" placeholder="{{localize "Degrees"}}"/> | ||
</div> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label>{{localize "LIGHT.Color"}}</label> | ||
<div class="form-fields"> | ||
<color-picker name="light.color" value="{{object.light.color}}"></color-picker> | ||
</div> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label>{{localize "LIGHT.Alpha"}}</label> | ||
<div class="form-fields"> | ||
{{rangePicker name="light.alpha" value=object.light.alpha min="0" max="1" step="0.05"}} | ||
</div> | ||
<p class="hint">{{localize "LIGHT.ColorHint"}}</p> | ||
</div> | ||
{{formGroup lightFields.angle value=object.light.angle step=1 units="Degrees"}} | ||
{{formGroup lightFields.color value=object.light.color}} | ||
{{formGroup lightFields.alpha value=object.light.alpha step=0.05}} | ||
</div> | ||
|
||
<div class="tab" data-group="light" data-tab="animation"> | ||
<div class="form-group"> | ||
<label>{{localize "LIGHT.AnimationType"}}</label> | ||
<div class="form-fields"> | ||
<select name="light.animation.type"> | ||
{{selectOptions lightAnimations selected=object.light.animation.type localize=true}} | ||
</select> | ||
</div> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label>{{localize "LIGHT.AnimationSpeed"}}</label> | ||
<div class="form-fields"> | ||
{{rangePicker name="light.animation.speed" value=object.light.animation.speed min="0" max="10" step="1"}} | ||
</div> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label>{{localize "LIGHT.AnimationReverse"}}</label> | ||
<div class="form-fields"> | ||
<input type="checkbox" name="light.animation.reverse" {{checked object.light.animation.reverse}}/> | ||
</div> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label>{{localize "LIGHT.AnimationIntensity"}}</label> | ||
<div class="form-fields"> | ||
{{rangePicker name="light.animation.intensity" value=object.light.animation.intensity min="1" max="10" step="1"}} | ||
</div> | ||
<p class="hint">{{localize "LIGHT.AnimationHint"}}</p> | ||
</div> | ||
{{formGroup lightFields.animation.fields.type value=object.light.animation.type | ||
choices=lightAnimations labelAttr="label" blank="None" sort=true localize=true}} | ||
{{formGroup lightFields.animation.fields.speed value=object.light.animation.speed}} | ||
{{formGroup lightFields.animation.fields.reverse value=object.light.animation.reverse}} | ||
{{formGroup lightFields.animation.fields.intensity value=object.light.animation.intensity}} | ||
</div> | ||
|
||
<div class="tab" data-group="light" data-tab="advanced"> | ||
<div class="form-group"> | ||
<label>{{localize "LIGHT.ColorationTechnique"}}</label> | ||
<div class="form-fields"> | ||
<select name="light.coloration" data-dtype="Number"> | ||
{{selectOptions colorationTechniques selected=object.light.coloration valueAttr="id" labelAttr="label" localize=true}} | ||
</select> | ||
</div> | ||
<p class="hint">{{localize "LIGHT.ColorationTechniqueHint"}}</p> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label>{{localize "LIGHT.Luminosity"}}</label> | ||
<div class="form-fields"> | ||
{{rangePicker name="light.luminosity" value=object.light.luminosity min="0" max="1" step="0.05"}} | ||
</div> | ||
<p class="hint">{{localize "LIGHT.LuminosityHint"}}</p> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label>{{localize "LIGHT.Attenuation"}}</label> | ||
<div class="form-fields"> | ||
{{rangePicker name="light.attenuation" value=object.light.attenuation min="0" max="1" step="0.05"}} | ||
</div> | ||
<p class="hint">{{localize "LIGHT.AttenuationHint"}}</p> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label>{{localize "LIGHT.Saturation"}}</label> | ||
<div class="form-fields"> | ||
{{rangePicker name="light.saturation" value=object.light.saturation min="-1" max="1" step="0.05"}} | ||
</div> | ||
<p class="hint">{{localize "LIGHT.SaturationHint"}}</p> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label>{{localize "LIGHT.Contrast"}}</label> | ||
<div class="form-fields"> | ||
{{rangePicker name="light.contrast" value=object.light.contrast min="-1" max="1" step="0.05"}} | ||
</div> | ||
<p class="hint">{{localize "LIGHT.ContrastHint"}}</p> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label>{{localize "LIGHT.Shadows"}}</label> | ||
<div class="form-fields"> | ||
{{rangePicker name="light.shadows" value=object.light.shadows min="0" max="1" step="0.05"}} | ||
</div> | ||
<p class="hint">{{localize "LIGHT.ShadowsHint"}}</p> | ||
</div> | ||
{{formGroup lightFields.coloration value=object.light.coloration | ||
choices=colorationTechniques valueAttr="id" labelAttr="label" localize=true}} | ||
{{formGroup lightFields.luminosity value=object.light.luminosity step=0.05}} | ||
{{formGroup lightFields.attenuation value=object.light.attenuation step=0.05}} | ||
{{formGroup lightFields.saturation value=object.light.saturation step=0.05}} | ||
{{formGroup lightFields.contrast value=object.light.contrast step=0.05}} | ||
{{formGroup lightFields.shadows value=object.light.shadows step=0.05}} | ||
</div> | ||
</div> |