@gohelpfund/insight-ui
Version:
An open-source frontend for the Insight API. The Insight API provides you with a convenient, powerful and simple way to query and broadcast data on the Help network and build your own services with it.
23 lines (16 loc) • 731 B
HTML
<div class="connection-status container" data-ng-controller="ConnectionController">
<div class="alert alert-danger"
data-ng-show="!serverOnline || !clienteOnline || !apiOnline"
data-ng-init="getConnStatus()">
<strong translate>Error!</strong>
<p data-ng-show="!apiOnline" translate>
Can't connect to helpd to get live updates from the p2p network. (Tried connecting to helpd at {{host}}:{{port}} and failed.)
</p>
<p data-ng-show="!serverOnline" translate>
Can't connect to insight server. Attempting to reconnect...
</p>
<p data-ng-show="!clienteOnline" translate>
Can't connect to internet. Please, check your connection.
</p>
</div>
</div>