forked from cryptosharks131/lndg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suggested open list (cryptosharks131#7)
Add link to page with a suggested open list based on payments your node has sent through the network
- Loading branch information
1 parent
d7e84f7
commit adc22dd
Showing
4 changed files
with
69 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{% extends "base.html" %} | ||
{% block content %} | ||
{% load humanize %} | ||
{% if open_list %} | ||
<div class="w3-container w3-padding-small"> | ||
<h2>Suggested Open List</h2> | ||
<table class="w3-table-all w3-centered w3-hoverable"> | ||
<tr> | ||
<th>Node Pubkey</th> | ||
<th width=15%>Node Alias</th> | ||
<th width=15%>Successful Payments Routed</th> | ||
<th width=12%>Amount Routed</th> | ||
<th width=12%>Fees Paid</th> | ||
<th width=12%>Effective PPM</th> | ||
<th width=12%>Volume Score</th> | ||
</tr> | ||
{% for node in open_list %} | ||
<tr> | ||
<td>{{ node.node_pubkey }}</td> | ||
<td>{{ node.alias }}</td> | ||
<td>{{ node.count }}</td> | ||
<td>{{ node.amount|add:"0"|intcomma }}</td> | ||
<td>{{ node.fees|add:"0"|intcomma }}</td> | ||
<td>{{ node.ppm|add:"0"|intcomma }}</td> | ||
<td>{{ node.score }}</td> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
</div> | ||
{% endif %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters