Browse Source

update prettier to 2.1.1

aiosqlite
fiatjaf 4 years ago
parent
commit
e6ad42dbe1
  1. 2
      lnbits/core/templates/core/extensions.html
  2. 4
      lnbits/core/templates/core/index.html
  3. 4
      lnbits/core/templates/core/wallet.html
  4. 4
      lnbits/extensions/amilk/templates/amilk/index.html
  5. 16
      lnbits/extensions/diagonalley/templates/diagonalley/index.html
  6. 2
      lnbits/extensions/events/templates/events/error.html
  7. 4
      lnbits/extensions/events/templates/events/index.html
  8. 4
      lnbits/extensions/lndhub/templates/lndhub/index.html
  9. 4
      lnbits/extensions/lnticket/templates/lnticket/index.html
  10. 8
      lnbits/extensions/lnurlp/templates/lnurlp/display.html
  11. 6
      lnbits/extensions/lnurlp/templates/lnurlp/index.html
  12. 4
      lnbits/extensions/paywall/templates/paywall/index.html
  13. 2
      lnbits/extensions/tpos/templates/tpos/index.html
  14. 2
      lnbits/extensions/tpos/templates/tpos/tpos.html
  15. 12
      lnbits/extensions/usermanager/templates/usermanager/index.html
  16. 4
      lnbits/extensions/withdraw/templates/withdraw/display.html
  17. 2
      lnbits/extensions/withdraw/templates/withdraw/index.html
  18. 6
      lnbits/extensions/withdraw/templates/withdraw/print_qr.html
  19. 2
      package.json

2
lnbits/core/templates/core/extensions.html

@ -14,7 +14,7 @@ output='__bundle__/core/extensions.js', 'core/js/extensions.js' %}
<q-icon
:name="extension.icon"
color="grey-5"
style="font-size: 4rem;"
style="font-size: 4rem"
></q-icon>
{% raw %}
<h5 class="q-mt-lg q-mb-xs">{{ extension.name }}</h5>

4
lnbits/core/templates/core/index.html

@ -100,8 +100,8 @@ output='__bundle__/core/index.js', 'core/js/index.js' %}
<a href="https://github.com/rootzoll/raspiblitz">
<q-img
contain
:src="($q.dark.isActive) ? '{{ url_for('static', filename='images/raspiblitz-negative.svg') }}' : '{{ url_for('static', filename='images/raspiblitz.svg') }}'"
style="height: 90px;"
:src="($q.dark.isActive) ? '/static/images/raspiblitz-negative.svg' : '/static/images/raspiblitz.svg'"
style="height: 90px"
></q-img>
</a>
</div>

4
lnbits/core/templates/core/wallet.html

@ -352,7 +352,7 @@
{% raw %}
<h6 class="q-my-none">{{ send.invoice.fsat }} sat</h6>
<q-separator class="q-my-sm"></q-separator>
<p style="word-break: break-all;">
<p style="word-break: break-all">
<strong>Memo:</strong> {{ send.invoice.description }}<br />
<strong>Expire date:</strong> {{ send.invoice.expireDate }}<br />
<strong>Hash:</strong> {{ send.invoice.hash }}
@ -375,7 +375,7 @@
</q-dialog>
<q-dialog v-model="paymentsChart.show" position="top">
<q-card class="q-pa-sm" style="width: 800px; max-width: unset;">
<q-card class="q-pa-sm" style="width: 800px; max-width: unset">
<q-card-section>
<canvas ref="canvas" width="600" height="400"></canvas>
</q-card-section>

4
lnbits/extensions/amilk/templates/amilk/index.html

@ -68,9 +68,7 @@
</q-card-section>
<q-card-section class="q-pa-none">
<q-separator></q-separator>
<q-list>
{% include "amilk/_api_docs.html" %}
</q-list>
<q-list> {% include "amilk/_api_docs.html" %} </q-list>
</q-card-section>
</q-card>
</div>

16
lnbits/extensions/diagonalley/templates/diagonalley/index.html

@ -59,9 +59,7 @@
:href="props.row.wallet"
target="_blank"
></q-btn>
<q-tooltip>
Link to pass to stall indexer
</q-tooltip>
<q-tooltip> Link to pass to stall indexer </q-tooltip>
</q-td>
<q-td v-for="col in props.cols" :key="col.name" :props="props">
{{ col.value }}
@ -194,9 +192,7 @@
icon="add_shopping_cart"
color="green"
>
<q-tooltip>
Product shipped?
</q-tooltip>
<q-tooltip> Product shipped? </q-tooltip>
</q-btn>
</q-td>
<q-td auto-width>
@ -224,15 +220,13 @@
</q-card-section>
<q-card-section class="q-pa-none">
<q-separator></q-separator>
<q-list>
{% include "diagonalley/_api_docs.html" %}
</q-list>
<q-list> {% include "diagonalley/_api_docs.html" %} </q-list>
</q-card-section>
</q-card>
</div>
<q-dialog v-model="productDialog.show" position="top">
<q-card class="q-pa-lg q-pt-xl" style="width: 500px;">
<q-card class="q-pa-lg q-pt-xl" style="width: 500px">
<q-form @submit="sendProductFormData" class="q-gutter-md">
<q-select
filled
@ -314,7 +308,7 @@
</q-dialog>
<q-dialog v-model="indexerDialog.show" position="top">
<q-card class="q-pa-lg q-pt-xl" style="width: 500px;">
<q-card class="q-pa-lg q-pt-xl" style="width: 500px">
<q-form @submit="sendIndexerFormData" class="q-gutter-md">
<q-select
filled

2
lnbits/extensions/events/templates/events/error.html

@ -9,7 +9,7 @@
<q-icon
name="warning"
class="text-grey"
style="font-size: 20rem;"
style="font-size: 20rem"
></q-icon>
<h5 class="q-my-none">{{ event_error }}</h5>

4
lnbits/extensions/events/templates/events/index.html

@ -168,9 +168,7 @@
</q-card-section>
<q-card-section class="q-pa-none">
<q-separator></q-separator>
<q-list>
{% include "events/_api_docs.html" %}
</q-list>
<q-list> {% include "events/_api_docs.html" %} </q-list>
</q-card-section>
</q-card>
</div>

4
lnbits/extensions/lndhub/templates/lndhub/index.html

@ -52,9 +52,7 @@
<div class="col-12 col-md-4 col-lg-5 q-gutter-y-md">
<q-card>
<q-card-section>
<h6 class="text-subtitle1 q-my-none">
LNbits LndHub extension
</h6>
<h6 class="text-subtitle1 q-my-none">LNbits LndHub extension</h6>
</q-card-section>
<q-card-section class="q-pa-none">
<q-separator></q-separator>

4
lnbits/extensions/lnticket/templates/lnticket/index.html

@ -157,9 +157,7 @@
</q-card-section>
<q-card-section class="q-pa-none">
<q-separator></q-separator>
<q-list>
{% include "lnticket/_api_docs.html" %}
</q-list>
<q-list> {% include "lnticket/_api_docs.html" %} </q-list>
</q-card-section>
</q-card>
</div>

8
lnbits/extensions/lnurlp/templates/lnurlp/display.html

@ -25,18 +25,14 @@
<div class="col-12 col-sm-6 col-md-5 col-lg-4 q-gutter-y-md">
<q-card>
<q-card-section>
<h6 class="text-subtitle1 q-mb-sm q-mt-none">
LNbits LNURL-pay link
</h6>
<h6 class="text-subtitle1 q-mb-sm q-mt-none">LNbits LNURL-pay link</h6>
<p class="q-my-none">
Use a LNURL compatible bitcoin wallet to claim the sats.
</p>
</q-card-section>
<q-card-section class="q-pa-none">
<q-separator></q-separator>
<q-list>
{% include "lnurlp/_lnurl.html" %}
</q-list>
<q-list> {% include "lnurlp/_lnurl.html" %} </q-list>
</q-card-section>
</q-card>
</div>

6
lnbits/extensions/lnurlp/templates/lnurlp/index.html

@ -92,9 +92,7 @@
<div class="col-12 col-md-5 q-gutter-y-md">
<q-card>
<q-card-section>
<h6 class="text-subtitle1 q-my-none">
LNbits LNURL-pay extension
</h6>
<h6 class="text-subtitle1 q-my-none">LNbits LNURL-pay extension</h6>
</q-card-section>
<q-card-section class="q-pa-none">
<q-separator></q-separator>
@ -173,7 +171,7 @@
class="rounded-borders"
></qrcode>
</q-responsive>
<p style="word-break: break-all;">
<p style="word-break: break-all">
<strong>ID:</strong> {{ qrCodeDialog.data.id }}<br />
<strong>Amount:</strong> {{ qrCodeDialog.data.amount }} sat<br />
</p>

4
lnbits/extensions/paywall/templates/paywall/index.html

@ -90,9 +90,7 @@
</q-card-section>
<q-card-section class="q-pa-none">
<q-separator></q-separator>
<q-list>
{% include "paywall/_api_docs.html" %}
</q-list>
<q-list> {% include "paywall/_api_docs.html" %} </q-list>
</q-card-section>
</q-card>
</div>

2
lnbits/extensions/tpos/templates/tpos/index.html

@ -91,7 +91,7 @@
</div>
<q-dialog v-model="formDialog.show" position="top" @hide="closeFormDialog">
<q-card class="q-pa-lg q-pt-xl" style="width: 500px;">
<q-card class="q-pa-lg q-pt-xl" style="width: 500px">
<q-form @submit="createTPoS" class="q-gutter-md">
<q-input
filled

2
lnbits/extensions/tpos/templates/tpos/tpos.html

@ -118,7 +118,7 @@
></qrcode>
</q-responsive>
<div class="text-center q-mb-xl">
<p style="word-break: break-all;">
<p style="word-break: break-all">
<strong>{{ tpos.name }}</strong><br />{{ request.url }}
</p>
</div>

12
lnbits/extensions/usermanager/templates/usermanager/index.html

@ -107,9 +107,7 @@
:href="props.row.walllink"
target="_blank"
></q-btn>
<q-tooltip>
Link to wallet
</q-tooltip>
<q-tooltip> Link to wallet </q-tooltip>
</q-td>
<q-td v-for="col in props.cols" :key="col.name" :props="props">
{{ col.value }}
@ -139,15 +137,13 @@
</q-card-section>
<q-card-section class="q-pa-none">
<q-separator></q-separator>
<q-list>
{% include "usermanager/_api_docs.html" %}
</q-list>
<q-list> {% include "usermanager/_api_docs.html" %} </q-list>
</q-card-section>
</q-card>
</div>
<q-dialog v-model="userDialog.show" position="top">
<q-card class="q-pa-lg q-pt-xl" style="width: 500px;">
<q-card class="q-pa-lg q-pt-xl" style="width: 500px">
<q-form @submit="sendUserFormData" class="q-gutter-md">
<q-input
filled
@ -175,7 +171,7 @@
</q-dialog>
<q-dialog v-model="walletDialog.show" position="top">
<q-card class="q-pa-lg q-pt-xl" style="width: 500px;">
<q-card class="q-pa-lg q-pt-xl" style="width: 500px">
<q-form @submit="sendWalletFormData" class="q-gutter-md">
<q-select
filled

4
lnbits/extensions/withdraw/templates/withdraw/display.html

@ -37,9 +37,7 @@
</q-card-section>
<q-card-section class="q-pa-none">
<q-separator></q-separator>
<q-list>
{% include "withdraw/_lnurl.html" %}
</q-list>
<q-list> {% include "withdraw/_lnurl.html" %} </q-list>
</q-card-section>
</q-card>
</div>

2
lnbits/extensions/withdraw/templates/withdraw/index.html

@ -298,7 +298,7 @@
class="rounded-borders"
></qrcode>
</q-responsive>
<p style="word-break: break-all;">
<p style="word-break: break-all">
<strong>ID:</strong> {{ qrCodeDialog.data.id }}<br />
<strong>Unique:</strong> {{ qrCodeDialog.data.is_unique }}<span
v-if="qrCodeDialog.data.is_unique"

6
lnbits/extensions/withdraw/templates/withdraw/print_qr.html

@ -5,11 +5,11 @@
<div class="col-12 col-sm-8 col-lg-6 text-center" id="vue">
{% for page in link %}
<page size="A4" id="pdfprint">
<table style="width: 100%;">
<table style="width: 100%">
{% for threes in page %}
<tr style="height: 59.4mm;">
<tr style="height: 59.4mm">
{% for one in threes %}
<td style="width: 105mm;">
<td style="width: 105mm">
<center>
<qrcode
:value="theurl + '/?lightning={{one}}'"

2
package.json

@ -1,5 +1,5 @@
{
"devDependencies": {
"prettier": "^2.0.5"
"prettier": "2.1.1"
}
}

Loading…
Cancel
Save