Simplify KPI layout by removing unneeded div

This commit is contained in:
Matthias 2020-09-03 07:17:00 +02:00
parent 4af3197cda
commit 9cf812eef1

View File

@ -17,43 +17,39 @@
drag-allow-from=".drag-header" drag-allow-from=".drag-header"
> >
<DraggableContainer header="Bot KPI"> <DraggableContainer header="Bot KPI">
<div> <b-card-group deck>
<b-card-group deck> <b-card header="Open / Total trades">
<b-card header="Open / Total trades"> <b-card-text>
<b-card-text> <span class="text-primary">{{ openTrades.length }}</span> /
<span class="text-primary">{{ openTrades.length }}</span> / <span class="text-secondary">{{ profit.trade_count }}</span>
<span class="text-secondary">{{ profit.trade_count }}</span> </b-card-text>
</b-card-text> </b-card>
</b-card> <b-card header="Won / lost trades">
<b-card header="Won / lost trades"> <b-card-text>
<b-card-text> <span class="text-success">{{ profit.winning_trades }}</span> /
<span class="text-success">{{ profit.winning_trades }}</span> / <span class="text-danger">{{ profit.losing_trades }}</span>
<span class="text-danger">{{ profit.losing_trades }}</span> </b-card-text>
</b-card-text> </b-card>
</b-card> <b-card header="Last trade">
<b-card header="Last trade"> <b-card-text>{{ profit.latest_trade_date }}</b-card-text>
<b-card-text>{{ profit.latest_trade_date }}</b-card-text> </b-card>
</b-card> </b-card-group>
</b-card-group> <b-card-group deck class="mt-2">
</div> <b-card header="Best performing">
<div class="mt-3"> <b-card-text>{{ profit.best_pair }}</b-card-text>
<b-card-group deck> </b-card>
<b-card header="Best performing"> <b-card header="Total Balance">
<b-card-text>{{ profit.best_pair }}</b-card-text> <b-card-text
</b-card> >{{ formatPrice(balance.total) }} {{ dailyStats.stake_currency }}</b-card-text
<b-card header="Total Balance"> >
<b-card-text </b-card>
>{{ formatPrice(balance.total) }} {{ dailyStats.stake_currency }}</b-card-text <b-card v-if="profit.profit_closed_fiat" header="Total profit">
> <b-card-text
</b-card> >{{ formatPrice(profit.profit_closed_fiat) }}
<b-card v-if="profit.profit_closed_fiat" header="Total profit"> {{ dailyStats.fiat_display_currency }}</b-card-text
<b-card-text >
>{{ formatPrice(profit.profit_closed_fiat) }} </b-card>
{{ dailyStats.fiat_display_currency }}</b-card-text </b-card-group>
>
</b-card>
</b-card-group>
</div>
</DraggableContainer> </DraggableContainer>
</GridItem> </GridItem>
<GridItem <GridItem