mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-12 08:29:16 +00:00
Improve electrum server page layout
This commit is contained in:
parent
129f8ffe11
commit
422889c3a3
|
@ -19,72 +19,80 @@
|
||||||
<div class="app_tile_row">
|
<div class="app_tile_row">
|
||||||
<div class="info_tile">
|
<div class="info_tile">
|
||||||
<div class="info_tile_header">Status</div>
|
<div class="info_tile_header">Status</div>
|
||||||
<div class="info_tile_contents">{{status}}</div>
|
|
||||||
</div>
|
|
||||||
<div class="info_tile">
|
|
||||||
<div class="info_tile_header">Current Block</div>
|
|
||||||
<div class="info_tile_contents">{{current_block}}</div>
|
|
||||||
</div>
|
|
||||||
<div class="info_tile">
|
|
||||||
<div class="info_tile_header">Restart</div>
|
|
||||||
<div class="info_tile_contents">
|
<div class="info_tile_contents">
|
||||||
<a class="ui-button ui-widget ui-corner-all mynode_button_small" style="width: 70%;" href="/restart-electrs">Restart</a>
|
<table class="info_table">
|
||||||
</div>
|
<tr>
|
||||||
</div>
|
<th>Status</th>
|
||||||
</div>
|
<td>{{status}}</td>
|
||||||
|
</tr>
|
||||||
<div class="app_tile_row">
|
<tr>
|
||||||
<div class="info_tile">
|
<th>Current Block</th>
|
||||||
<div class="info_tile_header">Electrum Server IP</div>
|
<td>{{current_block}}</td>
|
||||||
<div class="info_tile_contents">{{server_ip}}</div>
|
</tr>
|
||||||
</div>
|
<tr>
|
||||||
<div class="info_tile">
|
<th>Actions</th>
|
||||||
<div class="info_tile_header">Standard Port</div>
|
<td><a class="ui-button ui-widget ui-corner-all mynode_button_small" style="width: 100px;" href="/restart-electrs">Restart</a></td>
|
||||||
<div class="info_tile_contents">{{server_standard_port}}</div>
|
</tr>
|
||||||
</div>
|
<!--
|
||||||
<div class="info_tile">
|
<tr>
|
||||||
<div class="info_tile_header">Secure Port</div>
|
<th>CLI Command</th>
|
||||||
<div class="info_tile_contents">{{server_secure_port}}</div>
|
<td>{{electrs_command}}</td>
|
||||||
|
</tr>
|
||||||
|
-->
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="app_tile_row">
|
|
||||||
<div class="info_tile">
|
<div class="info_tile">
|
||||||
<div class="info_tile_header">Electrum CLI Command</div>
|
<div class="info_tile_header">Info</div>
|
||||||
<div class="info_tile_contents">{{electrs_command}}</div>
|
<div class="info_tile_contents">
|
||||||
|
<table class="info_table">
|
||||||
|
<tr>
|
||||||
|
<th>Electrum Server IP</th>
|
||||||
|
<td>{{server_ip}}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Standard Port</th>
|
||||||
|
<td>{{server_standard_port}}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Secure Port</th>
|
||||||
|
<td>{{server_secure_port}}</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
</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 Tor Service</div>
|
<div class="info_tile_header">Electrum Tor Service</div>
|
||||||
<div class="info_tile_contents">{% if not product_key_skipped %}Enabled{% else %}Premium Feature{% endif %}</div>
|
<div class="info_tile_contents">
|
||||||
</div>
|
<table class="info_table">
|
||||||
{% if not product_key_skipped %}
|
{% if product_key_skipped %}
|
||||||
<div class="info_tile">
|
<tr>
|
||||||
<div class="info_tile_header">Electrum Tor Hostname</div>
|
<th>Status</th>
|
||||||
<div class="info_tile_contents">{{electrs_onion_hostname}}</div>
|
<td>Premium Feature</td>
|
||||||
</div>
|
</tr>
|
||||||
<!--
|
{% else %}
|
||||||
<div class="info_tile">
|
<tr>
|
||||||
<div class="info_tile_header">Electrum Tor Password</div>
|
<th>Hostname</th>
|
||||||
<div class="info_tile_contents">{{electrs_onion_password}}</div>
|
<td style="font-size: 12px;">{{electrs_onion_hostname}}</td>
|
||||||
</div>
|
</tr>
|
||||||
-->
|
<tr>
|
||||||
</div>
|
<th>CLI Command</th>
|
||||||
<div class="app_tile_row">
|
<td style="font-size: 12px;">{{electrs_onion_command}}</td>
|
||||||
<div class="info_tile">
|
</tr>
|
||||||
<div class="info_tile_header">Electrum Tor Command</div>
|
<tr>
|
||||||
<div class="info_tile_contents">{{electrs_onion_command}}</div>
|
<th>Tor Help</th>
|
||||||
</div>
|
<td><a href="http://docs.electrum.org/en/latest/tor.html" target="_blank">Link</a></td>
|
||||||
<div class="info_tile">
|
</tr>
|
||||||
<div class="info_tile_header">Electrum Tor Help</div>
|
|
||||||
<div class="info_tile_contents"><a href="http://docs.electrum.org/en/latest/tor.html" target="_blank">Link</a></div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
<div class="main_header">Using Electrum Wallets</div>
|
<div class="main_header">Using Electrum Wallets</div>
|
||||||
|
|
|
@ -240,7 +240,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if wallet_exists and not wallet_logged_in %}
|
{% if wallet_exists and not wallet_logged_in %}
|
||||||
<!-- Statu Tile / Row (should be only shown short term) -->
|
<!-- Status Tile / Row (should be only shown short term) -->
|
||||||
<div class="app_tile_row">
|
<div class="app_tile_row">
|
||||||
<div class="info_tile">
|
<div class="info_tile">
|
||||||
<div class="info_tile_header">Status</div>
|
<div class="info_tile_header">Status</div>
|
||||||
|
@ -262,7 +262,7 @@
|
||||||
<div id="new_address_text" style="display: none;"> </div>
|
<div id="new_address_text" style="display: none;"> </div>
|
||||||
<button id="gen_new_address_button">Generate Deposit Address</button>
|
<button id="gen_new_address_button">Generate Deposit Address</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="app_tile_row"></div>
|
<div class="app_tile_row">
|
||||||
<table class="bitcoind_table">
|
<table class="bitcoind_table">
|
||||||
<thead class="bitcoind_table_header">
|
<thead class="bitcoind_table_header">
|
||||||
<td>On-chain Balance</td>
|
<td>On-chain Balance</td>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user