diff --git a/sources/application/WebPage/PDFPage.php b/sources/application/WebPage/PDFPage.php
index 74e6d3fab..f93ccdad6 100644
--- a/sources/application/WebPage/PDFPage.php
+++ b/sources/application/WebPage/PDFPage.php
@@ -67,10 +67,10 @@ class PDFPage extends WebPage
table {
padding: 2pt;
}
-table.ibo-datatable td {
+table.ibo-datatable td, table.listResults td {
border: 0.5pt solid #000 ;
}
-table.ibo-datatable th {
+table.ibo-datatable th, table.listResults th {
background-color: #eee;
border: 0.5pt solid #000 ;
}
diff --git a/webservices/export-v2.php b/webservices/export-v2.php
index a8793427e..116d28466 100644
--- a/webservices/export-v2.php
+++ b/webservices/export-v2.php
@@ -4,6 +4,7 @@
* @license http://opensource.org/licenses/AGPL-3.0
*/
+use Combodo\iTop\Application\UI\Base\Component\Alert\AlertUIBlockFactory;
use Combodo\iTop\Application\UI\Base\Component\Button\ButtonUIBlockFactory;
use Combodo\iTop\Application\UI\Base\Component\Field\FieldUIBlockFactory;
use Combodo\iTop\Application\UI\Base\Component\Form\FormUIBlockFactory;
@@ -131,8 +132,14 @@ function DisplayExpressionForm(WebPage $oP, $sAction, $sExpression = '', $sExcep
$oFieldQuery = FieldUIBlockFactory::MakeStandard('');
$oTextArea = new TextArea('expression', htmlentities($sExpression, ENT_QUOTES, 'UTF-8'), "textarea_oql", 70, 8);
$oTextArea->SetPlaceholder(Dict::S('Core:BulkExportQueryPlaceholder'));
+ $oTextArea->AddCSSClass("ibo-queryoql");
$oFieldQuery->AddSubBlock($oTextArea);
$oForm->AddSubBlock($oFieldQuery);
+ if (!empty($sExceptionMessage)) {
+ $oAlert = AlertUIBlockFactory::MakeForFailure($sExceptionMessage);
+ $oAlert->SetIsCollapsible(false);
+ $oForm->AddSubBlock($oAlert);
+ }
$oFieldPhraseBook = FieldUIBlockFactory::MakeStandard('');
$oSelect = SelectUIBlockFactory::MakeForSelect('query', "select_phrasebook");