From: vincent@cubedesigners.com Date: Wed, 6 May 2020 09:28:50 +0000 (+0000) Subject: fix #3633 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=dc7bd8f2a7bb3357c2ac6fa89f02fc7e143ddbca;p=fluidbook-v3.git fix #3633 @1 --- diff --git a/framework/application/controllers/MaintenanceController.php b/framework/application/controllers/MaintenanceController.php index 3ebd74b..bdbabbf 100644 --- a/framework/application/controllers/MaintenanceController.php +++ b/framework/application/controllers/MaintenanceController.php @@ -26,7 +26,7 @@ class MaintenanceController extends CubeIT_Controller_MaintenanceController set_time_limit(0); ignore_user_abort(true); - $ws = new CubeIT_Services_Fluidbook('vincent@cubedesigners.com', 'iquique'); + $ws = new CubeIT_Services_Fluidbook('vincent@cubedesigners.com', 'SiWyC@@1uW'); $references = Fluidbook_Model_Reference::factory()->find(); $fluidbooks = array(); @@ -69,7 +69,7 @@ class MaintenanceController extends CubeIT_Controller_MaintenanceController public static function importReference($id) { - $ws = new CubeIT_Services_Fluidbook('vincent@cubedesigners.com', 'iquique'); + $ws = new CubeIT_Services_Fluidbook('vincent@cubedesigners.com', 'SiWyC@@1uW'); $meta = $ws->getMetadata($id); $dir = PUBLIC_PATH . '/references/' . $id . '-' . CubeIT_Text::str2URL(trim($meta->title)); $res = $ws->installBook($id, $dir, 'online', 3, function () use ($id) { diff --git a/framework/application/views/helpers/Exemples.php b/framework/application/views/helpers/Exemples.php index 9dd10c6..a566cda 100644 --- a/framework/application/views/helpers/Exemples.php +++ b/framework/application/views/helpers/Exemples.php @@ -116,8 +116,8 @@ class Fluidbook_View_Helper_Exemples extends CubeIT_View_Helper_Abstract { $res .= $this->exemplePublication($f->getFluidbookId(), $f->getFluidbookPage()); } else { $res .= $this->htmlElement('', 'div', - array('style' => 'background-image:url(' . $this->imageProcess()->imageProcessGetURL($image, $f->getTitle() . ' - ' . $f->getText(), 660, 440, array(), 'R') . ');', - 'class' => 'img') + array('style' => 'background-image:url(' . $this->imageProcess()->imageProcessGetURL($image, $f->getTitle() . ' - ' . $f->getText(), 1200, 1200, array(), 'R') . ');', + 'class' => 'img full') ); } $attrs = array('data-j' => ++$this->_j, 'data-i' => $i); diff --git a/less/220-exemples.less b/less/220-exemples.less index d9e5166..a9fa330 100644 --- a/less/220-exemples.less +++ b/less/220-exemples.less @@ -31,6 +31,15 @@ bottom: 10%; background-size: contain; background-position: 50% 100%; + + &.full{ + width:100%; + height:100%; + top:0; + left:0; + right: 0; + bottom: 0; + } } h3 {