]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.html
import ceph quincy 17.2.6
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / shared / smart-list / smart-list.component.html
index 805d7558e3df7eed48fa9b1d2e631ea513180280..909f3e7ed6deb335e377ec6da3016e2a726d7ac3 100644 (file)
                     i18n>No SMART data available.</cd-alert-panel>
 
     <ng-container *ngIf="!(data | pipeFunction:isEmpty)">
-      <ul ngbNav
-          #nav="ngbNav"
-          class="nav-tabs">
-        <li ngbNavItem
-            *ngFor="let device of data | keyvalue">
+      <nav ngbNav
+           #nav="ngbNav"
+           class="nav-tabs">
+        <ng-container ngbNavItem
+                      *ngFor="let device of data | keyvalue">
           <a ngbNavLink>{{ device.value.device }} ({{ device.value.identifier }})</a>
           <ng-template ngbNavContent>
             <ng-container *ngIf="device.value.error; else noError">
@@ -55,9 +55,9 @@
             </ng-template>
 
             <ng-container *ngIf="!(device.value.info | pipeFunction:isEmpty) || !(device.value.smart | pipeFunction:isEmpty)">
-              <ul ngbNav
-                  #innerNav="ngbNav"
-                  class="nav-tabs">
+              <nav ngbNav
+                   #innerNav="ngbNav"
+                   class="nav-tabs">
                 <li [ngbNavItem]="1">
                   <a ngbNavLink
                      i18n>Device Information</a>
                                     i18n>No SMART data available for this device.</cd-alert-panel>
                   </ng-template>
                 </li>
-              </ul>
+              </nav>
 
               <div [ngbNavOutlet]="innerNav"></div>
             </ng-container>
           </ng-template>
-        </li>
-      </ul>
+        </ng-container>
+      </nav>
 
       <div [ngbNavOutlet]="nav"></div>
     </ng-container>