mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°3929 - Polishing: Dashboards
This commit is contained in:
@@ -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
@@ -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
|
||||
{
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user