ds4/templates/sheets/actor/components/character-properties.hbs

74 lines
4 KiB
Handlebars
Raw Permalink Normal View History

2021-07-11 05:04:05 +02:00
{{!--
SPDX-FileCopyrightText: 2021 Johannes Loher
SPDX-FileCopyrightText: 2021 Oliver Rümpelein
SPDX-FileCopyrightText: 2021 Gesina Schwalbe
SPDX-License-Identifier: MIT
--}}
2021-07-12 00:12:59 +02:00
<div class="ds4-actor-properties">
<div class="ds4-actor-properties__property">
<label class="ds4-actor-properties__property-label"
for="data.baseInfo.race-{{data._id}}">{{config.i18n.characterBaseInfo.race}}</label>
<input type="text" name="data.baseInfo.race" id="data.baseInfo.race-{{data._id}}"
value="{{data.data.baseInfo.race}}" data-dtype="String" />
2021-07-11 05:04:05 +02:00
</div>
2021-07-12 00:12:59 +02:00
<div class="ds4-actor-properties__property">
<label class="ds4-actor-properties__property-label"
for="data.baseInfo.culture-{{data._id}}">{{config.i18n.characterBaseInfo.culture}}</label>
<input id="data.baseInfo.culture-{{data._id}}" type="text" name="data.baseInfo.culture"
2021-07-11 05:04:05 +02:00
value="{{data.data.baseInfo.culture}}" data-dtype="String" />
</div>
2021-07-12 00:12:59 +02:00
<div class="ds4-actor-properties__property">
<label class="ds4-actor-properties__property-label"
for="data.progression.progressPoints.used-{{data._id}}">{{config.i18n.characterProgression.progressPoints}}</label>
<div class="ds4-actor-properties__property-multi-input">
<input id="data.progression.progressPoints.used-{{data._id}}" type="number"
name="data.progression.progressPoints.used" value="{{data.data.progression.progressPoints.used}}"
data-dtype="Number" />
2021-07-11 05:04:05 +02:00
<span class="input-divider"> / </span>
2022-01-21 03:22:17 +01:00
<label class="ds4-hidden" for="data.progression.progressPoints.total-{{data._id}}">Total
2021-07-11 05:04:05 +02:00
Progression Points</label>
2021-07-12 00:12:59 +02:00
<input type="number" id="data.progression.progressPoints.total-{{data._id}}"
name="data.progression.progressPoints.total" value="{{data.data.progression.progressPoints.total}}"
data-dtype="Number" />
2021-07-11 05:04:05 +02:00
</div>
</div>
2021-07-12 00:12:59 +02:00
<div class="ds4-actor-properties__property">
<label class="ds4-actor-properties__property-label"
for="data.progression.talentPoints.used-{{data._id}}">{{config.i18n.characterProgression.talentPoints}}</label>
<div class="ds4-actor-properties__property-multi-input">
<input type="number" name="data.progression.talentPoints.used"
id="data.progression.talentPoints.used-{{data._id}}" value="{{data.data.progression.talentPoints.used}}"
data-dtype="Number" />
2021-07-11 05:04:05 +02:00
<span class="input-divider"> / </span>
2022-01-21 03:22:17 +01:00
<label for="data.progression.talentPoints.total-{{data._id}}" class="ds4-hidden">Total Talent Points</label>
2021-07-12 00:12:59 +02:00
<input type="number" name="data.progression.talentPoints.total"
id="data.progression.talentPoints.total-{{data._id}}"
2021-07-11 05:04:05 +02:00
value="{{data.data.progression.talentPoints.total}}" data-dtype="Number" />
</div>
</div>
2021-07-12 00:12:59 +02:00
<div class="ds4-actor-properties__property">
<label class="ds4-actor-properties__property-label"
for="data.baseInfo.class-{{data._id}}">{{config.i18n.characterBaseInfo.class}}</label>
<select id="data.baseInfo.class-{{data._id}}" name="data.baseInfo.class" data-dtype="String">
{{#select data.data.baseInfo.class}}
{{#each classes as |value key|}}
<option value="{{key}}">{{localize value.name}}</option>
{{/each}}
{{/select}}
</select>
2021-07-11 05:04:05 +02:00
</div>
2021-07-12 00:12:59 +02:00
<div class="ds4-actor-properties__property">
<label class="ds4-actor-properties__property-label"
for="data.baseInfo.heroClass-{{data._id}}">{{config.i18n.characterBaseInfo.heroClass}}</label>
<select id="data.baseInfo.heroClass-{{data._id}}" name="data.baseInfo.heroClass" data-dtype="String">
{{#select data.data.baseInfo.heroClass}}
{{#each heroClasses as |value key|}}
<option value="{{key}}">{{localize value.name}}</option>
{{/each}}
{{/select}}
</select>
2021-07-11 05:04:05 +02:00
</div>
</div>