modify ui
This commit is contained in:
parent
c10ab44ea9
commit
03287b3b98
2 changed files with 9 additions and 13 deletions
|
@ -190,7 +190,7 @@ export const DS4 = {
|
|||
},
|
||||
|
||||
/**
|
||||
* Define currency elements for handlebars of a character
|
||||
* Define currency elements of a character
|
||||
*/
|
||||
currency: {
|
||||
gold: "DS4.CurrencyGold",
|
||||
|
|
|
@ -97,20 +97,16 @@
|
|||
|
||||
<div class="tab inventory" data-group="primary" data-tab="inventory">
|
||||
|
||||
|
||||
{{!-- Money --}}
|
||||
{{!-- Money--}}
|
||||
<h4 class="items-list-title">{{localize 'DS4.Currency'}}</h4>
|
||||
<ol class="items-list">
|
||||
<li class="item flexrow item-header">
|
||||
{{#each config.currency as |currency-name|}}
|
||||
<div class="flex3 item-num-val">{{currency-name}}</div>
|
||||
{{/each}}
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
{{#each data.currency as |currency-data-value currency-data-key|}}
|
||||
<input class="flex3 item-num-val item-change" name="data.currency.{{currency-data-key}}" value="{{currency-data-value}}"
|
||||
data-dtype="Number" />
|
||||
{{/each}}
|
||||
<li class="item flexrow item-header">
|
||||
<div class="flex05 item-num-val">{{config.currency.gold}}</div>
|
||||
<input class="flex05 item-num-val item-change" type="number" min="0" step="1" name="data.currency.gold" value="{{data.currency.gold}}" data-dtype="Number" />
|
||||
<div class="flex05 item-num-val">{{config.currency.silver}}</div>
|
||||
<input class="flex05 item-num-val item-change" type="number" min="0" step="1" name="data.currency.silver" value="{{data.currency.silver}}" data-dtype="Number" />
|
||||
<div class="flex05 item-num-val">{{config.currency.copper}}</div>
|
||||
<input class="flex05 item-num-val item-change" type="number" min="0" step="1" name="data.currency.copper" value="{{data.currency.copper}}" data-dtype="Number" />
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
|
|
Loading…
Reference in a new issue