From 4e60687b2bbf06b63cca10b73b7bb77005309bdb Mon Sep 17 00:00:00 2001 From: Gesina Schwalbe Date: Sun, 3 Jan 2021 21:24:32 +0100 Subject: [PATCH] unified class specifier in HTML elements - now all class=... is always first - flex attributes are first in class specifier - marked armor type image as item-image class --- .../actor/partials/items-overview.hbs | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/templates/actor/partials/items-overview.hbs b/src/templates/actor/partials/items-overview.hbs index 4faefc94..dac99439 100644 --- a/src/templates/actor/partials/items-overview.hbs +++ b/src/templates/actor/partials/items-overview.hbs @@ -12,7 +12,7 @@ --}} {{#*inline "addItemButton"}}
- + {{localize 'DS4.UserInteractionAddItem'}}
@@ -44,14 +44,14 @@
  • {{!-- equipped --}} {{#if (ne dataType 'equipment')}} -
    E
    +
    E
    {{/if}} {{!-- image --}} -
    +
    {{!-- amount --}} -
    #
    +
    #
    {{!-- name --}} -
    {{localize 'DS4.ItemName'}}
    +
    {{localize 'DS4.ItemName'}}
    {{!-- item type specifics --}} {{> @partial-block }} {{!-- description --}} @@ -108,22 +108,22 @@

    {{localize 'DS4.ItemTypeWeapon'}}

      {{#> itemListHeader dataType='weapon'}} -
      {{localize 'DS4.AttackTypeAbbr'}}
      -
      +
      {{localize 'DS4.AttackTypeAbbr'}}
      +
      {{localize 'DS4.WeaponBonusAbbr'}}
      -
      +
      {{localize 'DS4.OpponentDefenseAbbr'}}
      {{/itemListHeader}} {{#each itemsByType.weapon as |item id|}} {{#> itemListEntry item=item}} -
      +
      -
      {{ item.data.data.weaponBonus}}
      -
      {{ item.data.data.opponentDefense}}
      +
      {{ item.data.data.weaponBonus}}
      +
      {{ item.data.data.opponentDefense}}
      {{/itemListEntry}} {{/each}}
    @@ -175,7 +175,7 @@ {{/itemListHeader}} {{#each itemsByType.trinket as |item id|}} {{#> itemListEntry item=item }} - {{/itemListEntry}} {{/each}} @@ -189,7 +189,7 @@ {{/itemListHeader}} {{#each itemsByType.equipment as |item id|}} {{#> itemListEntry item=item }} - {{/itemListEntry}} {{/each}}