From: Vincent Vanwaelscappel Date: Tue, 14 Jan 2025 16:32:00 +0000 (+0100) Subject: wip #7260 @0:25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=236e9cc37e8d7157195e3fd032b1afdf5c781224;p=bloomsburie.git wip #7260 @0:25 --- diff --git a/framework/application/forms/CMS/Carrers.php b/framework/application/forms/CMS/Carrers.php new file mode 100644 index 0000000..0aead83 --- /dev/null +++ b/framework/application/forms/CMS/Carrers.php @@ -0,0 +1,19 @@ +setLabel('Picture'); + $this->addElement($photo); + + $howwework = new CubeIT_Form_Element_Markitup('howwework'); + $howwework->setLabel('How we work'); + $this->addElement($howwework); + } + +} diff --git a/framework/application/views/scripts/templates/carrers.phtml b/framework/application/views/scripts/templates/carrers.phtml new file mode 100644 index 0000000..4fd508d --- /dev/null +++ b/framework/application/views/scripts/templates/carrers.phtml @@ -0,0 +1,12 @@ +headScript()->addScriptAndStyle('carrers'); +echo $this->twocols(); + +?> +
imageSlideshowContinuous($this->photo, 650, array(), array('arrowspermanent' => 1)); ?>
+
+ textLayer($this->howwework); ?> +
+ + diff --git a/js/carrers.js b/js/carrers.js new file mode 100644 index 0000000..8e2b08d --- /dev/null +++ b/js/carrers.js @@ -0,0 +1,9 @@ +TO_LOAD_ONCE[TO_LOAD_ONCE.length] = 'load_carrers();'; + +function load_carrers() { + $('.howwework a').each(function () { + let t = $(this).text(); + $(this).addClass('animated-arrow').addClass('discreet'); + $(this).html('' + t + ''); + }); +} \ No newline at end of file diff --git a/less/header.less b/less/header.less index 76f314d..d040225 100644 --- a/less/header.less +++ b/less/header.less @@ -214,7 +214,7 @@ header { nav[role=navigation].active { max-height: 26em; - padding: 65px 0 30px 0; + padding: 65px 0 80px 0; box-sizing: content-box; }