]> _ Git - fluidbook-v3.git/commitdiff
wip #8018 @2:00
authorsoufiane <soufiane@cubedesigners.com>
Thu, 26 Feb 2026 13:51:07 +0000 (14:51 +0100)
committersoufiane <soufiane@cubedesigners.com>
Thu, 26 Feb 2026 13:51:07 +0000 (14:51 +0100)
framework/application/Bootstrap.php
framework/application/forms/CMS/Accessibility.php [new file with mode: 0644]
framework/application/views/scripts/templates/accessibility.phtml [new file with mode: 0644]
less/420-features-details.less

index 2f6e7793b895e606d1c41320540844f776432438..d35bd6acc221ada0a54fae32b6dc9ddbdca42157 100644 (file)
@@ -27,6 +27,7 @@ class Bootstrap extends CubeIT_Bootstrap
         $templates['agences'] = 'Agences';
         $templates['faq'] = 'FAQ';
         $templates['blog'] = 'Blog';
+        $templates['accessibility'] = 'Accessibilité';
         $templates = array_merge($templates, parent::getCMSTemplates());
         return $templates;
     }
diff --git a/framework/application/forms/CMS/Accessibility.php b/framework/application/forms/CMS/Accessibility.php
new file mode 100644 (file)
index 0000000..dd448f2
--- /dev/null
@@ -0,0 +1,29 @@
+<?php
+
+class Fluidbook_Form_CMS_Accessibility extends Fluidbook_Form_CMS_Base {
+    public function init() {
+        parent::init();
+
+        $details = new Fluidbook_Form_CMS_Sub_Features_FeatureDetails();
+        $details->setLabel('Détails');
+        $this->addSubForm($details, 'details');
+
+        $features_standard_title = new CubeIT_Form_Element_Textarea('features_standard_title');
+        $features_standard_title->setLabel('Titre pour "Fonctionnalités standard"');
+        $features_standard_title->setAttrib('rows', 3);
+        $this->addElement($features_standard_title);
+
+        $features_standard = new Fluidbook_Form_CMS_Sub_Features_Features();
+        $features_standard->setLegend('Fonctionnalités standard');
+        $this->addSubForm($features_standard, 'features_standard');
+
+        $features_title = new CubeIT_Form_Element_Textarea('features_title');
+        $features_title->setLabel('Titre pour "Fonctionnalités spécifiques"');
+        $features_title->setAttrib('rows', 3);
+        $this->addElement($features_title);
+
+        $features = new Fluidbook_Form_CMS_Sub_Features_Features();
+        $features->setLegend('Fonctionnalités spécifiques');
+        $this->addSubForm($features, 'features');
+    }
+}
\ No newline at end of file
diff --git a/framework/application/views/scripts/templates/accessibility.phtml b/framework/application/views/scripts/templates/accessibility.phtml
new file mode 100644 (file)
index 0000000..45e56ef
--- /dev/null
@@ -0,0 +1,13 @@
+<?php
+
+$this->headScript()->addFeatherlight('1.6.1');
+$this->headScript()->addScriptAndStyle('410-features');
+$this->headScript()->addScriptAndStyle('420-features-details');
+
+$res = $this->introBlock($this->intro);
+$res .= $this->featureDetails($this->details);
+$res .= $this->featuresSection($this->features_standard_title, $this->features_standard);
+$res .= $this->featuresSection($this->features_title, $this->features);
+$res .= $this->contactFooter();
+
+echo $res;
index ae7a8fb3cf000bf0e9427784fced87c1369cd73f..35df9e120a6f9966c046730f2e86d745fe236cc3 100644 (file)
 \r
       h3 {\r
         font-family: @playfair;\r
+        text-transform: uppercase;\r
         font-weight: 500;\r
         margin-bottom: 15px;\r
-        font-size: 40px;\r
-        line-height: 45px;\r
-        @media @m900 {\r
-          font-size: 2.17em;\r
-          line-height: normal;\r
-        }\r
       }\r
     }\r
 \r
   }\r
 \r
 }\r
-\r
+.elearning,\r
+.accessibilite {\r
+  #featureDetails article .content h3 {\r
+    font-size: 40px;\r
+    line-height: 45px;\r
+    text-transform: initial;\r
+    @media @m900 {\r
+      font-size: 2.17em;\r
+      line-height: normal;\r
+    }\r
+  }\r
+}
\ No newline at end of file