mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-11 13:02:39 +02:00
format
This commit is contained in:
@@ -94,11 +94,19 @@ gertyname }}{% endraw %}{% endblock %}{% block page %} {% raw %}
|
|||||||
<div class="text-h6">Servers to check</div>
|
<div class="text-h6">Servers to check</div>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
<q-card-section class="q-pa-none">
|
<q-card-section class="q-pa-none">
|
||||||
<p v-for="(item, t) in url_checker">
|
<div class="row q-pb-md" v-for="(item, t) in url_checker">
|
||||||
<b>{{item[0].value.slice(0, 20)}}...:</b>
|
<div class="col-8">
|
||||||
|
<small>
|
||||||
|
<b style="word-wrap: break-word; max-width: 230px; display: block">
|
||||||
|
<a class="text-primary"> {{item[0].value}} </a>
|
||||||
|
</b>
|
||||||
|
</small>
|
||||||
|
</div>
|
||||||
|
<div class="col-4">
|
||||||
<q-chip
|
<q-chip
|
||||||
v-if="item[1].value < 300"
|
v-if="item[1].value < 300"
|
||||||
square
|
square
|
||||||
|
size="sm"
|
||||||
color="green"
|
color="green"
|
||||||
text-color="white"
|
text-color="white"
|
||||||
icon="sentiment_satisfied"
|
icon="sentiment_satisfied"
|
||||||
@@ -108,6 +116,7 @@ gertyname }}{% endraw %}{% endblock %}{% block page %} {% raw %}
|
|||||||
<q-chip
|
<q-chip
|
||||||
v-else-if="item[1].value >= 300"
|
v-else-if="item[1].value >= 300"
|
||||||
square
|
square
|
||||||
|
size="sm"
|
||||||
color="yellow"
|
color="yellow"
|
||||||
text-color="white"
|
text-color="white"
|
||||||
icon="sentiment_dissatisfied"
|
icon="sentiment_dissatisfied"
|
||||||
@@ -117,13 +126,15 @@ gertyname }}{% endraw %}{% endblock %}{% block page %} {% raw %}
|
|||||||
<q-chip
|
<q-chip
|
||||||
v-else
|
v-else
|
||||||
square
|
square
|
||||||
|
size="sm"
|
||||||
color="red"
|
color="red"
|
||||||
text-color="white"
|
text-color="white"
|
||||||
icon="sentiment_dissatisfied"
|
icon="sentiment_dissatisfied"
|
||||||
>
|
>
|
||||||
{{item[1].value}}
|
{{item[1].value}}
|
||||||
</q-chip>
|
</q-chip>
|
||||||
</p>
|
</div>
|
||||||
|
</div>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -21,8 +21,14 @@ from lnbits.decorators import WalletTypeInfo, get_key_type, require_admin_key
|
|||||||
from lnbits.utils.exchange_rates import satoshis_amount_as_fiat
|
from lnbits.utils.exchange_rates import satoshis_amount_as_fiat
|
||||||
|
|
||||||
from . import gerty_ext
|
from . import gerty_ext
|
||||||
from .crud import (create_gerty, delete_gerty, get_gerty, get_gertys,
|
from .crud import (
|
||||||
get_mempool_info, update_gerty)
|
create_gerty,
|
||||||
|
delete_gerty,
|
||||||
|
get_gerty,
|
||||||
|
get_gertys,
|
||||||
|
get_mempool_info,
|
||||||
|
update_gerty,
|
||||||
|
)
|
||||||
from .helpers import *
|
from .helpers import *
|
||||||
from .models import Gerty, MempoolEndpoint
|
from .models import Gerty, MempoolEndpoint
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user