Adds separate social status fields.

Adds repeating section for currency and their locations (to allow for bank accounts in different systems/planets)
This commit is contained in:
Gareth Brading
2022-07-12 00:17:23 +01:00
parent 185b162944
commit c99e3b0803
+61 -10
View File
@@ -1795,16 +1795,67 @@ on('change:repeating_equipment:ItemMass change:repeating_equipment:ItemQty chang
<div class="sheet-section-wealthequipment">
<div class="sheet-row">
<div class="sheet-broadskill sheet-col" style="width:8em">Allegiance</div>
<div class="sheet-col"><input type="text" name="attr_allegiance" class="sheet-16emwidth"></div>
</div>
<div class="sheet-row">
<div class="sheet-broadskill sheet-col" style="width:8em">Social Status</div>
<div class="sheet-col"><input type="text" name="attr_socialstatus" class="sheet-16emwidth"></div>
</div>
<div class="sheet-row">
<div class="sheet-broadskill sheet-col" style="width:8em">Currency</div>
<div class="sheet-col"><input type="text" name="attr_wealth" class="sheet-16emwidth"></div>
<div class="sheet-thirdwidth">
<div class="sheet-row">
<div class="sheet-broadskill sheet-col" style="width:8em">Allegiance</div>
<div class="sheet-col"><input type="text" name="attr_allegiance" class="sheet-16emwidth"></div>
</div>
<div class="sheet-row">
<div class="sheet-broadskill sheet-col" style="width:8em">Social Status</div>
<table class="sheet-bordersolid">
<thead>
<tr>
<th colspan="2" style="border-right: 1px solid black;">Authority</th>
<th colspan="3" style="border-right: 1px solid black;">Wealth</th>
<th colspan="2">Fame</th>
</tr>
<tr>
<!-- Authority -->
<td>Rank</td>
<td style="border-right: 1px solid black;">Steps</td>
<!-- Wealtd -->
<td>Rank</td>
<td>Steps</td>
<td style="border-right: 1px solid black;">Income</td>
<!-- Fame -->
<td>Rank</td>
<td>Steps</td>
</tr>
</thead>
<tbody>
<tr>
<!-- Authority -->
<td><input type="number" name="attr_AuthorityRank" class="sheet-score" value="0"></td>
<td style="border-right: 1px solid black;">
<input type="text" name="attr_AuthoritySteps" class="sheet-score" value="+0">
</td>
<!-- Wealth -->
<td><input type="number" name="attr_WealthRank" class="sheet-score" value="0"></td>
<td><input type="text" name="attr_WealthSteps" class="sheet-score" value="+0"></td>
<td style="border-right: 1px solid black;">
<input type="number" name="attr_WealthIncome" class="sheet-ability" value="0" placeholder="/month" title="Income /month">
</td>
<!-- Fame -->
<td><input type="number" name="attr_FameRank" class="sheet-score" value="0"></td>
<td><input type="text" name="attr_FameSteps" class="sheet-score" value="+0"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="sheet-thirdwidth">
<div class="sheet-broadskill sheet-col" style="width:8em">Currency</div>
<div class="sheet-row">
<div class="sheet-col sheet-10emwidth">Amount</div>
<div class="sheet-col sheet-16emwidth">Location</div>
</div>
<fieldset class="repeating_currency">
<div class="sheet-row">
<div class="sheet-col"><input type="text" name="attr_wealth" class="sheet-10emwidth" value="0"></div>
<div class="sheet-col"><input type="text" name="attr_wealthLocation" class="sheet-16emwidth"></div>
</div>
</fieldset>
</div>
</div>
<div class="sheet-row sheet-broadskill">Extended Notes:</div>
<div class="sheet-row">