default.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. /**
  3. * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
  4. * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
  5. *
  6. * Licensed under The MIT License
  7. * For full copyright and license information, please see the LICENSE.txt
  8. * Redistributions of files must retain the above copyright notice.
  9. *
  10. * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
  11. * @link https://cakephp.org CakePHP(tm) Project
  12. * @since 0.10.0
  13. * @license https://opensource.org/licenses/mit-license.php MIT License
  14. * @var \App\View\AppView $this
  15. */
  16. $cakeDescription = 'CakePHP: the rapid development php framework';
  17. ?>
  18. <!DOCTYPE html>
  19. <html>
  20. <head>
  21. <?= $this->Html->charset() ?>
  22. <meta name="viewport" content="width=device-width, initial-scale=1">
  23. <title>
  24. <?= $cakeDescription ?>:
  25. <?= $this->fetch('title') ?>
  26. </title>
  27. <?= $this->Html->meta('icon') ?>
  28. <?= $this->Html->css(['normalize.min', 'milligram.min', 'fonts', 'cake']) ?>
  29. <?= $this->fetch('meta') ?>
  30. <?= $this->fetch('css') ?>
  31. <?= $this->fetch('script') ?>
  32. </head>
  33. <body>
  34. <nav class="top-nav">
  35. <div class="top-nav-title">
  36. <a href="<?= $this->Url->build('/') ?>"><span>Cake</span>PHP</a>
  37. </div>
  38. <div class="top-nav-links">
  39. <a target="_blank" rel="noopener" href="https://book.cakephp.org/5/">Documentation</a>
  40. <a target="_blank" rel="noopener" href="https://api.cakephp.org/">API</a>
  41. </div>
  42. </nav>
  43. <main class="main">
  44. <div class="container">
  45. <?= $this->Flash->render() ?>
  46. <?= $this->fetch('content') ?>
  47. </div>
  48. </main>
  49. <footer>
  50. </footer>
  51. </body>
  52. </html>