summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.html')
-rw-r--r--src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.html
new file mode 100644
index 000000000..2d03ea3e6
--- /dev/null
+++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.html
@@ -0,0 +1,28 @@
+<div>
+ <cd-refresh-selector></cd-refresh-selector>
+
+ <ng-container *ngIf="hasGrafana">
+ <ul ngbNav
+ #nav="ngbNav"
+ class="nav-tabs">
+ <li ngbNavItem>
+ <a ngbNavLink
+ i18n>Health</a>
+ <ng-template ngbNavContent>
+ <cd-health></cd-health>
+ </ng-template>
+ </li>
+ <li ngbNavItem>
+ <a ngbNavLink
+ i18n>Statistics</a>
+ <ng-template ngbNavContent>
+ </ng-template>
+ </li>
+
+ </ul>
+
+ <div [ngbNavOutlet]="nav"></div>
+ </ng-container>
+
+ <cd-health *ngIf="!hasGrafana"></cd-health>
+</div>