Improve Dojo status message re electrum

This commit is contained in:
Taylor Helsper 2020-04-26 19:58:15 -05:00
parent 4dc6f806e7
commit b52b6d9021
2 changed files with 5 additions and 5 deletions

View File

@ -53,7 +53,7 @@
<div class="app_tile_row"> <div class="app_tile_row">
<div class="info_tile"> <div class="info_tile">
<div class="info_tile_header">Note</div> <div class="info_tile_header">Note</div>
<div class="info_tile_contents">Please enable electrum server...</div> <div class="info_tile_contents">Please enable electrum server and wait for it to sync...</div>
</div> </div>
</div> </div>
{% endif %} {% endif %}

View File

@ -79,13 +79,13 @@
<div class="app_title">Dojo</div> <div class="app_title">Dojo</div>
<div class="app_status">{{ dojo_status }}</div> <div class="app_status">{{ dojo_status }}</div>
<div class="app_contents"> <div class="app_contents">
{% if not is_installing_docker_images and electrs_active %} {% if not is_installing_docker_images %}
<a class="ui-button ui-widget ui-corner-all mynode_button" href="/dojo"> <a class="ui-button ui-widget ui-corner-all mynode_button" href="/dojo">Info</a>
{% if dojo_initialized %}Info{% else %}Info{% endif %} {% if electrs_active %}
</a>
<a class="ui-button ui-widget ui-corner-all mynode_button" href="/toggle-dojo"> <a class="ui-button ui-widget ui-corner-all mynode_button" href="/toggle-dojo">
{% if dojo_enabled %}Disable{% else %}Enable{% endif %} {% if dojo_enabled %}Disable{% else %}Enable{% endif %}
</a> </a>
{% endif %}
{% endif %} {% endif %}
</div> </div>
</div> </div>