Zusammenführung-von-Fertigkeiten,-Waffen-und-Rüstungen-im-Kampf-Tab-#15 (#48)
- Created character description tab - Redesigned skill, gear and combat tab - Weapons, defense weapons and armor is still in the gear tab. If you equip them (now directly possible via click on the equip icon), they appear in the combat tab. Reason: This holds the combat tab clean for combat stuff. Co-authored-by: Ender <harald@drueppels.de> Reviewed-on: #48 Reviewed-by: Byroks <byroks@gmail.com>
This commit was merged in pull request #48.
This commit is contained in:
@@ -49,6 +49,25 @@
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="flexrow">
|
||||
<span>{{localize "TYPES.Item.container"}}</span>
|
||||
{{#if data.calc.containers}}
|
||||
<select class="select-container" name="data.containerId" data-type="String">
|
||||
{{#select data.containerId}}
|
||||
<option value="">{{localize "midgard5.no-container"}}</option>
|
||||
{{#each data.calc.containers as |container key|}}
|
||||
<option value="{{key}}">{{container.label}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
{{else}}
|
||||
<span>{{localize "midgard5.assignItemToCharacter"}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{localize "midgard5.lpProtection"}}</td>
|
||||
<td><input name="data.lpProtection" type="text" value="{{data.lpProtection}}" data-dtype="Number" /></td>
|
||||
|
||||
@@ -9,6 +9,10 @@
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<div class="flexrow">
|
||||
<span>
|
||||
<input id="data.equipped" type="checkbox" name="data.equipped" {{checked data.equipped}}>
|
||||
<label for="data.equipped">{{localize "midgard5.equipped"}}</label>
|
||||
</span>
|
||||
<span>
|
||||
<input id="data.magic" type="checkbox" name="data.magic" {{checked data.magic}}>
|
||||
<label for="data.magic">{{localize "midgard5.magic"}}</label>
|
||||
@@ -49,6 +53,25 @@
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="flexrow">
|
||||
<span>{{localize "TYPES.Item.container"}}</span>
|
||||
{{#if data.calc.containers}}
|
||||
<select class="select-container" name="data.containerId" data-type="String">
|
||||
{{#select data.containerId}}
|
||||
<option value="">{{localize "midgard5.no-container"}}</option>
|
||||
{{#each data.calc.containers as |container key|}}
|
||||
<option value="{{key}}">{{container.label}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
{{else}}
|
||||
<span>{{localize "midgard5.assignItemToCharacter"}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{localize "midgard5.defenseBonus"}}</td>
|
||||
<td><input name="data.stats.defenseBonus" type="text" value="{{data.stats.defenseBonus}}" data-dtype="Number" /></td>
|
||||
|
||||
@@ -9,6 +9,10 @@
|
||||
<tr>
|
||||
<td colspan="5">
|
||||
<div class="flexrow">
|
||||
<span>
|
||||
<input id="data.equipped" type="checkbox" name="data.equipped" {{checked data.equipped}}>
|
||||
<label for="data.equipped">{{localize "midgard5.equipped"}}</label>
|
||||
</span>
|
||||
<span>
|
||||
<input id="data.magic" type="checkbox" name="data.magic" {{checked data.magic}}>
|
||||
<label for="data.magic">{{localize "midgard5.magic"}}</label>
|
||||
@@ -54,6 +58,25 @@
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="flexrow">
|
||||
<span>{{localize "TYPES.Item.container"}}</span>
|
||||
{{#if data.calc.containers}}
|
||||
<select class="select-container" name="data.containerId" data-type="String">
|
||||
{{#select data.containerId}}
|
||||
<option value="">{{localize "midgard5.no-container"}}</option>
|
||||
{{#each data.calc.containers as |container key|}}
|
||||
<option value="{{key}}">{{container.label}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
{{else}}
|
||||
<span>{{localize "midgard5.assignItemToCharacter"}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{localize "midgard5.base-damage"}}</td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user