mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 17:18:51 +02:00
N°3930 Restore dashlet blocker on dashboard editor
This commit is contained in:
@@ -1274,7 +1274,7 @@ abstract class DashletGroupBy extends Dashlet
|
||||
$aExtraParams["panel_class"] = $sClass;
|
||||
$oPanel = $oBlock->GetDisplay($oPage, $sBlockId, array_merge($aExtraParams, $aParams));
|
||||
if ($bEditMode) {
|
||||
$oPanel->AddHtml('<div class="dashlet-blocker"></div>');
|
||||
$oPanel->AddHtml('<div class="ibo-dashlet-blocker dashlet-blocker"></div>');
|
||||
}
|
||||
|
||||
return $oPanel;
|
||||
|
||||
@@ -27,4 +27,13 @@ $ibo-dashlet--elements-spacing-y: 24px !default;
|
||||
}
|
||||
.ibo-details{
|
||||
margin-top: 5px;
|
||||
}
|
||||
.ibo-dashlet-blocker{
|
||||
position: absolute;
|
||||
z-index: 9; /* To be above calendar links & all, but below .close-box (9) */
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
@@ -103,4 +103,9 @@ $ibo-dashboard-editor--delete-dashlet-icon--z-index: 21 !default;
|
||||
@extend .ibo-button;
|
||||
@extend .ibo-is-alternative;
|
||||
@extend .ibo-is-danger;
|
||||
}
|
||||
.ibo-dashboard-editor .itop-dashboard{
|
||||
a{
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user