refactor: resturcture files so that lincensing info can be bundled properly
This commit is contained in:
parent
699ba74840
commit
1aa284311f
484 changed files with 119 additions and 179 deletions
18
templates/sheets/item/components/item-header.hbs
Normal file
18
templates/sheets/item/components/item-header.hbs
Normal file
|
@ -0,0 +1,18 @@
|
|||
{{!--
|
||||
SPDX-FileCopyrightText: 2021 Johannes Loher
|
||||
|
||||
SPDX-License-Identifier: MIT
|
||||
--}}
|
||||
|
||||
<header class="ds4-item-header">
|
||||
<img class="ds4-item-header__img" src="{{data.img}}" data-edit="img" alt="{{localize 'DS4.ItemImageAltText'}}"
|
||||
title="{{data.name}}" />
|
||||
<div class="ds4-item-header__data">
|
||||
<h2 class="ds4-item-header__type">{{lookup config.i18n.itemTypes item.type}}</h2>
|
||||
<h1 class="ds4-item-header__name">
|
||||
<label for="name-{{data._id}}" class="ds4-item-header__name-label">{{localize 'DS4.ItemName'}}</label>
|
||||
<input class="ds4-item-header__name-input" name="name" type="text" id="name-{{data._id}}"
|
||||
value="{{data.name}}" placeholder="{{localize 'DS4.ItemName'}}" />
|
||||
</h1>
|
||||
</div>
|
||||
</header>
|
Loading…
Add table
Add a link
Reference in a new issue