mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-03-30 09:15:54 +00:00
Add QRCode
This commit is contained in:
parent
b49620efed
commit
0acf45dae6
@ -7,7 +7,8 @@ registerTranslateConfig({
|
|||||||
loader: lang => fetch(`/language/${lang}.json`).then(res => res.json())
|
loader: lang => fetch(`/language/${lang}.json`).then(res => res.json())
|
||||||
})
|
})
|
||||||
|
|
||||||
import '../components/ButtonIconCopy'
|
import '../components/ButtonIconCopy.js'
|
||||||
|
import '../components/QortalQrcodeGenerator.js'
|
||||||
import '@material/mwc-button'
|
import '@material/mwc-button'
|
||||||
import '@material/mwc-checkbox'
|
import '@material/mwc-checkbox'
|
||||||
import '@material/mwc-dialog'
|
import '@material/mwc-dialog'
|
||||||
@ -500,6 +501,11 @@ class MultiWallet extends LitElement {
|
|||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.qrcode-pos {
|
||||||
|
margin-top: -180px;
|
||||||
|
margin-left: 425px;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 863px) {
|
@media (max-width: 863px) {
|
||||||
.wallet {
|
.wallet {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -728,6 +734,9 @@ class MultiWallet extends LitElement {
|
|||||||
${this.renderSendButton()}
|
${this.renderSendButton()}
|
||||||
</span>
|
</span>
|
||||||
</h2>
|
</h2>
|
||||||
|
<div class="qrcode-pos">
|
||||||
|
<qortal-qrcode-generator data="${this.getSelectedWalletAddress()}" mode="octet" format="html" auto></qortal-qrcode-generator>
|
||||||
|
</div>
|
||||||
<div id="transactions">
|
<div id="transactions">
|
||||||
${this.loading ? html`<paper-spinner-lite style="display: block; margin: 5px auto;" active></paper-spinner-lite>` : ''}
|
${this.loading ? html`<paper-spinner-lite style="display: block; margin: 5px auto;" active></paper-spinner-lite>` : ''}
|
||||||
<div id="transactionsDOM"></div>
|
<div id="transactionsDOM"></div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user