N°3929 - Polishing: Dashboards

This commit is contained in:
acognet
2021-07-02 11:24:16 +02:00
parent 418312bca5
commit 35b70bfc00
5 changed files with 59 additions and 21 deletions

View File

@@ -35,10 +35,13 @@ $ibo-input-select--action-button--padding-left: 6px !default;
$ibo-input-select--action-button--padding-right: 2px !default;
.ibo-input-select {
appearance: none;
display: inline-block;
min-width: $ibo-input-select--value--min-midth;
&:not(.ibo-input-select-autocomplete):not(.ibo-input-selectize) {
appearance: none;
}
&.ibo-input-selectize {
padding-right: 0;
padding-left: 0;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -50,15 +50,14 @@ $(function()
if (this.bModified)
{
this.element.addClass("itop-property-field-modified");
if (this.options.can_apply)
{
this.element.find(".prop_icon.ibo-prop--apply").css({visibility: ''});
}
else
{
if (this.options.can_apply) {
this.element.find(".prop_icon.ibo-prop--apply").css({visibility: ''});
CombodoTooltip.InitTooltipFromMarkup(this.element.find(".prop_icon.ibo-prop--apply [data-tooltip-content]"), true);
} else {
this.element.find(".prop_icon.ibo-prop--apply").css({visibility: 'hidden'});
}
this.element.find(".prop_icon.ibo-prop--cancel").css({visibility: ''});
CombodoTooltip.InitTooltipFromMarkup(this.element.find(".prop_icon.ibo-prop--cancel [data-tooltip-content]"), true);
}
else
{

View File

@@ -918,12 +918,12 @@ try
break;
case 'export_dashboard':
$oPage = new DownloadPage('');
$sDashboardId = utils::ReadParam('id', '', false, 'raw_data');
$sDashboardFile = utils::ReadParam('file', '', false, 'raw_data');
$oKPI = new ExecutionKPI();
$oDashboard = RuntimeDashboard::GetDashboard($sDashboardFile, $sDashboardId);
if (!is_null($oDashboard))
{
if (!is_null($oDashboard)) {
$oPage->TrashUnexpectedOutput();
$oPage->SetContentType('text/xml');
$oPage->SetContentDisposition('attachment', 'dashboard_'.$oDashboard->GetTitle().'.xml');