public function init() {\r
parent::init();\r
\r
- $titre = new Zend_Form_Element_Text('titre');\r
+ $titre = new CubeIT_Form_Element_Markitup('titre');\r
$titre->setLabel('Titre');\r
$this->addElement($titre);\r
+\r
+ $left = new CubeIT_Form_Element_Markitup('colonnegauche');\r
+ $left->setLabel('Description colonne gauche');\r
+ $this->addElement($left);\r
+\r
+ $right = new CubeIT_Form_Element_Markitup('colonnedroite');\r
+ $right->setLabel('Description colonne droite');\r
+ $this->addElement($right);\r
+\r
+ $pictos = new Cubedesigners_Form_CMS_Sub_Agence_Pictos();\r
+ $pictos->setLabel('Pictogrammes');\r
+ $this->addSubForm($pictos, 'pictos');\r
+\r
+ $photo = new CubeIT_Form_Element_File_Image('photo');\r
+ $photo->setMaxItems(1);\r
+ $photo->setLabel('Photo');\r
+ $this->addElement($photo);\r
+\r
+ $equipe = new Cubedesigners_Form_CMS_Sub_Agence_Persons();\r
+ $equipe->setLabel('Bloc L\'équipe');\r
+ $this->addSubForm($equipe, 'equipe');\r
}\r
\r
}\r
$titre->setLabel('Titre');
$this->addElement($titre);
+ $slideshow = new Cubedesigners_Form_CMS_Sub_Home_Slideshow();
+ $slideshow->setLabel('Slideshow');
+ $this->addSubForm($slideshow, 'slideshow');
+
$agence = new Cubedesigners_Form_CMS_Sub_Home_Agence();
$agence->setLabel('Bloc L\'agence');
$this->addSubForm($agence, 'agence');
+
+ $expertises = new Cubedesigners_Form_CMS_Sub_Home_Expertises();
+ $expertises->setLabel('Bloc Expertises');
+ $this->addSubForm($expertises, 'expertises');
}
}
\r
$res = '<div class="actus">';\r
foreach ($actus as $id => $actu) {\r
- $res.='<div class="actu"><p class="date">' . $actu['date'] . '</p><p class="texte">' . $this->view->markupDotclear($actu['texte']) . '<p></div>';\r
+ $res.='<div class="actu"><p class="date">' . $actu['date'] . '</p><span class="texte">' . $this->view->markupDotclear($actu['texte']) . '<span></div>';\r
}\r
$res.= '</div>';\r
\r
$res.='</div>';\r
\r
$res.='<div class="geoloc">';\r
- $res.=$this->view->linkGeo(__('Plan d\'accès'), $bureau['adresse']['adresse'] . ',' . $bureau['adresse']['ville'] . ',' . Zend_Locale::getTranslation($bureau['adresse']['pays'], 'territory'));\r
+ $res.=$this->view->linkGeo(__("Plan d'accès"), $bureau['adresse']['adresse'] . ',' . $bureau['adresse']['ville'] . ',' . Zend_Locale::getTranslation($bureau['adresse']['pays'], 'territory'));\r
$res.='</div>';\r
\r
$res.='</div>';\r
\r
$res = '<div class="reseaux">';\r
foreach ($socials as $id => $social) {\r
- $image = $this->view->imageProcess($social['picto'], $social['titre'], 45, 45);\r
+ $image = $this->view->imageCms($social['picto'], $social['titre'], 45, 45);\r
$res.='<div class="social"><a href="' . $social['url'] . '">' . $image . '</a></div>';\r
}\r
$res.= '</div>';\r
\r
<div class="home-title"><?php echo $this->markupDotclear($this->titre); ?></div>\r
\r
-<div class="home-slideshow"></div>\r
+<div class="home-slideshow">\r
+ <div class="slides-holder">\r
+ <?php\r
+ echo $this->homeSlideshow($this->slideshow);\r
+ ?>\r
+ </div>\r
+</div>\r
\r
<div class="home-agency">\r
- <div class="home-agency-holder">\r
+ <div class="bloc-holder">\r
\r
<h1><?php echo ucfirst($this->agence['titre']); ?></h1>\r
\r
- <?php echo $this->homeAgence($this->agence); ?>\r
+ <?php echo $this->homeBlocs($this->agence); ?>\r
+\r
+ </div>\r
+</div>\r
+\r
+<div class="home-expertise">\r
+ <div class="bloc-holder">\r
+\r
+ <h1><?php echo ucfirst($this->expertises['titre']); ?></h1>\r
+\r
+ <?php echo $this->homeBlocs($this->expertises); ?>\r
\r
</div>\r
</div>
\ No newline at end of file
}
#footer .footer-top .footer-top-content {
- min-width: 950px;
- max-width: 1140px;
+ min-width: 980px;
+ max-width: 980px;
width:100%;
margin: 0 auto;
overflow: hidden;
- padding: 0px 20px 50px 20px;
+ padding-bottom:50px;
}
#footer .footer-top .footer-top-content .bloc {
/* Footer Nous Contacter */
#footer .contact-texte {
- background: url('../images/picto_footer_mail.png') no-repeat;
+ background-image: url('../images/picto_footer_mail.svg');
+ background-repeat: no-repeat;
background-position:0px 10px;
font-family: 'roboto_condensedlight';
font-weight: normal;
color:#6c6c6c;
}
+#footer .bureau a:hover,
+#footer .bureau a:active {
+ background-color: #2874ce;
+ color:#fff;
+}
+
/* Footer Actualites */
#footer .actu {
font-family: 'roboto_condensedlight';
padding-bottom: 20px;
}
+#footer .actu .dotclear {
+ width:90%;
+}
+
#footer .actu:last-child {
padding-bottom: 0;
}
#header {
margin: 0 auto;
- min-width: 1024px;
+ //min-width: 1024px;
max-width: 1200px;
width:100%;
height:130px;
#header ul a{
text-decoration: none;
- color:#3885e0;
+ color:#282828;
padding: 10px;
}
#header ul .active a{
border-radius: 2px;
background-color: #84ae1e;
- color:#356bac;
+ color:#fff;
}
#header ul li{
/* max-width pour faibles résolutions */
-@media screen and (max-width: 1024px) {
+@media screen and (max-width: 1009px) {
#header {
margin: 0 auto;
\r
/* Home Slideshow */\r
.home-slideshow {\r
- height: 450px;\r
padding-bottom:50px;\r
}\r
\r
-/* Home Agency */\r
+.home-slideshow .slides-holder {\r
+ min-width: 980px;\r
+ max-width: 980px;\r
+ width:100%;\r
+ margin: 0 auto;\r
+ overflow:hidden;\r
+}\r
+\r
+.home-slideshow .slides-holder .slides {\r
+ width:980px;\r
+ height:400px;\r
+}\r
+\r
+.home-slideshow .slides-holder .slides .slide {\r
+ position:absolute;\r
+ display:none;\r
+}\r
+\r
+.home-slideshow .slides-holder .slides .slide a {\r
+ margin:0;\r
+ padding: 0;\r
+}\r
+\r
+.home-slideshow .slides-holder a {\r
+ margin: 25px 0 0 0;\r
+ width: 12px;\r
+ height: 22px;\r
+ float: right;\r
+ padding: 0 0 25px;\r
+}\r
+\r
+.home-slideshow .slides-holder .prev {\r
+ background: url('../images/prev.png') no-repeat;\r
+ background-position: center top;\r
+ margin-right: 30px;\r
+}\r
+\r
+.home-slideshow .slides-holder .next {\r
+ background: url('../images/next.png') no-repeat;\r
+ background-position: center top;\r
+}\r
+\r
+#slide-legend {\r
+ padding: 25px 0 0 0;\r
+ margin-right: 30px;\r
+ font-size: 18px;\r
+ float:right;\r
+}\r
+\r
+/* Home Agency and Expertises */\r
.home-agency {\r
background-color:#3885e0;\r
color:#fff;\r
}\r
\r
-.home-agency .home-agency-holder {\r
- min-width: 950px;\r
- max-width: 1140px;\r
+.home-expertise {\r
+ background-color:#fff;\r
+ color:#1b1b1b;\r
+}\r
+\r
+.home-agency .bloc-holder,\r
+.home-expertise .bloc-holder {\r
+ min-width: 980px;\r
+ max-width: 980px;\r
width:100%;\r
margin: 0 auto;\r
- padding: 50px 20px 0px 20px;\r
+ padding: 50px 0;\r
overflow:hidden;\r
}\r
\r
-.home-agency .home-agency-holder h1 {\r
+.home-agency .bloc-holder h1,\r
+.home-expertise .bloc-holder h1 {\r
font-family: 'roboto_condensedlight';\r
font-weight: normal;\r
- color:#fff;\r
font-size:56px;\r
}\r
\r
-.home-agency .home-agency-holder h2 {\r
+.home-agency .bloc-holder h2,\r
+.home-expertise .bloc-holder h2 {\r
font-family: 'roboto_condensedlight';\r
font-weight: normal;\r
- color:#fff;\r
font-size:32px;\r
+ padding: 0 0 20px 0;\r
}\r
\r
-.home-agency .home-agency-holder .blocs {\r
+.home-agency .bloc-holder .blocs,\r
+.home-expertise .bloc-holder .blocs {\r
padding: 40px 0;\r
}\r
\r
-.home-agency .home-agency-holder .sousbloc {\r
+.home-agency .bloc-holder .blocs .spacer,\r
+.home-expertise .bloc-holder .blocs .spacer {\r
+ clear:left;\r
+ padding:25px 0;\r
+}\r
+\r
+.home-agency .bloc-holder .sousbloc,\r
+.home-expertise .bloc-holder .sousbloc {\r
float:left;\r
width:50%;\r
- padding-bottom: 50px;\r
}\r
\r
-.home-agency .home-agency-holder .sousbloc img {\r
+.home-agency .bloc-holder .sousbloc .texte,\r
+.home-expertise .bloc-holder .sousbloc .texte {\r
+ width: 60%;\r
+ float:left;\r
+}\r
+\r
+.home-agency .bloc-holder .sousbloc img,\r
+.home-expertise .bloc-holder .sousbloc img {\r
float:left;\r
- padding-right: 50px;\r
+ padding: 0 50px 0 0;\r
}
\ No newline at end of file