Răsfoiți Sursa

HUE-6285 [frontend] Clearing history from popup after create table creates overlapping dialogs which are not clickable

Enrico Berti 8 ani în urmă
părinte
comite
ae8d95d

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


+ 5 - 1
desktop/core/src/desktop/static/desktop/less/hue.less

@@ -942,4 +942,8 @@ a:visited {
 .form-actions {
   width: initial !important;
   position: initial !important;
-}
+}
+
+#clearNotificationHistoryModal {
+  z-index: 10000;
+}

+ 4 - 1
desktop/core/src/desktop/templates/ko_components.mako

@@ -192,6 +192,9 @@ from desktop.views import _ko
         <!-- /ko -->
         <!-- /ko -->
       </div>
+      <!-- ko ifnot: history -->
+        <span style="font-style: italic">${ _('No history to be shown.') }</span>
+      <!-- /ko -->
       <!-- ko if: history -->
       <hr>
       <div class="notification-history margin-bottom-10" data-bind="niceScroll">
@@ -239,7 +242,7 @@ from desktop.views import _ko
       <!-- /ko -->
     </div>
 
-    <div id="clearNotificationHistoryModal" class="modal hide fade">
+    <div id="clearNotificationHistoryModal" class="modal hide fade" data-backdrop="false">
       <div class="modal-header">
         <button type="button" class="close" data-dismiss="modal" aria-label="${ _('Close') }"><span aria-hidden="true">&times;</span></button>
         <h2 class="modal-title">${_('Confirm History Clearing')}</h2>

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff