Changed primary/secondary colours to branded
This commit is contained in:
parent
c39dfbaee2
commit
b0c0b9f851
|
@ -24,7 +24,7 @@
|
||||||
<div v-if="extension.isEnabled">
|
<div v-if="extension.isEnabled">
|
||||||
<q-btn
|
<q-btn
|
||||||
flat
|
flat
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
type="a"
|
type="a"
|
||||||
:href="[extension.url, '?usr=', g.user.id].join('')"
|
:href="[extension.url, '?usr=', g.user.id].join('')"
|
||||||
>Open</q-btn
|
>Open</q-btn
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<q-btn
|
<q-btn
|
||||||
v-else
|
v-else
|
||||||
flat
|
flat
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
type="a"
|
type="a"
|
||||||
:href="['{{ url_for('core.extensions') }}', '?usr=', g.user.id, '&enable=', extension.code].join('')"
|
:href="['{{ url_for('core.extensions') }}', '?usr=', g.user.id, '&enable=', extension.code].join('')"
|
||||||
>
|
>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
{% if lnurl %}
|
{% if lnurl %}
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
@click="processing"
|
@click="processing"
|
||||||
type="a"
|
type="a"
|
||||||
href="{{ url_for('core.lnurlwallet', lightning=lnurl) }}"
|
href="{{ url_for('core.lnurlwallet', lightning=lnurl) }}"
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
></q-input>
|
></q-input>
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="walletName == ''"
|
:disable="walletName == ''"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Add a new wallet</q-btn
|
>Add a new wallet</q-btn
|
||||||
|
@ -88,7 +88,12 @@
|
||||||
<div class="col-12 col-md-3 col-lg-3">
|
<div class="col-12 col-md-3 col-lg-3">
|
||||||
<div class="row q-col-gutter-lg justify-center">
|
<div class="row q-col-gutter-lg justify-center">
|
||||||
<div class="col-6 col-sm-4 col-md-8 q-gutter-y-sm">
|
<div class="col-6 col-sm-4 col-md-8 q-gutter-y-sm">
|
||||||
<q-btn flat color="purple" label="Runs on" class="full-width"></q-btn>
|
<q-btn
|
||||||
|
flat
|
||||||
|
color="secondary"
|
||||||
|
label="Runs on"
|
||||||
|
class="full-width"
|
||||||
|
></q-btn>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<a href="https://github.com/ElementsProject/lightning">
|
<a href="https://github.com/ElementsProject/lightning">
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
class="full-width"
|
class="full-width"
|
||||||
@click="showParseDialog"
|
@click="showParseDialog"
|
||||||
>Paste Request</q-btn
|
>Paste Request</q-btn
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
class="full-width"
|
class="full-width"
|
||||||
@click="showReceiveDialog"
|
@click="showReceiveDialog"
|
||||||
>Create Invoice</q-btn
|
>Create Invoice</q-btn
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="purple"
|
color="secondary"
|
||||||
icon="photo_camera"
|
icon="photo_camera"
|
||||||
@click="showCamera"
|
@click="showCamera"
|
||||||
>scan
|
>scan
|
||||||
|
@ -342,7 +342,7 @@
|
||||||
<div v-if="receive.status == 'pending'" class="row q-mt-lg">
|
<div v-if="receive.status == 'pending'" class="row q-mt-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="receive.data.memo == null || receive.data.amount == null || receive.data.amount <= 0"
|
:disable="receive.data.memo == null || receive.data.amount == null || receive.data.amount <= 0"
|
||||||
type="submit"
|
type="submit"
|
||||||
>
|
>
|
||||||
|
@ -355,7 +355,7 @@
|
||||||
</div>
|
</div>
|
||||||
<q-spinner
|
<q-spinner
|
||||||
v-if="receive.status == 'loading'"
|
v-if="receive.status == 'loading'"
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
size="2.55em"
|
size="2.55em"
|
||||||
></q-spinner>
|
></q-spinner>
|
||||||
</q-form>
|
</q-form>
|
||||||
|
@ -395,7 +395,7 @@
|
||||||
</p>
|
</p>
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
<div v-if="canPay" class="row q-mt-lg">
|
<div v-if="canPay" class="row q-mt-lg">
|
||||||
<q-btn unelevated color="deep-purple" @click="payInvoice">Pay</q-btn>
|
<q-btn unelevated color="primary" @click="payInvoice">Pay</q-btn>
|
||||||
<q-btn v-close-popup flat color="grey" class="q-ml-auto">Cancel</q-btn>
|
<q-btn v-close-popup flat color="grey" class="q-ml-auto">Cancel</q-btn>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="row q-mt-lg">
|
<div v-else class="row q-mt-lg">
|
||||||
|
@ -423,7 +423,7 @@
|
||||||
<code class="text-wrap"> {{ parse.lnurlauth.pubkey }} </code>
|
<code class="text-wrap"> {{ parse.lnurlauth.pubkey }} </code>
|
||||||
</p>
|
</p>
|
||||||
<div class="row q-mt-lg">
|
<div class="row q-mt-lg">
|
||||||
<q-btn unelevated color="deep-purple" type="submit">Login</q-btn>
|
<q-btn unelevated color="primary" type="submit">Login</q-btn>
|
||||||
<q-btn v-close-popup flat color="grey" class="q-ml-auto"
|
<q-btn v-close-popup flat color="grey" class="q-ml-auto"
|
||||||
>Cancel</q-btn
|
>Cancel</q-btn
|
||||||
>
|
>
|
||||||
|
@ -485,9 +485,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row q-mt-lg">
|
<div class="row q-mt-lg">
|
||||||
<q-btn unelevated color="deep-purple" type="submit"
|
<q-btn unelevated color="primary" type="submit">Send satoshis</q-btn>
|
||||||
>Send satoshis</q-btn
|
|
||||||
>
|
|
||||||
<q-btn v-close-popup flat color="grey" class="q-ml-auto"
|
<q-btn v-close-popup flat color="grey" class="q-ml-auto"
|
||||||
>Cancel</q-btn
|
>Cancel</q-btn
|
||||||
>
|
>
|
||||||
|
@ -512,7 +510,7 @@
|
||||||
<div class="row q-mt-lg">
|
<div class="row q-mt-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="parse.data.request == ''"
|
:disable="parse.data.request == ''"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Read</q-btn
|
>Read</q-btn
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-btn unelevated color="deep-purple" @click="amilkDialog.show = true"
|
<q-btn unelevated color="primary" @click="amilkDialog.show = true"
|
||||||
>New AMilk</q-btn
|
>New AMilk</q-btn
|
||||||
>
|
>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
@ -109,7 +109,7 @@
|
||||||
></q-input>
|
></q-input>
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="amilkDialog.data.amount == null || amilkDialog.data.amount < 0 || amilkDialog.data.lnurl == null"
|
:disable="amilkDialog.data.amount == null || amilkDialog.data.amount < 0 || amilkDialog.data.lnurl == null"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Create amilk</q-btn
|
>Create amilk</q-btn
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<div class="col-12 col-md-7 q-gutter-y-md">
|
<div class="col-12 col-md-7 q-gutter-y-md">
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-btn unelevated color="deep-purple" @click="formDialog.show = true"
|
<q-btn unelevated color="primary" @click="formDialog.show = true"
|
||||||
>Add Bleskomat</q-btn
|
>Add Bleskomat</q-btn
|
||||||
>
|
>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
@ -150,14 +150,14 @@
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="formDialog.data.id"
|
v-if="formDialog.data.id"
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Update Bleskomat</q-btn
|
>Update Bleskomat</q-btn
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
v-else
|
v-else
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="
|
:disable="
|
||||||
formDialog.data.wallet == null ||
|
formDialog.data.wallet == null ||
|
||||||
formDialog.data.name == null ||
|
formDialog.data.name == null ||
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
dense
|
dense
|
||||||
flat
|
flat
|
||||||
icon="check"
|
icon="check"
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
type="submit"
|
type="submit"
|
||||||
@click="createInvoice"
|
@click="createInvoice"
|
||||||
:disabled="userAmount < captchaAmount || paymentReq"
|
:disabled="userAmount < captchaAmount || paymentReq"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-btn unelevated color="deep-purple" @click="formDialog.show = true"
|
<q-btn unelevated color="primary" @click="formDialog.show = true"
|
||||||
>New captcha</q-btn
|
>New captcha</q-btn
|
||||||
>
|
>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
@ -141,7 +141,7 @@
|
||||||
<q-item-section avatar>
|
<q-item-section avatar>
|
||||||
<q-checkbox
|
<q-checkbox
|
||||||
v-model="formDialog.data.remembers"
|
v-model="formDialog.data.remembers"
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
></q-checkbox>
|
></q-checkbox>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
|
@ -157,7 +157,7 @@
|
||||||
<div class="row q-mt-lg">
|
<div class="row q-mt-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="formDialog.data.amount == null || formDialog.data.amount < 0 || formDialog.data.memo == null"
|
:disable="formDialog.data.amount == null || formDialog.data.amount < 0 || formDialog.data.memo == null"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Create captcha</q-btn
|
>Create captcha</q-btn
|
||||||
|
|
|
@ -359,7 +359,7 @@
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="formDialogCopilot.data.id"
|
v-if="formDialogCopilot.data.id"
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="
|
:disable="
|
||||||
formDialogCopilot.data.title == ''"
|
formDialogCopilot.data.title == ''"
|
||||||
type="submit"
|
type="submit"
|
||||||
|
@ -368,7 +368,7 @@
|
||||||
<q-btn
|
<q-btn
|
||||||
v-else
|
v-else
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="
|
:disable="
|
||||||
formDialogCopilot.data.title == ''"
|
formDialogCopilot.data.title == ''"
|
||||||
type="submit"
|
type="submit"
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-btn unelevated color="deep-purple" @click="productDialog.show = true"
|
<q-btn unelevated color="primary" @click="productDialog.show = true"
|
||||||
>New Product</q-btn
|
>New Product</q-btn
|
||||||
>
|
>
|
||||||
<q-btn unelevated color="deep-purple" @click="indexerDialog.show = true"
|
<q-btn unelevated color="primary" @click="indexerDialog.show = true"
|
||||||
>New Indexer
|
>New Indexer
|
||||||
<q-tooltip>
|
<q-tooltip>
|
||||||
Frontend shop your stall will list its products in
|
Frontend shop your stall will list its products in
|
||||||
|
@ -282,7 +282,7 @@
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="productDialog.data.id"
|
v-if="productDialog.data.id"
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Update Product</q-btn
|
>Update Product</q-btn
|
||||||
>
|
>
|
||||||
|
@ -290,7 +290,7 @@
|
||||||
<q-btn
|
<q-btn
|
||||||
v-else
|
v-else
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="productDialog.data.image == null
|
:disable="productDialog.data.image == null
|
||||||
|| productDialog.data.product == null
|
|| productDialog.data.product == null
|
||||||
|| productDialog.data.description == null
|
|| productDialog.data.description == null
|
||||||
|
@ -374,7 +374,7 @@
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="indexerDialog.data.id"
|
v-if="indexerDialog.data.id"
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Update Indexer</q-btn
|
>Update Indexer</q-btn
|
||||||
>
|
>
|
||||||
|
@ -382,7 +382,7 @@
|
||||||
<q-btn
|
<q-btn
|
||||||
v-else
|
v-else
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="indexerDialog.data.shopname == null
|
:disable="indexerDialog.data.shopname == null
|
||||||
|| indexerDialog.data.shippingzone1 == null
|
|| indexerDialog.data.shippingzone1 == null
|
||||||
|| indexerDialog.data.indexeraddress == null
|
|| indexerDialog.data.indexeraddress == null
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
<div class="row q-mt-lg">
|
<div class="row q-mt-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="formDialog.data.name == '' || formDialog.data.email == '' || paymentReq"
|
:disable="formDialog.data.name == '' || formDialog.data.email == '' || paymentReq"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Submit</q-btn
|
>Submit</q-btn
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
size="xl"
|
size="xl"
|
||||||
:href="ticketLink.data.link"
|
:href="ticketLink.data.link"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
type="a"
|
type="a"
|
||||||
>Link to your ticket!</q-btn
|
>Link to your ticket!</q-btn
|
||||||
>
|
>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-btn unelevated color="deep-purple" @click="formDialog.show = true"
|
<q-btn unelevated color="primary" @click="formDialog.show = true"
|
||||||
>New Event</q-btn
|
>New Event</q-btn
|
||||||
>
|
>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
@ -267,14 +267,14 @@
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="formDialog.data.id"
|
v-if="formDialog.data.id"
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Update Event</q-btn
|
>Update Event</q-btn
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
v-else
|
v-else
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="formDialog.data.wallet == null || formDialog.data.name == null || formDialog.data.info == null || formDialog.data.closing_date == null || formDialog.data.event_start_date == null || formDialog.data.event_end_date == null || formDialog.data.amount_tickets == null || formDialog.data.price_per_ticket == null"
|
:disable="formDialog.data.wallet == null || formDialog.data.name == null || formDialog.data.info == null || formDialog.data.closing_date == null || formDialog.data.event_start_date == null || formDialog.data.event_end_date == null || formDialog.data.amount_tickets == null || formDialog.data.price_per_ticket == null"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Create Event</q-btn
|
>Create Event</q-btn
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<q-btn unelevated color="deep-purple" @click="showCamera" size="xl"
|
<q-btn unelevated color="primary" @click="showCamera" size="xl"
|
||||||
>Scan ticket</q-btn
|
>Scan ticket</q-btn
|
||||||
>
|
>
|
||||||
</center>
|
</center>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
{% raw %}
|
{% raw %}
|
||||||
<q-btn unelevated color="deep-purple" type="submit">
|
<q-btn unelevated color="primary" type="submit">
|
||||||
{{ nextCurrentTrack && nextCurrentTrack ===
|
{{ nextCurrentTrack && nextCurrentTrack ===
|
||||||
livestream.current_track ? 'Stop' : 'Set' }} current track
|
livestream.current_track ? 'Stop' : 'Set' }} current track
|
||||||
</q-btn>
|
</q-btn>
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
></q-input>
|
></q-input>
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<q-btn unelevated color="deep-purple" type="submit"
|
<q-btn unelevated color="primary" type="submit"
|
||||||
>Set percent rate</q-btn
|
>Set percent rate</q-btn
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
@ -61,7 +61,7 @@
|
||||||
<h5 class="text-subtitle1 q-my-none">Tracks</h5>
|
<h5 class="text-subtitle1 q-my-none">Tracks</h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="col q-ml-lg">
|
<div class="col q-ml-lg">
|
||||||
<q-btn unelevated color="deep-purple" @click="openAddTrackDialog"
|
<q-btn unelevated color="primary" @click="openAddTrackDialog"
|
||||||
>Add new track</q-btn
|
>Add new track</q-btn
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
@ -296,7 +296,7 @@
|
||||||
<div class="col q-ml-lg">
|
<div class="col q-ml-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="disabledAddTrackButton()"
|
:disable="disabledAddTrackButton()"
|
||||||
type="submit"
|
type="submit"
|
||||||
>
|
>
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
<div class="row q-mt-lg">
|
<div class="row q-mt-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="formDialog.data.name == '' || formDialog.data.text == ''"
|
:disable="formDialog.data.name == '' || formDialog.data.text == ''"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Submit</q-btn
|
>Submit</q-btn
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-btn unelevated color="deep-purple" @click="formDialog.show = true"
|
<q-btn unelevated color="primary" @click="formDialog.show = true"
|
||||||
>New Form</q-btn
|
>New Form</q-btn
|
||||||
>
|
>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
@ -217,7 +217,7 @@
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="formDialog.data.id"
|
v-if="formDialog.data.id"
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Update Form</q-btn
|
>Update Form</q-btn
|
||||||
>
|
>
|
||||||
|
@ -225,7 +225,7 @@
|
||||||
<q-btn
|
<q-btn
|
||||||
v-else
|
v-else
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="formDialog.data.costpword == null || formDialog.data.costpword < 0 || formDialog.data.name == null"
|
:disable="formDialog.data.costpword == null || formDialog.data.costpword < 0 || formDialog.data.name == null"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Create Form</q-btn
|
>Create Form</q-btn
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="col-12 col-md-7 q-gutter-y-md">
|
<div class="col-12 col-md-7 q-gutter-y-md">
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-btn unelevated color="deep-purple" @click="formDialog.show = true"
|
<q-btn unelevated color="primary" @click="formDialog.show = true"
|
||||||
>New pay link</q-btn
|
>New pay link</q-btn
|
||||||
>
|
>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
@ -227,14 +227,14 @@
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="formDialog.data.id"
|
v-if="formDialog.data.id"
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Update pay link</q-btn
|
>Update pay link</q-btn
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
v-else
|
v-else
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="
|
:disable="
|
||||||
formDialog.data.wallet == null ||
|
formDialog.data.wallet == null ||
|
||||||
formDialog.data.description == null ||
|
formDialog.data.description == null ||
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<h5 class="text-subtitle1 q-my-none">Items</h5>
|
<h5 class="text-subtitle1 q-my-none">Items</h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="col q-ml-lg">
|
<div class="col q-ml-lg">
|
||||||
<q-btn unelevated color="deep-purple" @click="openNewDialog()"
|
<q-btn unelevated color="primary" @click="openNewDialog()"
|
||||||
>Add new item</q-btn
|
>Add new item</q-btn
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
<q-btn
|
<q-btn
|
||||||
type="a"
|
type="a"
|
||||||
outline
|
outline
|
||||||
color="purple"
|
color="secondary"
|
||||||
:href="'print?items=' + printItems.map(({id}) => id).join(',')"
|
:href="'print?items=' + printItems.map(({id}) => id).join(',')"
|
||||||
>Print QR Codes</q-btn
|
>Print QR Codes</q-btn
|
||||||
>
|
>
|
||||||
|
@ -151,7 +151,7 @@
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
type="submit"
|
type="submit"
|
||||||
:disabled="!wordlistTainted"
|
:disabled="!wordlistTainted"
|
||||||
>
|
>
|
||||||
|
@ -180,7 +180,7 @@
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disabled="offlineshop.method === 'totp'"
|
:disabled="offlineshop.method === 'totp'"
|
||||||
@click="setMethod"
|
@click="setMethod"
|
||||||
>
|
>
|
||||||
|
@ -199,7 +199,7 @@
|
||||||
|
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disabled="offlineshop.method === 'none'"
|
:disabled="offlineshop.method === 'none'"
|
||||||
@click="setMethod"
|
@click="setMethod"
|
||||||
>
|
>
|
||||||
|
@ -308,7 +308,7 @@
|
||||||
<div class="col q-ml-lg">
|
<div class="col q-ml-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="disabledAddItemButton()"
|
:disable="disabledAddItemButton()"
|
||||||
type="submit"
|
type="submit"
|
||||||
>
|
>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
dense
|
dense
|
||||||
flat
|
flat
|
||||||
icon="check"
|
icon="check"
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
type="submit"
|
type="submit"
|
||||||
@click="createInvoice"
|
@click="createInvoice"
|
||||||
:disabled="userAmount < paywallAmount || paymentReq"
|
:disabled="userAmount < paywallAmount || paymentReq"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-btn unelevated color="deep-purple" @click="formDialog.show = true"
|
<q-btn unelevated color="primary" @click="formDialog.show = true"
|
||||||
>New paywall</q-btn
|
>New paywall</q-btn
|
||||||
>
|
>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
@ -141,7 +141,7 @@
|
||||||
<q-item-section avatar>
|
<q-item-section avatar>
|
||||||
<q-checkbox
|
<q-checkbox
|
||||||
v-model="formDialog.data.remembers"
|
v-model="formDialog.data.remembers"
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
></q-checkbox>
|
></q-checkbox>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
|
@ -157,7 +157,7 @@
|
||||||
<div class="row q-mt-lg">
|
<div class="row q-mt-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="formDialog.data.amount == null || formDialog.data.amount < 0 || formDialog.data.url == null || formDialog.data.memo == null"
|
:disable="formDialog.data.amount == null || formDialog.data.amount < 0 || formDialog.data.url == null || formDialog.data.memo == null"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Create paywall</q-btn
|
>Create paywall</q-btn
|
||||||
|
|
|
@ -5,10 +5,7 @@
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
{% raw %}
|
{% raw %}
|
||||||
<q-btn
|
<q-btn unelevated color="primary" @click="formDialogCharge.show = true"
|
||||||
unelevated
|
|
||||||
color="deep-purple"
|
|
||||||
@click="formDialogCharge.show = true"
|
|
||||||
>New charge
|
>New charge
|
||||||
</q-btn>
|
</q-btn>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
@ -265,7 +262,7 @@
|
||||||
<div class="row q-mt-lg">
|
<div class="row q-mt-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="
|
:disable="
|
||||||
formDialogCharge.data.time == null ||
|
formDialogCharge.data.time == null ||
|
||||||
formDialogCharge.data.amount == null"
|
formDialogCharge.data.amount == null"
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
|
|
||||||
<q-row class="row justify-evenly q-pa-lg">
|
<q-row class="row justify-evenly q-pa-lg">
|
||||||
<q-col>
|
<q-col>
|
||||||
<q-btn unelevated outline color="purple" @click="clearTargets">
|
<q-btn unelevated outline color="secondary" @click="clearTargets">
|
||||||
Clear
|
Clear
|
||||||
</q-btn>
|
</q-btn>
|
||||||
</q-col>
|
</q-col>
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
<q-col>
|
<q-col>
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
type="submit"
|
type="submit"
|
||||||
:disabled="!isDirty"
|
:disabled="!isDirty"
|
||||||
>
|
>
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
<div class="row q-mt-lg">
|
<div class="row q-mt-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="formDialog.data.subdomain == '' || formDialog.data.ip == '' || formDialog.data.duration == ''"
|
:disable="formDialog.data.subdomain == '' || formDialog.data.ip == '' || formDialog.data.duration == ''"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Submit</q-btn
|
>Submit</q-btn
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-btn unelevated color="deep-purple" @click="domainDialog.show = true"
|
<q-btn unelevated color="primary" @click="domainDialog.show = true"
|
||||||
>New Domain</q-btn
|
>New Domain</q-btn
|
||||||
>
|
>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
@ -233,14 +233,14 @@
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="domainDialog.data.id"
|
v-if="domainDialog.data.id"
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Update Form</q-btn
|
>Update Form</q-btn
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
v-else
|
v-else
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="domainDialog.data.cost == null || domainDialog.data.cost < 0 || domainDialog.data.domain == null"
|
:disable="domainDialog.data.cost == null || domainDialog.data.cost < 0 || domainDialog.data.domain == null"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Create Domain</q-btn
|
>Create Domain</q-btn
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-btn unelevated color="deep-purple" @click="formDialog.show = true"
|
<q-btn unelevated color="primary" @click="formDialog.show = true"
|
||||||
>New TPoS</q-btn
|
>New TPoS</q-btn
|
||||||
>
|
>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
<div class="row q-mt-lg">
|
<div class="row q-mt-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="formDialog.data.currency == null || formDialog.data.name == null"
|
:disable="formDialog.data.currency == null || formDialog.data.name == null"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Create TPoS</q-btn
|
>Create TPoS</q-btn
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-btn unelevated color="deep-purple" @click="userDialog.show = true"
|
<q-btn unelevated color="primary" @click="userDialog.show = true"
|
||||||
>New User</q-btn
|
>New User</q-btn
|
||||||
>
|
>
|
||||||
<q-btn unelevated color="deep-purple" @click="walletDialog.show = true"
|
<q-btn unelevated color="primary" @click="walletDialog.show = true"
|
||||||
>New Wallet
|
>New Wallet
|
||||||
</q-btn>
|
</q-btn>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
@ -172,7 +172,7 @@
|
||||||
|
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="userDialog.data.walname == null"
|
:disable="userDialog.data.walname == null"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Create User</q-btn
|
>Create User</q-btn
|
||||||
|
@ -202,7 +202,7 @@
|
||||||
></q-input>
|
></q-input>
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="walletDialog.data.walname == null"
|
:disable="walletDialog.data.walname == null"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Create Wallet</q-btn
|
>Create Wallet</q-btn
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
{% raw %}
|
{% raw %}
|
||||||
<q-btn unelevated color="deep-purple" @click="formDialog.show = true"
|
<q-btn unelevated color="primary" @click="formDialog.show = true"
|
||||||
>New wallet
|
>New wallet
|
||||||
</q-btn>
|
</q-btn>
|
||||||
<q-btn unelevated color="deep-purple" icon="edit">
|
<q-btn unelevated color="primary" icon="edit">
|
||||||
<div class="cursor-pointer">
|
<div class="cursor-pointer">
|
||||||
<q-tooltip> Point to another Mempool </q-tooltip>
|
<q-tooltip> Point to another Mempool </q-tooltip>
|
||||||
{{ this.mempool.endpoint }}
|
{{ this.mempool.endpoint }}
|
||||||
|
@ -143,7 +143,7 @@
|
||||||
<div class="row q-mt-lg">
|
<div class="row q-mt-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="
|
:disable="
|
||||||
formDialog.data.masterpub == null ||
|
formDialog.data.masterpub == null ||
|
||||||
formDialog.data.title == null"
|
formDialog.data.title == null"
|
||||||
|
|
|
@ -6,13 +6,10 @@
|
||||||
<div class="col-12 col-md-7 q-gutter-y-md">
|
<div class="col-12 col-md-7 q-gutter-y-md">
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-btn
|
<q-btn unelevated color="primary" @click="simpleformDialog.show = true"
|
||||||
unelevated
|
|
||||||
color="deep-purple"
|
|
||||||
@click="simpleformDialog.show = true"
|
|
||||||
>Quick vouchers</q-btn
|
>Quick vouchers</q-btn
|
||||||
>
|
>
|
||||||
<q-btn unelevated color="deep-purple" @click="formDialog.show = true"
|
<q-btn unelevated color="primary" @click="formDialog.show = true"
|
||||||
>Advanced withdraw link(s)</q-btn
|
>Advanced withdraw link(s)</q-btn
|
||||||
>
|
>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
@ -197,7 +194,7 @@
|
||||||
<q-item-section avatar>
|
<q-item-section avatar>
|
||||||
<q-checkbox
|
<q-checkbox
|
||||||
v-model="formDialog.data.is_unique"
|
v-model="formDialog.data.is_unique"
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
></q-checkbox>
|
></q-checkbox>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
|
@ -216,14 +213,14 @@
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="formDialog.data.id"
|
v-if="formDialog.data.id"
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
type="submit"
|
type="submit"
|
||||||
>Update withdraw link</q-btn
|
>Update withdraw link</q-btn
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
v-else
|
v-else
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="
|
:disable="
|
||||||
formDialog.data.wallet == null ||
|
formDialog.data.wallet == null ||
|
||||||
formDialog.data.title == null ||
|
formDialog.data.title == null ||
|
||||||
|
@ -281,7 +278,7 @@
|
||||||
<div class="row q-mt-lg">
|
<div class="row q-mt-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
:disable="
|
:disable="
|
||||||
simpleformDialog.data.wallet == null ||
|
simpleformDialog.data.wallet == null ||
|
||||||
|
|
||||||
|
@ -324,7 +321,7 @@
|
||||||
qrCodeDialog.data.uses }}
|
qrCodeDialog.data.uses }}
|
||||||
<q-linear-progress
|
<q-linear-progress
|
||||||
:value="qrCodeDialog.data.used / qrCodeDialog.data.uses"
|
:value="qrCodeDialog.data.used / qrCodeDialog.data.uses"
|
||||||
color="deep-purple"
|
color="primary"
|
||||||
class="q-mt-sm"
|
class="q-mt-sm"
|
||||||
></q-linear-progress>
|
></q-linear-progress>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -118,7 +118,7 @@ Vue.component('lnbits-extension-list', {
|
||||||
<q-item-section side>
|
<q-item-section side>
|
||||||
<q-avatar size="md"
|
<q-avatar size="md"
|
||||||
:color="(extension.isActive)
|
:color="(extension.isActive)
|
||||||
? (($q.dark.isActive) ? 'deep-purple-5' : 'deep-purple')
|
? (($q.dark.isActive) ? 'primary' : 'primary')
|
||||||
: 'grey-5'">
|
: 'grey-5'">
|
||||||
<q-icon :name="extension.icon" :size="($q.dark.isActive) ? '21px' : '20px'"
|
<q-icon :name="extension.icon" :size="($q.dark.isActive) ? '21px' : '20px'"
|
||||||
:color="($q.dark.isActive) ? 'blue-grey-10' : 'grey-3'"></q-icon>
|
:color="($q.dark.isActive) ? 'blue-grey-10' : 'grey-3'"></q-icon>
|
||||||
|
@ -219,7 +219,7 @@ Vue.component('lnbits-payment-details', {
|
||||||
</div>
|
</div>
|
||||||
<div class="row" v-for="entry in extras">
|
<div class="row" v-for="entry in extras">
|
||||||
<div class="col-3">
|
<div class="col-3">
|
||||||
<q-badge v-if="hasTag" color="purple" text-color="white">
|
<q-badge v-if="hasTag" color="secondary" text-color="white">
|
||||||
extra
|
extra
|
||||||
</q-badge>
|
</q-badge>
|
||||||
<b>{{ entry.key }}</b>:
|
<b>{{ entry.key }}</b>:
|
||||||
|
|
|
@ -36,8 +36,8 @@ $themes: (
|
||||||
@each $theme, $colors in $themes {
|
@each $theme, $colors in $themes {
|
||||||
@each $name, $color in $colors {
|
@each $name, $color in $colors {
|
||||||
@if $name == 'dark' {
|
@if $name == 'dark' {
|
||||||
body.body--dark [data-theme='#{$theme}'],
|
|
||||||
[data-theme='#{$theme}'] .q-drawer--dark,
|
[data-theme='#{$theme}'] .q-drawer--dark,
|
||||||
|
body.body--dark [data-theme='#{$theme}'] .q-layout,
|
||||||
[data-theme='#{$theme}'] .q-menu--dark {
|
[data-theme='#{$theme}'] .q-menu--dark {
|
||||||
background: $color !important;
|
background: $color !important;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user