mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-24 12:05:16 +00:00
feat: improved visual for downloading-data
This commit is contained in:
parent
d654f955d9
commit
34189d28ab
|
@ -41,37 +41,40 @@ async function startDownload() {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="d-flex px-3 mb-3 gap-3 flex-column flex-lg-column">
|
<div class="container">
|
||||||
<h2>Download Data</h2>
|
<BCard header="Downloading Data">
|
||||||
<div class="d-flex flex-row gap-5">
|
<div class="d-flex px-3 mb-3 gap-3 flex-column flex-lg-column">
|
||||||
<div class="d-flex flex-fill align-items-end gap-2">
|
<div class="d-flex flex-row gap-5">
|
||||||
<div class="d-flex flex-column flex-shrink">
|
<div class="d-flex flex-fill align-items-end gap-2">
|
||||||
<h4 class="text-start">Select Pairs</h4>
|
<div class="d-flex flex-column flex-shrink">
|
||||||
<div v-for="(pair, index) in pairs" :key="index">
|
<h4 class="text-start">Select Pairs</h4>
|
||||||
<BFormInput v-model="pairs[index]" placeholder="Pair"></BFormInput>
|
<div v-for="(pair, index) in pairs" :key="index">
|
||||||
|
<BFormInput v-model="pairs[index]" placeholder="Pair"></BFormInput>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<BButton variant="primary" title="Add Pair" @click="addPair"><i-mdi-plus /></BButton>
|
||||||
|
</div>
|
||||||
|
<div class="d-flex flex-fill align-items-end gap-2">
|
||||||
|
<div class="d-flex flex-column flex-shrink">
|
||||||
|
<h4 class="text-start">Select timeframes</h4>
|
||||||
|
<div v-for="(tf, index) in timeframes" :key="index">
|
||||||
|
<BFormInput v-model="timeframes[index]" placeholder="Timeframe"></BFormInput>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<BButton variant="primary" title="Add timeframe" @click="addTimeframe"
|
||||||
|
><i-mdi-plus
|
||||||
|
/></BButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<BButton variant="primary" title="Add Pair" @click="addPair"><i-mdi-plus /></BButton>
|
<div class="mb-2 border rounded-1 p-2 text-start">
|
||||||
</div>
|
<BFormCheckbox v-model="exchange.customExchange" class="mb-2">
|
||||||
<div class="d-flex flex-fill align-items-end gap-2">
|
Custom Exchange
|
||||||
<div class="d-flex flex-column flex-shrink">
|
</BFormCheckbox>
|
||||||
<h4 class="text-start">Select timeframes</h4>
|
<ExchangeSelect v-if="exchange.customExchange" v-model="exchange.selectedExchange" />
|
||||||
<div v-for="(tf, index) in timeframes" :key="index">
|
|
||||||
<BFormInput v-model="timeframes[index]" placeholder="Timeframe"></BFormInput>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<BButton variant="primary" title="Add timeframe" @click="addTimeframe"
|
<BButton variant="primary" @click="startDownload">Start Download</BButton>
|
||||||
><i-mdi-plus
|
|
||||||
/></BButton>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</BCard>
|
||||||
<div class="mb-2 border rounded-1 p-2 text-start">
|
|
||||||
<BFormCheckbox v-model="exchange.customExchange" class="mb-2">
|
|
||||||
Custom Exchange
|
|
||||||
</BFormCheckbox>
|
|
||||||
<ExchangeSelect v-if="exchange.customExchange" v-model="exchange.selectedExchange" />
|
|
||||||
</div>
|
|
||||||
<BButton variant="primary" @click="startDownload">Start Download</BButton>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user