mirror of
https://github.com/lnbits/lnbits.git
synced 2025-08-09 01:32:14 +02:00
Extend bar for mobile (#1544)
* extend bar for mobile * smaller padding * center buttons * Added rounded style * Added icons, looks better * service worker * Changed icon * Fixed show if --------- Co-authored-by: ben <ben@arc.wales>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
// update cache version every time there is a new deployment
|
// update cache version every time there is a new deployment
|
||||||
// so the service worker reinitializes the cache
|
// so the service worker reinitializes the cache
|
||||||
const CACHE_VERSION = 10
|
const CACHE_VERSION = 15
|
||||||
const CURRENT_CACHE = `lnbits-${CACHE_VERSION}-`
|
const CURRENT_CACHE = `lnbits-${CACHE_VERSION}-`
|
||||||
|
|
||||||
const getApiKey = request => {
|
const getApiKey = request => {
|
||||||
|
@@ -779,23 +779,27 @@
|
|||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
</q-dialog>
|
</q-dialog>
|
||||||
|
|
||||||
<q-tabs
|
<q-tabs
|
||||||
class="lt-md fixed-bottom left-0 right-0 bg-primary text-white shadow-2 z-top"
|
class="lt-md fixed-bottom left-0 right-0 bg-primary text-white shadow-2 z-top"
|
||||||
active-class="px-0"
|
active-class="px-0"
|
||||||
indicator-color="transparent"
|
indicator-color="transparent"
|
||||||
|
align="justify"
|
||||||
>
|
>
|
||||||
<q-tab
|
|
||||||
icon="account_balance_wallet"
|
|
||||||
label="Wallets"
|
|
||||||
@click="g.visibleDrawer = !g.visibleDrawer"
|
|
||||||
>
|
|
||||||
</q-tab>
|
|
||||||
<q-tab icon="content_paste" label="Paste" @click="showParseDialog">
|
|
||||||
</q-tab>
|
|
||||||
<q-tab icon="file_download" label="Receive" @click="showReceiveDialog">
|
<q-tab icon="file_download" label="Receive" @click="showReceiveDialog">
|
||||||
</q-tab>
|
</q-tab>
|
||||||
|
|
||||||
<q-tab icon="photo_camera" label="Scan" @click="showCamera"> </q-tab>
|
<q-tab @click="showParseDialog" icon="file_upload" label="Send">
|
||||||
|
</q-tab>
|
||||||
|
<q-btn
|
||||||
|
round
|
||||||
|
size="35px"
|
||||||
|
unelevated
|
||||||
|
icon="qr_code_scanner"
|
||||||
|
@click="showCamera"
|
||||||
|
class="text-white bg-primary z-top vertical-bottom absolute-center absolute"
|
||||||
|
>
|
||||||
|
</q-btn>
|
||||||
</q-tabs>
|
</q-tabs>
|
||||||
|
|
||||||
<q-dialog v-model="disclaimerDialog.show">
|
<q-dialog v-model="disclaimerDialog.show">
|
||||||
|
@@ -46,9 +46,13 @@
|
|||||||
{% raw %}{{ $t('voidwallet_active') }}{% endraw %}
|
{% raw %}{{ $t('voidwallet_active') }}{% endraw %}
|
||||||
</q-badge>
|
</q-badge>
|
||||||
{%endif%}
|
{%endif%}
|
||||||
<q-badge color="yellow" text-color="black" class="q-mr-md">
|
<q-badge
|
||||||
<span
|
|
||||||
v-show="$q.screen.gt.sm"
|
v-show="$q.screen.gt.sm"
|
||||||
|
color="yellow"
|
||||||
|
text-color="black"
|
||||||
|
class="q-mr-md"
|
||||||
|
>
|
||||||
|
<span
|
||||||
v-text='$t("use_with_caution", { name: "{{ SITE_TITLE }}" })'
|
v-text='$t("use_with_caution", { name: "{{ SITE_TITLE }}" })'
|
||||||
></span>
|
></span>
|
||||||
</q-badge>
|
</q-badge>
|
||||||
|
Reference in New Issue
Block a user