2021-06-26 22:02:00 +02:00
|
|
|
{{!--
|
|
|
|
SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
|
|
SPDX-FileCopyrightText: 2021 Gesina Schwalbe
|
|
|
|
|
|
|
|
SPDX-License-Identifier: MIT
|
|
|
|
--}}
|
|
|
|
|
2020-12-28 18:49:55 +01:00
|
|
|
{{!-- Tab for the items view to manage effects --}}
|
2021-05-13 16:41:16 +02:00
|
|
|
<div class="tab effects" data-group="primary" data-tab="effects">
|
2020-12-28 18:49:55 +01:00
|
|
|
<ol class="effects-list">
|
|
|
|
<li class="effect flexrow effect-header">
|
|
|
|
<div class="effect-image"></div>
|
|
|
|
<div class="effect-name">Name</div>
|
|
|
|
<div class="effect-controls">
|
2021-07-20 02:16:43 +02:00
|
|
|
<a class="effect-control" data-action="create" title="{{localize 'DS4.UserInteractionAddEffectTitle'}}">
|
|
|
|
<i class="fas fa-plus"></i> {{localize 'DS4.UserInteractionAdd'}}</a>
|
2020-12-28 18:49:55 +01:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{#each item.effects as |effect id|}}
|
2021-06-30 14:24:23 +02:00
|
|
|
<li class="effect flexrow" data-effect-id="{{effect.id}}">
|
|
|
|
<h4 class="effect-name">{{effect.data.label}}</h4>
|
2020-12-28 18:49:55 +01:00
|
|
|
<div class="effect-controls">
|
2021-07-20 02:16:43 +02:00
|
|
|
<a class="effect-control" data-action="edit" title="{{localize 'DS4.UserInteractionEditEffectTitle'}}">
|
2021-01-24 17:40:08 +01:00
|
|
|
<i class="fas fa-edit"></i></a>
|
2021-07-20 02:16:43 +02:00
|
|
|
<a class="effect-control" data-action="delete"
|
|
|
|
title="{{localize 'DS4.UserInteractionDeleteEffectTitle'}}">
|
2021-01-24 17:40:08 +01:00
|
|
|
<i class="fas fa-trash"></i></a>
|
2020-12-28 18:49:55 +01:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ol>
|
2021-05-13 16:41:16 +02:00
|
|
|
</div>
|