mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 18:23:50 +00:00
Improve styling, disable already loaded results
This commit is contained in:
parent
6842e6380d
commit
0731289791
|
@ -12,12 +12,13 @@
|
|||
Load Historic results from disk. You can click on multiple results to load all of them into
|
||||
freqUI.
|
||||
</p>
|
||||
<b-list-group v-if="botStore.activeBot.backtestHistoryList" class="ms-2">
|
||||
<b-list-group v-if="botStore.activeBot.backtestHistoryList" class="ms-2 mb-1">
|
||||
<b-list-group-item
|
||||
v-for="(res, idx) in botStore.activeBot.backtestHistoryList"
|
||||
:key="idx"
|
||||
class="d-flex justify-content-between align-items-center py-1 mb-1"
|
||||
class="d-flex justify-content-between align-items-center py-1"
|
||||
button
|
||||
:disabled="res.run_id in botStore.activeBot.backtestHistory"
|
||||
@click="botStore.activeBot.getBacktestHistoryResult(res)"
|
||||
>
|
||||
<strong>{{ res.strategy }}</strong>
|
||||
|
@ -33,6 +34,7 @@
|
|||
class="ms-1"
|
||||
size="sm"
|
||||
title="Delete this Result."
|
||||
:disabled="res.run_id in botStore.activeBot.backtestHistory"
|
||||
@click.stop="deleteBacktestResult(res)"
|
||||
>
|
||||
<i-mdi-delete />
|
||||
|
|
|
@ -80,6 +80,12 @@
|
|||
background: $bg-dark;
|
||||
}
|
||||
|
||||
.list-group-item.disabled,
|
||||
.list-group-item:disabled {
|
||||
color: darken($fg-color, 40%);
|
||||
background: $bg-dark;
|
||||
}
|
||||
|
||||
// .custom-select {
|
||||
// color: $fg-color;
|
||||
// // background: $bg-dark;
|
||||
|
|
Loading…
Reference in New Issue
Block a user