#64-anzeige-von-zauber-pp (#96)

Reviewed-on: #96
This commit was merged in pull request #96.
This commit is contained in:
2024-03-29 14:02:47 +01:00
parent 7ac704cc61
commit a4cf10c5f1
7 changed files with 85 additions and 3 deletions
+28 -2
View File
@@ -1,5 +1,4 @@
<div class="flexbox">
<div class="flexcolumn-1">
<div class="flexpart">
<div class="flexpart-header"><img src="icons/magic/symbols/star-inverted-yellow.webp" class="flexpart-icon">{{localize "midgard5.spellCasting"}}</div>
@@ -41,7 +40,7 @@
<th class="title">{{localize "midgard5.spell-effectDuration-short"}}</th>
<th class="title">{{localize "midgard5.ew"}}</th>
<th class="title"><img src="/systems/midgard5/assets/icons/icon/battle-gear.svg" class="table-icon"></th>
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"><img src="/icons/svg/d20.svg" class="table-icon"></th></th>
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
<td><a class="title add-spell"><i class="fa-regular fa-plus"></i></a></th>
</tr>
</thead>
@@ -77,4 +76,31 @@
</div>
</div>
</div>
<div class="flexcolumn-1">
<div class="flexpart">
<div class="flexpart-header">{{localize "midgard5.pp"}} {{localize "midgard5.spells"}}</div>
<table>
<tbody>
<tr>
<td colspan="4">
<div class="flexrow">
{{#each data.lernKostenZauber as |group name|}}
<span data-pp-name="{{name}}" class="pp-listing">
<label for="data.lernKostenZauber.{{name}}">{{localize (m5concat "midgard5.spell-process-" name)}}</label>
<span >
<i class="fa fa-minus-circle pp-decrease" style="cursor: pointer"></i>
<input style="width:15px" type="number" value={{group.pp}} data-dtype="Number" />
<i class="fa fa-plus-circle pp-increase" style="cursor: pointer"></i>
</span>
</span>
{{/each}}
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>