Minor CSS fix on LND button sizing
This commit is contained in:
parent
e4c6b02a7a
commit
ae494b19a4
|
@ -51,10 +51,10 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="app_contents">
|
<div class="app_contents">
|
||||||
{% if lnd_ready %}
|
{% if lnd_ready %}
|
||||||
<a style="width: 37px;" class="ui-button ui-widget ui-corner-all mynode_button" id="lit" href="#" title="Open Lightning Terminal">
|
<a style="width: 38px;" class="ui-button ui-widget ui-corner-all mynode_button" id="lit" href="#" title="Open Lightning Terminal">
|
||||||
<img style="width: 16px;" src="{{ url_for('static', filename="images/lit.png")}}"/>
|
<img style="width: 16px;" src="{{ url_for('static', filename="images/lit.png")}}"/>
|
||||||
</a>
|
</a>
|
||||||
<a style="width: 37px;" class="ui-button ui-widget ui-corner-all mynode_button" href="#" id="pair_wallet" title="Pair Wallet">
|
<a style="width: 38px;" class="ui-button ui-widget ui-corner-all mynode_button" href="#" id="pair_wallet" title="Pair Wallet">
|
||||||
<img style="width: 16px;" src="{{ url_for('static', filename="images/qr_code.png")}}"/>
|
<img style="width: 16px;" src="{{ url_for('static', filename="images/qr_code.png")}}"/>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -197,30 +197,7 @@
|
||||||
<td>Amount</td>
|
<td>Amount</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- ONLY UPDATE VIA JS??
|
<!-- CONTENTS GENERATED DYNAMICALLY VIA JAVASCRIPT -->
|
||||||
{% if lnd_transactions and lnd_transactions|length > 0 %}
|
|
||||||
{% for tx in lnd_transactions[:lnd_tx_display_limit] %}
|
|
||||||
<tr>
|
|
||||||
<td>{{ tx.date_str }}</td>
|
|
||||||
<td>{{ tx.amount_str }}</td>
|
|
||||||
<td>
|
|
||||||
{% if tx.num_confirmations < 1 %}
|
|
||||||
<img style="width: 16px;" src="{{ url_for('static', filename="images/")}}confirm_pending.png" title="pending transaction"/>
|
|
||||||
{% elif tx.num_confirmations <= 3 %}
|
|
||||||
<img style="width: 16px;" src="{{ url_for('static', filename="images/")}}confirm_bars_{{tx.num_confirmations}}.png" title="{{ tx.num_confirmations }} confirmations"/>
|
|
||||||
{% else %}
|
|
||||||
<img style="width: 16px;" src="{{ url_for('static', filename="images/")}}confirm_complete.png" title="{{ tx.num_confirmations }} confirmations"/>
|
|
||||||
{% endif %}
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
{% endfor %}
|
|
||||||
{% if lnd_transactions|length >= lnd_tx_display_limit %}
|
|
||||||
<tr><td colspan=9>more...</td></tr>
|
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
|
||||||
<tr><td colspan=9 style="text-align: center;"><br/><br/>None yet!</td></tr>
|
|
||||||
{% endif %}
|
|
||||||
-->
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -233,40 +210,7 @@
|
||||||
<td>Amount</td>
|
<td>Amount</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- ONLY UPDATE VIA JS??
|
<!-- CONTENTS GENERATED DYNAMICALLY VIA JAVASCRIPT -->
|
||||||
{% if lnd_payments_and_invoices and lnd_payments_and_invoices|length > 0 %}
|
|
||||||
{% for tx in lnd_payments_and_invoices[:lnd_tx_display_limit] %}
|
|
||||||
<tr>
|
|
||||||
<td>{{ tx.date_str }}</td>
|
|
||||||
<td>{{ tx.value_str }}</td>
|
|
||||||
<td>
|
|
||||||
{% if tx.type == "PAYMENT" %}
|
|
||||||
<img style="width: 16px;" src="{{ url_for('static', filename="images/ln_send.png")}}"/>
|
|
||||||
{% else %}
|
|
||||||
<img style="width: 16px;" src="{{ url_for('static', filename="images/ln_recv.png")}}"/>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if tx.state == "OPEN" %}
|
|
||||||
<img style="width: 16px;" src="{{ url_for('static', filename="images/")}}invoice_pending.png" title="open invoice"/>
|
|
||||||
{% elif tx.state == "SETTLED" %}
|
|
||||||
<img style="width: 16px;" src="{{ url_for('static', filename="images/")}}invoice_complete.png" title="settled invoice"/>
|
|
||||||
{% elif tx.state == "CANCELED" or tx.state == "CANCELLED" %}
|
|
||||||
<img style="width: 16px;" src="{{ url_for('static', filename="images/")}}invoice_cancelled.png" title="cancelled invoice"/>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if tx.memo != None and tx.memo != "" %}
|
|
||||||
<img style="width: 16px;" src="{{ url_for('static', filename="images/memo.png")}}" title="{{ tx.memo }}"/>
|
|
||||||
{% endif %}
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
{% endfor %}
|
|
||||||
{% if lnd_payments_and_invoices|length >= lnd_tx_display_limit %}
|
|
||||||
<tr><td colspan=9>more...</td></tr>
|
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
|
||||||
<tr><td colspan=9 style="text-align: center;"><br/><br/>None yet!</td></tr>
|
|
||||||
{% endif %}
|
|
||||||
-->
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user