Ui tweaks
This commit is contained in:
@@ -83,6 +83,38 @@
|
|||||||
</v-card>
|
</v-card>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
v-for="resource in resources"
|
||||||
|
:key="resource._id"
|
||||||
|
class="resource"
|
||||||
|
>
|
||||||
|
<resource-card
|
||||||
|
v-bind="resource"
|
||||||
|
:data-id="resource._id"
|
||||||
|
@click="clickProperty({_id: resource._id})"
|
||||||
|
@change="e => incrementChange(resource._id, e)"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
v-if="spellSlots.length"
|
||||||
|
class="spell-slots"
|
||||||
|
>
|
||||||
|
<v-card>
|
||||||
|
<v-list>
|
||||||
|
<v-subheader>Spell Slots</v-subheader>
|
||||||
|
<spell-slot-list-tile
|
||||||
|
v-for="spellSlot in spellSlots"
|
||||||
|
:key="spellSlot._id"
|
||||||
|
v-bind="spellSlot"
|
||||||
|
:data-id="spellSlot._id"
|
||||||
|
@click="clickProperty({_id: spellSlot._id})"
|
||||||
|
@change="e => incrementChange(spellSlot._id, e)"
|
||||||
|
/>
|
||||||
|
</v-list>
|
||||||
|
</v-card>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-show="true"
|
v-show="true"
|
||||||
class="saving-throws"
|
class="saving-throws"
|
||||||
@@ -116,38 +148,6 @@
|
|||||||
</v-card>
|
</v-card>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
|
||||||
v-for="resource in resources"
|
|
||||||
:key="resource._id"
|
|
||||||
class="resource"
|
|
||||||
>
|
|
||||||
<resource-card
|
|
||||||
v-bind="resource"
|
|
||||||
:data-id="resource._id"
|
|
||||||
@click="clickProperty({_id: resource._id})"
|
|
||||||
@change="e => incrementChange(resource._id, e)"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div
|
|
||||||
v-if="spellSlots.length"
|
|
||||||
class="spell-slots"
|
|
||||||
>
|
|
||||||
<v-card>
|
|
||||||
<v-list>
|
|
||||||
<v-subheader>Spell Slots</v-subheader>
|
|
||||||
<spell-slot-list-tile
|
|
||||||
v-for="spellSlot in spellSlots"
|
|
||||||
:key="spellSlot._id"
|
|
||||||
v-bind="spellSlot"
|
|
||||||
:data-id="spellSlot._id"
|
|
||||||
@click="clickProperty({_id: spellSlot._id})"
|
|
||||||
@change="e => incrementChange(spellSlot._id, e)"
|
|
||||||
/>
|
|
||||||
</v-list>
|
|
||||||
</v-card>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="actions.length"
|
v-if="actions.length"
|
||||||
class="actions"
|
class="actions"
|
||||||
|
|||||||
@@ -4,8 +4,9 @@
|
|||||||
<text-field
|
<text-field
|
||||||
label="Base Value"
|
label="Base Value"
|
||||||
class="base-value-field"
|
class="base-value-field"
|
||||||
:value="model.baseValueCalculation"
|
|
||||||
hint="This is the value of the attribute before effects are applied"
|
hint="This is the value of the attribute before effects are applied"
|
||||||
|
style="width: 332px;"
|
||||||
|
:value="model.baseValueCalculation"
|
||||||
:error-messages="errors.baseValueCalculation"
|
:error-messages="errors.baseValueCalculation"
|
||||||
:debounce-time="debounceTime"
|
:debounce-time="debounceTime"
|
||||||
@change="(value, ack) => $emit('change', {path: ['baseValueCalculation'], value, ack})"
|
@change="(value, ack) => $emit('change', {path: ['baseValueCalculation'], value, ack})"
|
||||||
|
|||||||
Reference in New Issue
Block a user