Caravan UI updates

This commit is contained in:
Taylor Helsper 2020-06-05 22:48:23 -05:00
parent 9528d5a7bd
commit 7a5db7978e

View File

@ -149,13 +149,17 @@
<div class="app_title">Caravan</div>
<div class="app_status">{{ caravan_status }}</div>
<div class="app_contents">
{% if caravan_enabled %}
{% if caravan_ready %}
<a class="ui-button ui-widget ui-corner-all mynode_button" href="/caravan">Info</a>
<a class="ui-button ui-widget ui-corner-all mynode_button" href="#" id="toggle-caravan">Disable</a>
{% endif %}
{% if product_key_skipped %}
Premium Feature
{% else %}
<a class="ui-button ui-widget ui-corner-all mynode_button" href="#" id="toggle-caravan">Enable</a>
{% if caravan_enabled %}
{% if caravan_ready %}
<a class="ui-button ui-widget ui-corner-all mynode_button" href="/caravan">Info</a>
<a class="ui-button ui-widget ui-corner-all mynode_button" href="#" id="toggle-caravan">Disable</a>
{% endif %}
{% else %}
<a class="ui-button ui-widget ui-corner-all mynode_button" href="#" id="toggle-caravan">Enable</a>
{% endif %}
{% endif %}
</div>
</div>