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