bundle/format

This commit is contained in:
Arc
2024-12-19 23:52:27 +00:00
parent 42b3616b03
commit 0185f1e465
5 changed files with 74 additions and 72 deletions
+9 -9
View File
File diff suppressed because one or more lines are too long
+10 -6
View File
@@ -158,14 +158,22 @@
show-if-above show-if-above
:elevated="$q.screen.lt.md" :elevated="$q.screen.lt.md"
> >
<q-item-label :style="$q.dark.isActive ? 'color:rgba(255, 255, 255, 0.64)' : ''" class="q-item__label q-item__label--header" header v-text="$t('wallets')"></q-item-label> <q-item-label
:style="$q.dark.isActive ? 'color:rgba(255, 255, 255, 0.64)' : ''"
class="q-item__label q-item__label--header"
header
v-text="$t('wallets')"
></q-item-label>
<q-btn <q-btn
flat flat
:icon=" walletFlip ? 'keyboard_arrow_right' : 'keyboard_arrow_down'" :icon=" walletFlip ? 'keyboard_arrow_right' : 'keyboard_arrow_down'"
class="absolute-top-right" class="absolute-top-right"
@click="flipWallets($q.screen.lt.md)" @click="flipWallets($q.screen.lt.md)"
></q-btn> ></q-btn>
<lnbits-wallet-list v-if="!walletFlip" :balance="balance"></lnbits-wallet-list> <lnbits-wallet-list
v-if="!walletFlip"
:balance="balance"
></lnbits-wallet-list>
<lnbits-manage <lnbits-manage
:show-admin="'{{LNBITS_ADMIN_UI}}' == 'True'" :show-admin="'{{LNBITS_ADMIN_UI}}' == 'True'"
@@ -179,11 +187,8 @@
{% endblock %} {% block page_container %} {% endblock %} {% block page_container %}
<q-page-container> <q-page-container>
<q-page class="q-px-md q-py-lg" :class="{'q-px-lg': $q.screen.gt.xs}"> <q-page class="q-px-md q-py-lg" :class="{'q-px-lg': $q.screen.gt.xs}">
<q-scroll-area <q-scroll-area
v-if="walletFlip" v-if="walletFlip"
style=" style="
height: 130px; height: 130px;
width: 100%; width: 100%;
@@ -245,7 +250,6 @@
</div> </div>
</q-scroll-area> </q-scroll-area>
{% block page %}{% endblock %} {% block page %}{% endblock %}
</q-page> </q-page>
</q-page-container> </q-page-container>
-2
View File
@@ -1,11 +1,9 @@
<template id="lnbits-wallet-list"> <template id="lnbits-wallet-list">
<q-list <q-list
v-if="user && user.wallets.length" v-if="user && user.wallets.length"
dense dense
class="lnbits-drawer__q-list" class="lnbits-drawer__q-list"
> >
<q-item <q-item
v-for="wallet in wallets" v-for="wallet in wallets"
:key="wallet.id" :key="wallet.id"