diff --git a/templates/index.html b/templates/index.html index 4c542fb..5d341d0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -24,14 +24,29 @@ {% endif %} {% endif %} + + {% if info.mainnet and config.lokinet_mainnet_url %} + Connect via Lokinet + {% elif info.testnet and config.lokinet_testnet_url %} + Connect via Lokinet + {% elif info.devnet and config.lokinet_devnet_url %} + Connect via Lokinet + {% endif %} + {% if config.testnet_url and not info.testnet %} - Go to testnet explorer + Go to testnet explorer + {%if config.lokinet_testnet_url%}(via Lokinet){%endif%} + {% endif %} {% if config.devnet_url and not info.devnet %} - Go to devnet explorer + Go to devnet explorer + {%if config.lokinet_devnet_url%}(via Lokinet){%endif%} + {% endif %} {% if config.mainnet_url and not info.mainnet %} - Go to mainnet explorer + Go to mainnet explorer + {%if config.lokinet_mainnet_url%}(via Lokinet){%endif%} + {% endif %} {% if info.testnet %} This is TESTNET blockchain