class Cubedesigners_Form_CMS_Expertise extends Cubedesigners_Form_CMS {
}
-
-?>
$bureaux = $contact['bureaux'];
- foreach ($bureaux as $id => $bureau) {
+ foreach ($bureaux as $bureau) {
$res.='<div class="bureau" itemscope itemtype="http://schema.org/LocalBusiness">';
-<?php\r
-\r
-class Cubedesigners_View_Helper_HomeBlocs extends Zend_View_Helper_Abstract {\r
-\r
- public function homeBlocs($blocs, $type) {\r
-\r
- $blocs = $blocs['blocs'];\r
-\r
- $res = '<div class="blocs">';\r
-\r
- $i = 0;\r
-\r
- foreach ($blocs as $id => $bloc) {\r
-\r
- if (($i % 2) == 0 && $i != 0) {\r
- $res.='<div class="spacer"></div>';\r
- }\r
-\r
- //$image = $this->view->imageProcess($bloc['picto'], $bloc['titre'], 120, 120);\r
-\r
- $image = $this->view->imageCms($bloc['picto'], $bloc['titre'], 120, 120);\r
-\r
- $res .= '<article>';\r
- $res.='<div class="sousbloc">';\r
- $res.= $image;\r
- $res.= '<h3>' . $bloc['titre'] . '</h3>';\r
- $res.= '<span class="texte">' . $this->view->markupDotclear($bloc['texte']) . '</span>';\r
- $res.='</div>';\r
- $res .= '</article>';\r
-\r
- $i++;\r
- }\r
-\r
- $res .= '</div>';\r
-\r
- if ($type == "agence") {\r
- $res .= $this->view->linkInternal(__("Découvrez l'agence"), 2);\r
- }\r
-\r
- /* if ($type == "expertises") {\r
- $res .= $this->view->linkInternal(__("Explorez nos expertises"), 5);\r
- } */\r
-\r
- return $res;\r
- }\r
-\r
-}\r
-\r
-?>\r
+<?php
+
+class Cubedesigners_View_Helper_HomeBlocs extends Zend_View_Helper_Abstract {
+
+ public function homeBlocs($blocs, $displayDetailsButton = false) {
+
+ $blocs = $blocs['blocs'];
+
+ $res = '<div class="blocs">';
+ $i = 0;
+ foreach ($blocs as $id => $bloc) {
+ if (($i % 2) == 0 && $i != 0) {
+ $res.='<div class="spacer"></div>';
+ }
+ $image = $this->view->imageCms($bloc['picto'], $bloc['titre'], 120, 120);
+ $res .= '<article class="sousbloc">';
+ $res.= $image;
+ $res.= '<h3>' . $bloc['titre'] . '</h3>';
+ $res.= '<div class="text">' . $this->view->markupDotclear($bloc['texte']);
+ if ($displayDetailsButton) {
+ $res.=$this->view->linkInternal(__('En savoir plus'), $bloc['lien'], array('class' => 'but'));
+ }
+ $res.='</div>';
+ $res .= '</article>';
+ $i++;
+ }
+ $res .= '</div>';
+ return $res;
+ }
+
+}
class Cubedesigners_View_Helper_Liste extends Zend_View_Helper_Abstract {
- public function liste($items, $attrs = array()) {
+ public function liste($items, $displayDetailsButtons = false, $attrs = array()) {
$defaultAttrs = array('class' => array('list'));
$attrs = array_merge($defaultAttrs, $attrs);
$this->view->headLink()->appendStylesheet('/less/list.less');
$res = '<div class="bloc-holder">';
$res.='<h2>' . ucfirst($items['titre']) . '</h2>';
- $res.=$this->view->homeBlocs($items);
+ $res.=$this->view->homeBlocs($items, $displayDetailsButtons);
if ($items['button']['label']) {
$res.=$this->view->linkCMS($items['button'], array('class' => 'but'));
}
-<?php\r
-$this->headScript()->addScriptAndStyle('casestudies');\r
-?>\r
-\r
-<div class="title"><?php echo $this->markupDotclear($this->titre); ?></div>\r
-\r
-<div id="casestudies-tagslist">\r
- <?php\r
- echo $this->CategoriesList('casestudies');\r
- ?>\r
-</div>\r
-\r
-<div id="casestudies-list">\r
- <?php\r
- $datas = Bootstrap::getInstance()->getCMSDatasOfPage($this->id);\r
- echo $this->CasestudiesList($datas);\r
- ?>\r
+<?php
+$this->headScript()->addScriptAndStyle('casestudies');
+?>
+
+<div class="content">
+ <div class="title"><?php echo $this->markupDotclear($this->titre); ?></div>
+
+ <div id="casestudies-tagslist">
+ <?php
+ echo $this->CategoriesList('casestudies');
+ ?>
+ </div>
+
+ <div id="casestudies-list">
+ <?php
+ $datas = Bootstrap::getInstance()->getCMSDatasOfPage($this->id);
+ echo $this->CasestudiesList($datas);
+ ?>
+ </div>
</div>
\ No newline at end of file
$this->headScript()->addScriptAndStyle('expertises');
echo $this->twocols();
echo $this->htmlElement(nl2br($this->citation), 'blockquote', array('class' => 'citation'));
-echo $this->liste($this->expertises, array('id' => 'expertises'));
+echo $this->liste($this->expertises, true, array('id' => 'expertises'));
</div>
</section>
<?php
-echo $this->liste($this->agence, array('id' => 'agency'));
-echo $this->liste($this->expertises, array('id' => 'expertiseshome'));
+echo $this->liste($this->agence, false, array('id' => 'agency'));
+echo $this->liste($this->expertises, false, array('id' => 'expertiseshome'));
-<?php\r
-$this->headScript()->addScriptAndStyle('realisations');\r
-?>\r
-\r
-<div class="title"><?php echo $this->markupDotclear($this->titre); ?></div>\r
-\r
-<div id="realisations-tagslist">\r
- <?php\r
- echo $this->CategoriesList("realisations");\r
- ?>\r
-</div>\r
-\r
-<div id="realisations-list">\r
- <?php\r
- $datas = Bootstrap::getInstance()->getCMSDatasOfPage($this->id);\r
- echo $this->RealisationsList($datas);\r
- ?>\r
-</div>\r
-\r
+<?php
+$this->headScript()->addScriptAndStyle('realisations');
+?>
+<div class="content">
+ <div class="title"><?php echo $this->markupDotclear($this->titre); ?></div>
+
+ <div id="realisations-tagslist">
+ <?php
+ echo $this->CategoriesList("realisations");
+ ?>
+ </div>
+
+ <div id="realisations-list">
+ <?php
+ $datas = Bootstrap::getInstance()->getCMSDatasOfPage($this->id);
+ echo $this->RealisationsList($datas);
+ ?>
+ </div>
+</div>
+
@roboto: 'Roboto Condensed', sans-serif;
-* {
- font-weight: 300;
-}
-
-
-
.content,.cubeit-content{
width:980px;
margin:0 auto;
font-weight:300;
color:#1b1b1b;
opacity:0;
- transition:opacity 0.5s linear;
+ letter-spacing: -0.01em;
+ transition:opacity 0.25s linear;
}
.wf-active body{
opacity:1;
}
-h1, h2 {
+h1,h2,h3,h4,h5,h6 {
font-weight: 300;
}
+strong,b{
+ font-weight: 400;
+}
a {
text-decoration: none;
#main{
+ margin: 0 auto;
+ overflow:hidden;
+
+ .main-holder {
+ min-width: 950px;
+ max-width: 1140px;
+ width:100%;
+ margin: 0 auto;
+ padding: 0px 20px 50px 20px;
+ }
ul{
list-style:none;
li{
}
}
-
-#main {
- margin: 0 auto;
- //min-width: 1024px;
- //max-width: 1200px;
- width:100%;
- overflow:hidden;
-}
-
-#main .main-holder {
- min-width: 950px;
- max-width: 1140px;
- width:100%;
- margin: 0 auto;
- padding: 0px 20px 50px 20px;
-}
-
-#wrapper {
-
+.title {
+ width: 980px;
+ margin: 0 auto;
+ padding: 40px 0 0 0;
+ h1 {
+ text-align: left;
+ font-weight: 300;
+ font-size: 56px;
+ margin:0 0 10px 0;
+ }
+ h2 {
+ text-align: left;
+ font-weight: 300;
+ font-size: 22px;
+ padding:0 0 20px 0;
+ }
}
-
#footer {
-
.footer-top {
padding:50px 0 0 0;
background-color: #282828;
.footer-top-content {
- min-width: 980px;
- max-width: 980px;
- width:100%;
+ width:980px;
margin: 0 auto;
overflow: hidden;
padding-bottom:50px;
+ white-space:nowrap;
.bloc {
- float: left;
- //max-width: 490px;
- width: 50%;
+ display: inline-block;
+ white-space: normal;
+ vertical-align:top;
+ width:470px;
+ margin:0 40px 0 0;
+
h2 {
color:#fff;
font-size:56px;
.actu {
color:#6c6c6c;
padding-bottom: 20px;
+
.dotclear {
width:90%;
}
}
.texte {
font-size:16px;
+ line-height:20px;
}
}
}
+ &:last-child{
+ margin-right: 0;
+ }
}
}
}
padding-bottom: 50px;
}
.bureau {
- float:left;
- width:50%;
+ display:inline-block;
+ width: 214px;
+ vertical-align: top;
color:#6c6c6c;
+ margin:0 42px 0 0;
+ &:last-child{
+ margin-right: 0;
+ }
+
+
.titre,.numeros {
padding-bottom: 20px;
}
.blocs {
padding: 40px 0;
overflow:hidden;
+ white-space:nowrap;
.spacer {
clear:left;
padding:25px 0;
}
- }
-
- .sousbloc {
- float:left;
- width:50%;
-
- .texte {
- width: 60%;
- float:left;
- }
- img {
- float:left;
- padding: 0 25px 0 0;
+ .sousbloc {
+ white-space: normal;
+ display:inline-block;
+ width:470px;
+ margin:0 40px 0 0;
+
+ .text {
+ width: 60%;
+ float:left;
+ }
+ img {
+ float:left;
+ padding: 0 25px 0 0;
+ }
}
}
+
+
}
}
\ No newline at end of file
.twocols{
-
- .title {
- min-width: 980px;
- max-width: 980px;
- margin: 0 auto;
- padding: 40px 0 0 0;
- h1 {
- text-align: left;
- font-weight: 300;
- font-size: 56px;
- margin:0 0 10px 0;
- }
- h2 {
- text-align: left;
- font-weight: 300;
- font-size: 22px;
- padding:0 0 20px 0;
- }
- }
-
-
.dotclear{
p{
margin:30px 0 30px 0;
.col {
white-space: normal;
display:inline-block;
- width:465px;
- margin:0 50px 0 0 ;
+ width:470px;
+ margin:0 40px 0 0 ;
vertical-align: top;
&:last-child{
margin:0;