labNameShort) { $labshortname = $configuration->labNameShort; //$this->d("lab name is set to $labshortname"); $logo_software_name .= "_$labshortname"; $logo_entity_name .= "_$labshortname"; } $logo_software_name .= '.jpg'; $logo_entity_name .= '.jpg'; //debug($logo_entity_name); //debug($logo_software_name); /* TODO: (EP 2020 02) J'ai commencé à m'inspirer du template par defaut de bootstrap-ui dans vendor/friendsofcake/bootstrap-ui/src/Template/Layout/default.ctp Il faudrait continuer à s'en inspirer complètement (ajouter les sections html, meta, title...) */ // $cakeDescription = 'CakePHP: the rapid development php framework'; $cakeDescription = 'Labinvent 2'; /** * Prepend `css` block with Bootstrap stylesheets and append * the `$html5Shim`. */ $html5Shim = << HTML; // https://book.cakephp.org/4/en/views/helpers/html.html#linking-to-css-files //$this->prepend('css', $this->Html->css(['bootstrap/bootstrap'])); $this->prepend('css', $this->Html->css(['bootstrap/bootstrap.min', 'jquery-ui/jquery-ui.min'])); $this->append('css', $html5Shim); // //echo $this->Html->css('smoothness'); $this->append('css', $this->Html->css(['smoothness', 'inventirap', 'font-awesome', 'responsive'])); //<= $this->Html->css('inventirap') > //<= $this->Html->css('font-awesome') > /* */ //Prepend `script` block with jQuery and Bootstrap scripts //echo $this->Html->script('jquery/jquery'); //echo $this->Html->script('bootstrap/bootstrap'); //$this->prepend('script', $this->Html->script(['jquery/jquery', 'bootstrap/bootstrap'])); $this->prepend('script', $this->Html->script(['jquery/jquery.min', 'bootstrap/bootstrap.min', 'jquery-ui/jquery-ui.min'])); //echo $this->Html->script('script'); //echo $this->Html->script('DatepickerConfig'); //echo $this->Html->script('onTabHover'); $this->append('script', $this->Html->script(['script', 'DatepickerConfig', 'onTabHover'])); // ?>
Html->charset(); // Default is UTF-8 // Autres possibilités //echo $this->Html->charset('ISO-8859-1'); // viewport echo $this->Html->meta( 'viewport', 'width=device-width,initial-scale=1,minimum-scale=1' ); // equivaut à : // ?>