Add LND Connect to main page

This commit is contained in:
Taylor Helsper 2019-09-02 16:32:52 -05:00
parent 22f76f4d07
commit bdba4144d7
5 changed files with 39 additions and 10 deletions

View File

@ -282,6 +282,8 @@ a:active {
margin-top: 15px; margin-top: 15px;
margin-bottom: 15px; margin-bottom: 15px;
border-bottom: 3px dashed orange; border-bottom: 3px dashed orange;
margin-left: auto;
margin-right: auto;
} }
.settings_button { .settings_button {
font-size: 14px; font-size: 14px;

View File

@ -29,7 +29,7 @@
<div class="app_status">{% if not lnd_ready %}Waiting on LND...{% endif %}</div> <div class="app_status">{% if not lnd_ready %}Waiting on LND...{% endif %}</div>
<div class="app_contents"> <div class="app_contents">
{% if lnd_ready %} {% if lnd_ready %}
<a class="ui-button ui-widget ui-corner-all mynode_button" href="#" id="lndconnect">LND Admin</a> <a class="ui-button ui-widget ui-corner-all mynode_button" href="#" id="lndconnect">LND Connect</a>
{% endif %} {% endif %}
</div> </div>
</div> </div>

View File

@ -163,9 +163,7 @@
<div class="main_header">Settings</div> <div class="main_header">Settings</div>
<div style="margin: auto; text-align: center;"> {% include 'includes/message_display.html' %}
{{ message }}
</div>
<br/> <br/>
<div class="settings_block"> <div class="settings_block">

View File

@ -19,9 +19,7 @@
<a class="ui-button ui-widget ui-corner-all mynode_back" href="/"><span class="ui-icon ui-icon-home"></span>home&nbsp;</a> <a class="ui-button ui-widget ui-corner-all mynode_back" href="/"><span class="ui-icon ui-icon-home"></span>home&nbsp;</a>
</div> </div>
<div style="margin: auto; text-align: center;"> {% include 'includes/message_display.html' %}
{{ message }}
</div>
<div class="main_header">Tor Services</div> <div class="main_header">Tor Services</div>
<br/> <br/>
@ -37,6 +35,8 @@
</div> </div>
</div> </div>
<div class="divider" style="width: 800px;"></div>
<div class="app_tile_row"> <div class="app_tile_row">
<div class="info_tile"> <div class="info_tile">
<div class="info_tile_header">Electrum Server</div> <div class="info_tile_header">Electrum Server</div>
@ -58,6 +58,37 @@
</div> </div>
</div> </div>
<div class="divider" style="width: 800px;"></div>
<div class="app_tile_row">
<div class="info_tile">
<div class="info_tile_header">LND</div>
<div class="info_tile_contents">Tor Enabled</div>
</div>
<div class="info_tile">
<div class="info_tile_header">LND gRPC Port</div>
<div class="info_tile_contents">10009</div>
</div>
<div class="info_tile">
<div class="info_tile_header">LND REST Port</div>
<div class="info_tile_contents">10080</div>
</div>
</div>
<div class="app_tile_row">
<div class="info_tile">
<div class="info_tile_header">LND Tor Hostname</div>
<div class="info_tile_contents">{{lnd_onion_hostname}}</div>
</div>
<div class="info_tile">
<div class="info_tile_header">LND Tor Client Name</div>
<div class="info_tile_contents">mynode</div>
</div>
<div class="info_tile">
<div class="info_tile_header">LND Tor Client Password</div>
<div class="info_tile_contents">{{lnd_onion_password}}</div>
</div>
</div>
{% include 'includes/footer.html' %} {% include 'includes/footer.html' %}
</body> </body>
</html> </html>

View File

@ -79,9 +79,7 @@
<a class="ui-button ui-widget ui-corner-all mynode_back" href="/"><span class="ui-icon ui-icon-home"></span>home&nbsp;</a> <a class="ui-button ui-widget ui-corner-all mynode_back" href="/"><span class="ui-icon ui-icon-home"></span>home&nbsp;</a>
</div> </div>
<div style="margin: auto; text-align: center;"> {% include 'includes/message_display.html' %}
{{ message }}
</div>
<div class="main_header">VPN Status</div> <div class="main_header">VPN Status</div>
<br/> <br/>