mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-13 03:33:50 +00:00
Move controls into multipane
This commit is contained in:
parent
55cc721525
commit
22e3c1a976
|
@ -1,58 +1,56 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="container-fluid">
|
<div>
|
||||||
<div class="row">
|
<button
|
||||||
<button
|
class="btn btn-secondary btn-sm ml-1"
|
||||||
class="btn btn-secondary btn-sm ml-1"
|
:disabled="!isTrading || isRunning"
|
||||||
:disabled="!isTrading || isRunning"
|
title="Start Trading"
|
||||||
title="Start Trading"
|
@click="startBot()"
|
||||||
@click="startBot()"
|
>
|
||||||
>
|
<PlayIcon />
|
||||||
<PlayIcon />
|
</button>
|
||||||
</button>
|
<button
|
||||||
<button
|
class="btn btn-secondary btn-sm ml-1"
|
||||||
class="btn btn-secondary btn-sm ml-1"
|
:disabled="!isTrading || !isRunning"
|
||||||
:disabled="!isTrading || !isRunning"
|
title="Stop Trading - Also stops handling open trades."
|
||||||
title="Stop Trading - Also stops handling open trades."
|
@click="handleStopBot()"
|
||||||
@click="handleStopBot()"
|
>
|
||||||
>
|
<StopIcon />
|
||||||
<StopIcon />
|
</button>
|
||||||
</button>
|
<button
|
||||||
<button
|
class="btn btn-secondary btn-sm ml-1"
|
||||||
class="btn btn-secondary btn-sm ml-1"
|
:disabled="!isTrading || !isRunning"
|
||||||
:disabled="!isTrading || !isRunning"
|
title="StopBuy - Stops buying, but still handles open trades"
|
||||||
title="StopBuy - Stops buying, but still handles open trades"
|
@click="handleStopBuy()"
|
||||||
@click="handleStopBuy()"
|
>
|
||||||
>
|
<PauseIcon />
|
||||||
<PauseIcon />
|
</button>
|
||||||
</button>
|
<button
|
||||||
<button
|
class="btn btn-secondary btn-sm ml-1"
|
||||||
class="btn btn-secondary btn-sm ml-1"
|
:disabled="!isTrading"
|
||||||
:disabled="!isTrading"
|
title="Reload Config - reloads configuration including strategy, resetting all settings changed on the fly."
|
||||||
title="Reload Config - reloads configuration including strategy, resetting all settings changed on the fly."
|
@click="handleReloadConfig()"
|
||||||
@click="handleReloadConfig()"
|
>
|
||||||
>
|
<ReloadIcon />
|
||||||
<ReloadIcon />
|
</button>
|
||||||
</button>
|
<button
|
||||||
<button
|
v-if="botState && botState.forcebuy_enabled"
|
||||||
v-if="botState && botState.forcebuy_enabled"
|
class="btn btn-secondary btn-sm ml-1"
|
||||||
class="btn btn-secondary btn-sm ml-1"
|
:disabled="!isTrading || !isRunning"
|
||||||
:disabled="!isTrading || !isRunning"
|
title="Force Buy - Immediately buy an asset at an optional price. Sells are then handled according to strategy rules."
|
||||||
title="Force Buy - Immediately buy an asset at an optional price. Sells are then handled according to strategy rules."
|
@click="initiateForcebuy"
|
||||||
@click="initiateForcebuy"
|
>
|
||||||
>
|
<ForceBuyIcon />
|
||||||
<ForceBuyIcon />
|
</button>
|
||||||
</button>
|
<button
|
||||||
<button
|
v-if="isWebserverMode && false"
|
||||||
v-if="isWebserverMode && false"
|
:disabled="isTrading"
|
||||||
:disabled="isTrading"
|
class="btn btn-secondary btn-sm ml-1"
|
||||||
class="btn btn-secondary btn-sm ml-1"
|
title="Start Trading mode"
|
||||||
title="Start Trading mode"
|
@click="startTrade()"
|
||||||
@click="startTrade()"
|
>
|
||||||
>
|
<PlayIcon />
|
||||||
<PlayIcon />
|
</button>
|
||||||
</button>
|
<ForceBuyForm :modal-show="forcebuyShow" @close="$bvModal.hide('forcebuy-modal')" />
|
||||||
<ForceBuyForm :modal-show="forcebuyShow" @close="$bvModal.hide('forcebuy-modal')" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -30,13 +30,14 @@
|
||||||
drag-allow-from=".card-header"
|
drag-allow-from=".card-header"
|
||||||
>
|
>
|
||||||
<DraggableContainer header="Multi Pane">
|
<DraggableContainer header="Multi Pane">
|
||||||
<BotControls class="mt-1" />
|
|
||||||
|
|
||||||
<b-tabs content-class="mt-3" class="mt-1">
|
<b-tabs content-class="mt-3" class="mt-1">
|
||||||
<b-tab title="Pairs combined" active>
|
<b-tab title="Pairs combined" active>
|
||||||
<PairSummary :pairlist="whitelist" :current-locks="currentLocks" :trades="openTrades" />
|
<PairSummary :pairlist="whitelist" :current-locks="currentLocks" :trades="openTrades" />
|
||||||
</b-tab>
|
</b-tab>
|
||||||
<b-tab title="Status">
|
<b-tab title="General">
|
||||||
|
<div class="d-flex justify-content-center">
|
||||||
|
<BotControls class="mt-1 mb-2" />
|
||||||
|
</div>
|
||||||
<BotStatus />
|
<BotStatus />
|
||||||
</b-tab>
|
</b-tab>
|
||||||
<b-tab title="Performance">
|
<b-tab title="Performance">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user