mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-28 17:50:56 +02:00
feat: move custom css next to the other optional fileds
This commit is contained in:
parent
3fbb6bb9e4
commit
015f19fd0e
@ -74,7 +74,7 @@ async def create_charge(user: str, data: CreateCharge) -> Charges:
|
|||||||
data.amount,
|
data.amount,
|
||||||
0,
|
0,
|
||||||
data.extra,
|
data.extra,
|
||||||
data.custom_css
|
data.custom_css,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
return await get_charge(charge_id)
|
return await get_charge(charge_id)
|
||||||
|
@ -405,6 +405,15 @@
|
|||||||
label="Completed button text (ie 'Back to merchant')"
|
label="Completed button text (ie 'Back to merchant')"
|
||||||
>
|
>
|
||||||
</q-input>
|
</q-input>
|
||||||
|
<q-select
|
||||||
|
filled
|
||||||
|
dense
|
||||||
|
emit-value
|
||||||
|
v-model="formDialogCharge.data.custom_css"
|
||||||
|
:options="themeOptions"
|
||||||
|
label="Custom CSS theme (optional)"
|
||||||
|
>
|
||||||
|
</q-select>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
@ -454,15 +463,6 @@
|
|||||||
label="Wallet *"
|
label="Wallet *"
|
||||||
>
|
>
|
||||||
</q-select>
|
</q-select>
|
||||||
<q-select
|
|
||||||
filled
|
|
||||||
dense
|
|
||||||
emit-value
|
|
||||||
v-model="formDialogCharge.data.custom_css"
|
|
||||||
:options="themeOptions"
|
|
||||||
label="Custom CSS theme (optional)"
|
|
||||||
>
|
|
||||||
</q-select>
|
|
||||||
<div class="row q-mt-lg">
|
<div class="row q-mt-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
|
Loading…
x
Reference in New Issue
Block a user