]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard_v2: Adapt status datatable to default design of cd-table
authorVolker Theile <vtheile@suse.com>
Fri, 23 Feb 2018 13:47:38 +0000 (14:47 +0100)
committerRicardo Dias <rdias@suse.com>
Mon, 5 Mar 2018 13:07:16 +0000 (13:07 +0000)
Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard_v2/frontend/src/app/ceph/cluster/monitor/monitor.component.html
src/pybind/mgr/dashboard_v2/frontend/src/app/ceph/cluster/monitor/monitor.component.scss

index e8206d7671510cae69d7368bf6adebe0436b2a23..2038929f51f18ed1bb75953fae1de5e2b2772881 100644 (file)
       <table class="table table-striped"
              *ngIf="mon_status">
         <tr>
-          <td>
-            <span i18n
-                  class="name">Cluster ID: </span>
-          </td>
-          <td>{{ mon_status.monmap.fsid }}
-          </td>
+          <td i18n
+              class="bold">Cluster ID</td>
+          <td>{{ mon_status.monmap.fsid }}</td>
         </tr>
         <tr>
-          <td>
-            <span i18n
-                  class="name">monmap modified: </span>
-          </td>
-          <td> {{ mon_status.monmap.modified }}
-          </td>
+          <td i18n
+              class="bold">monmap modified</td>
+          <td>{{ mon_status.monmap.modified }}</td>
         </tr>
         <tr>
-          <td>
-            <span i18n
-                  class="name">monmap epoch: </span>
-          </td>
-          <td> {{ mon_status.monmap.epoch }}
-          </td>
+          <td i18n
+              class="bold">monmap epoch</td>
+          <td>{{ mon_status.monmap.epoch }}</td>
         </tr>
         <tr>
-          <td>
-            <span i18n
-                  class="name">quorum con: </span>
-          </td>
-          <td> {{ mon_status.features.quorum_con }}
-          </td>
+          <td i18n
+              class="bold">quorum con</td>
+          <td>{{ mon_status.features.quorum_con }}</td>
         </tr>
         <tr>
-          <td>
-            <span i18n
-                  class="name">quorum mon: </span>
-          </td>
-          <td> {{ mon_status.features.quorum_mon }}
-          </td>
+          <td i18n
+              class="bold">quorum mon</td>
+          <td>{{ mon_status.features.quorum_mon }}</td>
         </tr>
         <tr>
-          <td>
-            <span i18n
-                  class="name">required con: </span>
-          </td>
-          <td> {{ mon_status.features.required_con }}
-          </td>
+          <td i18n
+              class="bold">required con</td>
+          <td>{{ mon_status.features.required_con }}</td>
         </tr>
         <tr>
-          <td>
-            <span i18n
-                  class="name">required mon: </span>
-          </td>
-          <td> {{ mon_status.features.required_mon }}
-          </td>
+          <td i18n
+              class="bold">required mon</td>
+          <td>{{ mon_status.features.required_mon }}</td>
         </tr>
       </table>
     </fieldset>