mirror of
https://github.com/cryptosharks131/lndg.git
synced 2026-08-13 12:33:04 +02:00
41 lines
1.3 KiB
HTML
41 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %} {{ block.super }} - Routes{% endblock %}
|
|
{% block content %}
|
|
{% load humanize %}
|
|
{% if route %}
|
|
<div class="w3-container w3-padding-small">
|
|
<h2>Route For : {{ payment_hash }}</h2>
|
|
<table class="w3-table-all w3-centered w3-hoverable">
|
|
<tr>
|
|
<th>Step</th>
|
|
<th>Amount</th>
|
|
<th>Fee</th>
|
|
<th title="The fee in PPM paid on this hop.">PPM</th>
|
|
<th title="The cost to get the payment to this hop of the payment.">Cost To</th>
|
|
<th>📍</th>
|
|
<th>Alias</th>
|
|
<th>Channel ID</th>
|
|
<th>Channel Capacity</th>
|
|
</tr>
|
|
{% for hop in route %}
|
|
<tr>
|
|
<td>{{ hop.step }}</td>
|
|
<td>{{ hop.amt|intcomma }}</td>
|
|
<td>{{ hop.fee|intcomma }}</td>
|
|
<td>{{ hop.ppm|intcomma }}</td>
|
|
<td>{{ hop.cost_to|intcomma }}</td>
|
|
<td>{% if hop.step == 1 %}📍{% else %}🔻{% endif %}
|
|
<td>{% if hop.alias == '' %}---{% else %}{{ hop.alias }}{% endif %}</td>
|
|
<td><a href="/channel?={{ hop.chan_id }}" target="_blank">{{ hop.chan_id }}</a></td>
|
|
<td>{{ hop.chan_capacity|intcomma }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
{% endif %}
|
|
{% if not route %}
|
|
<div class="w3-container w3-padding-small">
|
|
<center><h1>A route was not found for this payment hash!</h1></center>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|