Merged all onchain items into single dashboard
This commit is contained in:
@@ -176,52 +176,25 @@
|
||||
<p>Use the toggles below to control what your Gerty will display</p>
|
||||
|
||||
<q-toggle
|
||||
v-model="formDialog.data.display_preferences.dashboard"
|
||||
label="Show the dashboard"
|
||||
></q-toggle>
|
||||
v-model="formDialog.data.display_preferences.dashboard"
|
||||
label="Show the dashboard"
|
||||
></q-toggle>
|
||||
|
||||
<q-toggle
|
||||
v-model="formDialog.data.display_preferences.fun_satoshi_quotes"
|
||||
label="Satoshi Quotes"
|
||||
>
|
||||
<q-tooltip>Displays random quotes from Satoshi</q-tooltip>
|
||||
</q-toggle>
|
||||
<q-toggle
|
||||
v-model="formDialog.data.display_preferences.fun_exchange_market_rate"
|
||||
label="Current dirty fiat to BTC price"
|
||||
></q-toggle>
|
||||
<q-expansion-item
|
||||
expand-separator
|
||||
icon="link"
|
||||
label="Onchain Information"
|
||||
<q-toggle
|
||||
v-model="formDialog.data.display_preferences.fun_satoshi_quotes"
|
||||
label="Satoshi Quotes"
|
||||
>
|
||||
<q-toggle
|
||||
v-model="toggleStates.onchain"
|
||||
label="Toggle all"
|
||||
>
|
||||
<q-tooltip>Toggle all</q-tooltip>
|
||||
</q-toggle>
|
||||
<br>
|
||||
<q-toggle
|
||||
v-model="formDialog.data.display_preferences.onchain_difficulty_epoch_progress"
|
||||
label="Percent of current difficulty epoch complete"
|
||||
></q-toggle>
|
||||
<q-tooltip>Displays random quotes from Satoshi</q-tooltip>
|
||||
</q-toggle>
|
||||
<q-toggle
|
||||
v-model="formDialog.data.display_preferences.fun_exchange_market_rate"
|
||||
label="Current dirty fiat to BTC price"
|
||||
></q-toggle>
|
||||
|
||||
<q-toggle
|
||||
v-model="formDialog.data.display_preferences.onchain_difficulty_retarget_date"
|
||||
label="Estimated retarget date"
|
||||
></q-toggle>
|
||||
|
||||
<q-toggle
|
||||
v-model="formDialog.data.display_preferences.onchain_difficulty_blocks_remaining"
|
||||
label="Blocks until next difficulty adjustment"
|
||||
></q-toggle>
|
||||
|
||||
<q-toggle
|
||||
v-model="formDialog.data.display_preferences.onchain_difficulty_epoch_time_remaining"
|
||||
label="Estimated time until next difficulty adjustment"
|
||||
></q-toggle>
|
||||
</q-expansion-item>
|
||||
<q-toggle
|
||||
v-model="formDialog.data.display_preferences.onchain_dashboard"
|
||||
label="Onchain dashboard"
|
||||
></q-toggle>
|
||||
<q-expansion-item
|
||||
expand-separator
|
||||
icon="psychology"
|
||||
@@ -542,10 +515,7 @@
|
||||
dashboard: true,
|
||||
fun_satoshi_quotes: true,
|
||||
fun_exchange_market_rate: true,
|
||||
onchain_difficulty_epoch_progress: true,
|
||||
onchain_difficulty_retarget_date: true,
|
||||
onchain_difficulty_blocks_remaining: true,
|
||||
onchain_difficulty_epoch_time_remaining: true,
|
||||
onchain_dashboard: true,
|
||||
mempool_recommended_fees: true,
|
||||
mempool_tx_count: true,
|
||||
mining_current_hash_rate: true,
|
||||
@@ -594,10 +564,10 @@
|
||||
this.formDialog.data.wallet = gerty.wallet
|
||||
this.formDialog.data.lnbits_wallets = JSON.parse(gerty.lnbits_wallets)
|
||||
this.formDialog.data.exchange = gerty.exchange,
|
||||
this.formDialog.data.mempool_endpoint = gerty.mempool_endpoint,
|
||||
this.formDialog.data.refresh_time = gerty.refresh_time,
|
||||
this.formDialog.data.display_preferences = JSON.parse(gerty.display_preferences),
|
||||
this.formDialog.show = true
|
||||
this.formDialog.data.mempool_endpoint = gerty.mempool_endpoint,
|
||||
this.formDialog.data.refresh_time = gerty.refresh_time,
|
||||
this.formDialog.data.display_preferences = JSON.parse(gerty.display_preferences),
|
||||
this.formDialog.show = true
|
||||
},
|
||||
sendFormDataGerty: function () {
|
||||
if (this.formDialog.data.id) {
|
||||
|
||||
Reference in New Issue
Block a user