Fixed colours + prettier

This commit is contained in:
benarc 2021-08-09 20:15:54 +01:00
parent 0697a1660f
commit 4d8452c7c9
2 changed files with 19 additions and 11 deletions

View File

@ -36,7 +36,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="donationDialog.data.sats < 1 || !donationDialog.data.sats" :disable="donationDialog.data.sats < 1 || !donationDialog.data.sats"
type="submit" type="submit"
>Submit</q-btn >Submit</q-btn

View File

@ -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="serviceDialog.show = true" <q-btn unelevated color="primary" @click="serviceDialog.show = true"
>New Service</q-btn >New Service</q-btn
> >
</q-card-section> </q-card-section>
@ -138,7 +138,8 @@
<q-card> <q-card>
<q-card-section> <q-card-section>
<h6 class="text-subtitle1 q-my-none"> <h6 class="text-subtitle1 q-my-none">
{{SITE_TITLE}} Stream Alerts extension</h6> {{SITE_TITLE}} Stream Alerts extension
</h6>
</q-card-section> </q-card-section>
<q-card-section class="q-pa-none"> <q-card-section class="q-pa-none">
<q-separator></q-separator> <q-separator></q-separator>
@ -162,10 +163,7 @@
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<div v-if="walletLinks.length > 0"> <div v-if="walletLinks.length > 0">
<q-checkbox <q-checkbox v-model="serviceDialog.data.chain" label="Chain" />
v-model="serviceDialog.data.chain"
label="Chain"
/>
</div> </div>
<div v-else> <div v-else>
<q-checkbox :value="false" label="Chain" disabled> <q-checkbox :value="false" label="Chain" disabled>
@ -220,7 +218,7 @@
<q-btn <q-btn
v-if="serviceDialog.data.id" v-if="serviceDialog.data.id"
unelevated unelevated
color="deep-purple" color="primary"
type="submit" type="submit"
>Update Service</q-btn >Update Service</q-btn
> >
@ -228,7 +226,7 @@
<q-btn <q-btn
v-else v-else
unelevated unelevated
color="deep-purple" color="primary"
:disable="serviceDialog.data.client_id == null || serviceDialog.data.client_secret == 0 || serviceDialog.data.twitchuser == null" :disable="serviceDialog.data.client_id == null || serviceDialog.data.client_secret == 0 || serviceDialog.data.twitchuser == null"
type="submit" type="submit"
>Create Service</q-btn >Create Service</q-btn
@ -329,9 +327,19 @@
}, },
{name: 'id', align: 'left', label: 'Charge ID', field: 'id'}, {name: 'id', align: 'left', label: 'Charge ID', field: 'id'},
{name: 'name', align: 'left', label: 'Donor', field: 'name'}, {name: 'name', align: 'left', label: 'Donor', field: 'name'},
{name: 'message', align: 'left', label: 'Message', field: 'message'}, {
name: 'message',
align: 'left',
label: 'Message',
field: 'message'
},
{name: 'sats', align: 'left', label: 'Sats', field: 'sats'}, {name: 'sats', align: 'left', label: 'Sats', field: 'sats'},
{name: 'posted', align: 'left', label: 'Posted to API', field: 'posted'} {
name: 'posted',
align: 'left',
label: 'Posted to API',
field: 'posted'
}
], ],
pagination: { pagination: {
rowsPerPage: 10 rowsPerPage: 10