node.html (1803B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <title>SatSale</title> 5 <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}"> 6 <meta name="viewport" content="width=device-width,initial-scale=1.0"> 7 8 <script src="{{ url_for('static', filename='jquery-3.6.0.min.js') }}"></script> 9 <script src="{{ url_for('static', filename='socket.io.min.js') }}"></script> 10 <script src="{{ url_for('static', filename='satsale.js') }}"></script> 11 12 <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"> 13 </head> 14 15 16 <body> 17 <div id="paybox"> 18 <div id="row" height="50px"> 19 <div id="left" style="display:inline-block;" height="75px"> 20 <h1>Open a channel:</h1> 21 </div> 22 <div id="right"> 23 <p><img class="qr" style="display:block; margin-left: auto; margin-right: auto;" width="100px" src="{{ url_for('static', filename='qr_codes/node.png') }}"></p> 24 </div> 25 </div> 26 <pre id="nodeInfo" style="padding:10px;background-color:black;color:white;border-radius:15px;white-space:pre-wrap;word-wrap:break-word;"> 27 <span id="node_url"></span> 28 </pre> 29 30 </br> 31 32 <div id="row"> 33 <div id="left" style="text-align: left; padding: 0;"> 34 </div> 35 36 <div id="right" style="text-align: right; padding: 10px 10px;"> 37 <small style="vertical-align:middle"><a id="about" href="https://github.com/nickfarrow/SatSale" target="_blank">SatSale</a></small> 38 </div> 39 </div> 40 </div> 41 42 <script type="text/javascript"> 43 node_info = {{ params|tojson }}; 44 console.log(node_info); 45 document.getElementById("node_url").innerHTML = node_info.uri; 46 47 </script> 48 49 </body> 50 </html>