]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Add missing blanks to fix layout issue of various texts. 22597/head
authorVolker Theile <vtheile@suse.com>
Mon, 18 Jun 2018 10:19:55 +0000 (12:19 +0200)
committerVolker Theile <vtheile@suse.com>
Mon, 18 Jun 2018 11:55:39 +0000 (13:55 +0200)
This behaviour starts to occur after switching to Angular 6.

Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.html
src/pybind/mgr/dashboard/frontend/src/app/core/auth/logout/logout.component.html
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/task-manager/task-manager.component.html
src/pybind/mgr/dashboard/frontend/src/openattic-theme.scss

index ca27ddfb51a563dee613149e6abb250cf361c498..a90be7f20384e50e8864601856f58baf9a9d7df2 100644 (file)
@@ -5,7 +5,7 @@
       <div class="well">
         <fieldset>
           <legend i18n>Health</legend>
-          <ng-container i18n>Overall status:</ng-container>
+          <ng-container i18n>Overall status: </ng-container>
           <span [ngStyle]="contentData.health.status | healthColor">{{ contentData.health.status }}</span>
           <ul>
             <li *ngFor="let check of contentData.health.checks">
index 993fd95ebb1aa385dc3ee226392797b1b7d5463a..cd6282070998d900b7bcfb572e98ff7f2750f157 100644 (file)
@@ -2,5 +2,5 @@
    title="Sign Out"
    (click)="logout()">
   <i class="fa fa-sign-out"></i>
-  <ng-container i18n>Logout</ng-container>
+  <span i18n>Logout</span>
 </a>
index 6178293c5f098a9edf98eb9f640e48367aff8ea4..e83da3184c5b04470870888d49dfe3e0485c13be 100644 (file)
@@ -83,5 +83,6 @@
    outsideClick="true">
   <i class="fa"
      [ngClass]="icon"></i>
-  Background-Tasks<span *ngIf="executingTasks.length > 0"> ({{ executingTasks.length }})</span>
+  <span i18n>Background-Tasks</span>
+  <span *ngIf="executingTasks.length > 0"> ({{ executingTasks.length }})</span>
 </a>
index e0822d37cf781e5a49e527acc454873340038600..ebb2c52a836f392c7dec86a35ef2f6bc69b63788 100755 (executable)
@@ -299,6 +299,10 @@ ul.task-queue-pagination {
   border-top: 4px solid $oa-color-blue;
   font-size: 1.2em;
 }
+.navbar-openattic i.fa {
+  /** Add space between icon and text */
+  margin-right: 5px;
+}
 .navbar-openattic .navbar-header {
   display: flex;
   float: none;
@@ -350,6 +354,9 @@ ul.task-queue-pagination {
 .navbar-openattic .navbar-nav>li>.oa-navbar>[dropdown].open>a {
   background-color: #505050;
 }
+.navbar-openattic .navbar-nav>li a.dropdown-toggle span.caret {
+  margin-left: 5px;
+}
 .navbar-openattic .navbar-nav>.open>a,
 .navbar-openattic .navbar-nav>.open>a:hover,
 .navbar-openattic .navbar-nav>.open>a:focus,
@@ -538,6 +545,9 @@ ul.task-queue-pagination {
 .panel .panel-toolbar>.dropdown>a {
   padding-left: 5px;
 }
+.panel .panel-footer > .button-group button.btn {
+  margin-left: 3px;
+}
 .panel-dashboard {
   height: 100%;
   padding-top: 60px;
@@ -584,31 +594,6 @@ ul.task-queue-pagination {
 .panel-dashboard .alert.bottom-margin-zero {
   margin-bottom: 0;
 }
-.panel-openattic {
-  border: $border-color;
-  border-top: 0;
-  border-radius: 0;
-}
-.panel-openattic>.panel-heading {
-  border-top: 2px solid $oa-color-blue;
-  border-radius: 0;
-  padding: 20px 15px;
-}
-.panel-openattic>.panel-heading>.panel-title {
-  color: #333333;
-  font-size: 1.333em;
-  margin: 0;
-  padding: 0;
-}
-.panel-openattic>.panel-body {
-  background: #ffffff;
-  border-top: $border-color;
-  padding: 10px 15px;
-}
-.panel-openattic>.panel-footer {
-  background: #ffffff;
-  border-top: $border-color;
-}
 
 /* Typo */
 a {
@@ -1146,6 +1131,11 @@ hr.oa-hr-small {
   vertical-align: text-top;
 }
 
+/* Modal dialog */
+.modal-footer button.btn {
+  margin-left: 3px;
+}
+
 // awesome-bootstrap-checkbox + ForkAwesome
 input[type="checkbox"].styled:checked + label:after,
 input[type="radio"].styled:checked + label:after,