xref: /5.5.2/cbas-ui/cbas-ui/cbas_toplevel.html (revision c580c273)
1<div>
2
3  <div class="margin-top1" ng-if="qc.validated.inProgress() && !qc.validated.valid()">
4    <p>Contacting analytics node...</p>
5  </div>
6
7  <div ng-if="!qc.validated.inProgress() && !qc.validated.valid()" class="margin-top1">
8    <p>The analytics interface is only available on Couchbase nodes running the analytics service.</p>
9
10    <div ng-if="qc.validNodes.length">
11      <span ng-if="qc.validated.otherStatus() == 404">
12        <p>The analytics service was found on the following nodes:</p>
13      </span>
14      <span ng-if="qc.validated.otherStatus() != 404">
15        <p class="error">Received error {{qc.validated.otherStatus()}} when contacting the
16        analytics service on this node. You can try refreshing the browser, or connecting to another node
17        (if available).</p>
18        <p>The analytics service should be found on the following nodes:</p>
19      </span>
20      <ul class="nobullet">
21        <li ng-repeat="url in qc.validNodes">
22          <a href="{{url}}" data-ng-click="qc.forceReload(url)">{{url}}</a>
23        </li>
24      </ul>
25    </div>
26    <div ng-if="qc.validNodes.length == 0">
27      <p class="error">No analytics nodes were found on this cluster.</p>
28    </div>
29  </div>
30
31  <div ui-view=""></div>
32</div>
33