mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-22 06:21:53 +01:00
style: minor tweaks
This commit is contained in:
parent
93e51a7398
commit
efbba20872
7 changed files with 30 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
||||||
{% extends "base.html" %}
|
{% extends "public.html" %}
|
||||||
|
|
||||||
|
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
|
@ -9,8 +9,8 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page %}
|
{% block page %}
|
||||||
<div class="row q-col-gutter-md justify-between">
|
<div class="row q-col-gutter-md justify-center">
|
||||||
<div class="col-12 col-md-7 q-gutter-y-md">
|
<div class="col-12 col-md-7 col-lg-6 q-gutter-y-md">
|
||||||
|
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
|
|
|
@ -4,11 +4,8 @@
|
||||||
label="About TPoS">
|
label="About TPoS">
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<p>Thiago's Point of Sale, is a secure, mobile-ready, instant and shareable point of sale terminal (PoS) for merchants. The PoS is linked to your LNbits wallet, but completely air-gapped so users can ONLY create invoices. To share the TPoS, hit the hashtag on the terminal
|
<p>Thiago's Point of Sale is a secure, mobile-ready, instant and shareable point of sale terminal (PoS) for merchants. The PoS is linked to your LNbits wallet but completely air-gapped so users can ONLY create invoices. To share the TPoS hit the hash on the terminal.</p>
|
||||||
<br/><br/><small>Created by <a href="https://github.com/talvasconcelos" target="_blank">Tiago Vasconcelos</a>.</small>
|
<small>Created by <a href="https://github.com/talvasconcelos" target="_blank">Tiago Vasconcelos</a>.</small>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
</q-expansion-item>
|
</q-expansion-item>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
{% block page %}
|
{% block page %}
|
||||||
<div class="row q-col-gutter-md justify-center">
|
<div class="row q-col-gutter-md justify-center">
|
||||||
<div class="col-12 col-sm-6 col-md-4">
|
<div class="col-12 col-sm-6 col-md-5 col-lg-4">
|
||||||
<q-card class="q-pa-lg">
|
<q-card class="q-pa-lg">
|
||||||
<q-card-section class="q-pa-none">
|
<q-card-section class="q-pa-none">
|
||||||
<div class="text-center q-mb-md">
|
<div class="text-center q-mb-md">
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-sm-6 col-md-4 q-gutter-y-md">
|
<div class="col-12 col-sm-6 col-md-5 col-lg-4 q-gutter-y-md">
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<h6 class="text-subtitle1 q-mb-sm q-mt-none">LNbits LNURL-withdraw link</h6>
|
<h6 class="text-subtitle1 q-mb-sm q-mt-none">LNbits LNURL-withdraw link</h6>
|
||||||
|
|
|
@ -55,7 +55,7 @@ def api_link_retrieve(link_id):
|
||||||
"is_unique": {"type": "boolean", "required": True},
|
"is_unique": {"type": "boolean", "required": True},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
def api_link_create(link_id=None):
|
def api_link_create_or_update(link_id=None):
|
||||||
if g.data["max_withdrawable"] < g.data["min_withdrawable"]:
|
if g.data["max_withdrawable"] < g.data["min_withdrawable"]:
|
||||||
return jsonify({"message": "`max_withdrawable` needs to be at least `min_withdrawable`."}), Status.BAD_REQUEST
|
return jsonify({"message": "`max_withdrawable` needs to be at least `min_withdrawable`."}), Status.BAD_REQUEST
|
||||||
|
|
||||||
|
|
|
@ -39,5 +39,9 @@
|
||||||
.q-table--dense .q-table__bottom {
|
.q-table--dense .q-table__bottom {
|
||||||
padding-right: 6px !important; }
|
padding-right: 6px !important; }
|
||||||
|
|
||||||
video {
|
a.inherit {
|
||||||
border-radius: 3px; }
|
color: inherit;
|
||||||
|
text-decoration: none; }
|
||||||
|
|
||||||
|
video {
|
||||||
|
border-radius: 3px; }
|
||||||
|
|
|
@ -66,6 +66,11 @@ body.body--dark .q-field--error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.inherit {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
// QR video
|
// QR video
|
||||||
|
|
||||||
video {
|
video {
|
||||||
|
|
|
@ -4,3 +4,14 @@
|
||||||
{% block beta %}{% endblock %}
|
{% block beta %}{% endblock %}
|
||||||
{% block drawer_toggle %}{% endblock %}
|
{% block drawer_toggle %}{% endblock %}
|
||||||
{% block drawer %}{% endblock %}
|
{% block drawer %}{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
|
{% block toolbar_title %}
|
||||||
|
<a href="/" class="inherit">
|
||||||
|
{% if SITE_TITLE != 'LNbits' %}
|
||||||
|
{{ SITE_TITLE }}
|
||||||
|
{% else %}
|
||||||
|
<strong>LN</strong>bits
|
||||||
|
{% endif %}
|
||||||
|
</a>
|
||||||
|
{% endblock %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue