mirror of
https://github.com/lnbits/lnbits.git
synced 2025-07-05 13:01:51 +02:00
add copy buttons (#2643)
This commit is contained in:
committed by
GitHub
parent
b14e0e4cc6
commit
296b1dfa9a
@ -19,6 +19,13 @@
|
|||||||
<strong>Wallet ID: </strong><em>{{ wallet.id }}</em>
|
<strong>Wallet ID: </strong><em>{{ wallet.id }}</em>
|
||||||
</q-item-label>
|
</q-item-label>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
|
<q-item-section side>
|
||||||
|
<q-icon
|
||||||
|
name="content_copy"
|
||||||
|
class="cursor-pointer"
|
||||||
|
@click="copyText('{{ wallet.id }}')"
|
||||||
|
></q-icon>
|
||||||
|
</q-item-section>
|
||||||
</q-item>
|
</q-item>
|
||||||
<q-item dense class="q-pa-none">
|
<q-item dense class="q-pa-none">
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
@ -30,11 +37,18 @@
|
|||||||
</q-item-label>
|
</q-item-label>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
<q-item-section side>
|
<q-item-section side>
|
||||||
|
<div>
|
||||||
<q-icon
|
<q-icon
|
||||||
:name="adminkeyHidden ? 'visibility_off' : 'visibility'"
|
:name="adminkeyHidden ? 'visibility_off' : 'visibility'"
|
||||||
class="cursor-pointer float-right"
|
class="cursor-pointer"
|
||||||
@click="adminkeyHidden = !adminkeyHidden"
|
@click="adminkeyHidden = !adminkeyHidden"
|
||||||
></q-icon>
|
></q-icon>
|
||||||
|
<q-icon
|
||||||
|
name="content_copy"
|
||||||
|
class="cursor-pointer q-ml-sm"
|
||||||
|
@click="copyText('{{ wallet.adminkey }}')"
|
||||||
|
></q-icon>
|
||||||
|
</div>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
</q-item>
|
</q-item>
|
||||||
<q-item dense class="q-pa-none">
|
<q-item dense class="q-pa-none">
|
||||||
@ -47,11 +61,18 @@
|
|||||||
</q-item-label>
|
</q-item-label>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
<q-item-section side>
|
<q-item-section side>
|
||||||
|
<div>
|
||||||
<q-icon
|
<q-icon
|
||||||
:name="inkeyHidden ? 'visibility_off' : 'visibility'"
|
:name="inkeyHidden ? 'visibility_off' : 'visibility'"
|
||||||
class="cursor-pointer float-right"
|
class="cursor-pointer"
|
||||||
@click="inkeyHidden = !inkeyHidden"
|
@click="inkeyHidden = !inkeyHidden"
|
||||||
></q-icon>
|
></q-icon>
|
||||||
|
<q-icon
|
||||||
|
name="content_copy"
|
||||||
|
class="cursor-pointer q-ml-sm"
|
||||||
|
@click="copyText('{{ wallet.inkey }}')"
|
||||||
|
></q-icon>
|
||||||
|
</div>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
</q-item>
|
</q-item>
|
||||||
</q-list>
|
</q-list>
|
||||||
|
Reference in New Issue
Block a user