xref: /6.6.0/cbas-ui/cbas-ui/cbas_toplevel.html (revision 00a10aad)
1<div>
2    <mn-element-cargo depot="subnav">
3    <nav ng-if="qc.validated.valid()" class="sub-nav">
4      <a ui-sref="app.admin.cbas.workbench" ui-sref-active="selected">
5        Workbench</a>
6      <a ui-sref="app.admin.cbas.monitoring" ng-if="qc.isEnterprise"
7       ng-class="{selected: ('app.admin.cbas.monitoring' | includedByState)}">
8        Monitor</a>
9        <!--
10      <a ui-sref="app.admin.query.doc_editor" ui-sref-active="selected">
11        Document Editor</a> -->
12    </nav>
13  </mn-element-cargo>
14
15  <div class="margin-top-1" ng-if="qc.validated.inProgress() && !qc.validated.valid()">
16    <p>Contacting analytics node...</p>
17  </div>
18
19  <div ng-if="!qc.validated.inProgress() && !qc.validated.valid()" class="margin-top-half">
20    <p>The analytics interface is only available on Couchbase nodes running the analytics service.</p>
21    <div ng-if="qc.validNodes.length">
22      <span ng-if="qc.validated.otherStatus() == 404">
23        <p>The analytics service was found on the following nodes:</p>
24      </span>
25      <span ng-if="qc.validated.otherStatus() != 404">
26        <p class="error">Received error {{qc.validated.otherStatus()}} when contacting the
27        analytics service on this node. You can try refreshing the browser, or connecting to another node
28        (if available).</p>
29        <p>The analytics service was found on the following nodes:</p>
30      </span>
31      <div class="indent-1" ng-repeat="url in qc.validNodes">
32        <a href="{{url}}">{{url}}</a>
33      </div>
34      <div class="row flex-left margin-top-1">
35        <p class="text-small fix-width-7">
36          <span class="icon fa-warning orange-3"></span>
37          Note that the above links are provided as a convenience. They may not work
38          if you are accessing the Web Console via a web proxy or if Couchbase Server
39          has been deployed in a split horizon DNS environment, with public and
40          private hostnames and IPs. In the event the links don't work, log directly into the node.
41        </p>
42      </div>
43    </div>
44    <div ng-if="qc.validNodes.length == 0">
45      <p class="error">No analytics nodes were found on this cluster.</p>
46    </div>
47  </div>
48
49  <div ui-view=""></div>
50</div>
51