開発メモ

開発用のメモです。

bootstrap レイアウト cakephp

<?php $cakeDescription=''; ?>
<!DOCTYPE html>
<html>
    <head>
        <?php echo $this->Html->charset(); ?>
        <title><?php echo $this->fetch('title_for_layout'); ?></title>
        <?php
            echo $this->Html->meta('icon');
            echo $this->Html->script('bootstrap.min');
            echo $this->Html->css('bootstrap.min');
            echo $this->Html->css('bootstrap-theme.min');

            echo $this->fetch('meta');
            echo $this->fetch('css');
            echo $this->fetch('script');
        ?>
    </head>
    <body>
        <div id="container">
            <header>
                <h1><?php echo $this->fetch('title_for_layout'); ?></h1>
                <?php echo $this->fetch('pankuzu'); ?>
            </header>
            <article>
                <div class="warning"><?php echo $this->Session->flash(); ?></div>
                <?php echo $this->fetch('content'); ?>
            </article>
            <footer>
                <?php echo $this->fetch('users.fotter'); ?>
            </footer>
        </div>
    </body>
</html>
Twitter: @asahina_alice