2021-07-20 02:16:43 +02:00
|
|
|
{{!--
|
|
|
|
SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
|
|
SPDX-FileCopyrightText: 2021 Gesina Schwalbe
|
|
|
|
|
|
|
|
SPDX-License-Identifier: MIT
|
|
|
|
--}}
|
|
|
|
|
|
|
|
{{!--
|
|
|
|
!-- Render an effect list entry row.
|
|
|
|
!-- @param effectData: The data of the item.
|
|
|
|
--}}
|
2023-06-25 23:55:08 +02:00
|
|
|
<li class="ds4-embedded-document-list__row effect" data-effect-uuid="{{effectData.uuid}}">
|
2021-07-20 02:16:43 +02:00
|
|
|
{{!-- enabled --}}
|
2021-09-12 18:35:07 +02:00
|
|
|
<input class="ds4-embedded-document-list__editable ds4-embedded-document-list__editable--checkbox change-effect"
|
|
|
|
type="checkbox" {{checked (ne effectData.disabled true)}} data-dtype="Boolean" data-property="disabled"
|
|
|
|
data-inverted="true" title="{{localize 'DS4.EffectEnabled'}}">
|
|
|
|
|
2023-06-25 14:33:18 +02:00
|
|
|
{{!-- active --}}
|
|
|
|
{{#if effectData.active}}<i class="fas fa-check"></i>{{else}}<i class="fas fa-ban"></i>{{/if}}
|
2021-07-20 02:16:43 +02:00
|
|
|
|
|
|
|
{{!-- icon --}}
|
2022-01-21 03:22:17 +01:00
|
|
|
{{> systems/ds4/templates/sheets/shared/components/rollable-image.hbs rollable=false src=effectData.icon
|
2022-01-23 17:21:30 +01:00
|
|
|
alt=(localize "DS4.DocumentImageAltText" name=effectData.label) title=effectData.label}}
|
2021-07-20 02:16:43 +02:00
|
|
|
|
2023-06-25 14:33:18 +02:00
|
|
|
{{!-- name --}}
|
|
|
|
<div title="{{effectData.name}}">{{effectData.name}}</div>
|
2021-07-20 02:16:43 +02:00
|
|
|
|
2021-07-20 02:35:55 +02:00
|
|
|
{{!-- source name --}}
|
2022-08-15 15:02:31 +02:00
|
|
|
<div title="{{effectData.sourceName}}">{{effectData.sourceName}}</div>
|
2021-07-20 02:16:43 +02:00
|
|
|
|
2021-09-12 18:35:07 +02:00
|
|
|
{{!-- factor --}}
|
|
|
|
<div title="{{effectData.factor}}">{{effectData.factor}}</div>
|
|
|
|
|
2021-07-22 02:02:35 +02:00
|
|
|
{{!-- control button group --}}
|
2022-01-21 03:22:17 +01:00
|
|
|
{{> systems/ds4/templates/sheets/shared/components/control-button-group.hbs documentType="effect"
|
2021-07-22 02:02:35 +02:00
|
|
|
editTitle="DS4.UserInteractionEditEffectTitle" deleteTitle="DS4.UserInteractionDeleteEffectTitle"}}
|
2021-07-20 02:16:43 +02:00
|
|
|
</li>
|