You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.9KB

  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. $siteName = 'Territory';
  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><?= $siteName ?><?= $this->fetch('title') ? ' &middot; ' . $this->fetch('title') : '' ?></title>
  24. <?= $this->Html->meta('icon') ?>
  25. <?php if ($this->request->getAttribute('csrfToken')): ?>
  26. <meta name="csrf-token" content="<?= h($this->request->getAttribute('csrfToken')) ?>">
  27. <?php endif; ?>
  28. <link rel="preconnect" href="https://fonts.googleapis.com">
  29. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  30. <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap">
  31. <?= $this->Html->css(['normalize.min', 'milligram.min', 'fonts', 'cake', 'app']) ?>
  32. <?= $this->Html->script('https://code.jquery.com/jquery-3.7.1.min.js') ?>
  33. <?= $this->fetch('meta') ?>
  34. <?= $this->fetch('css') ?>
  35. <?= $this->fetch('script') ?>
  36. </head>
  37. <body>
  38. <?= $this->element('header') ?>
  39. <main class="main">
  40. <div class="container">
  41. <?= $this->Flash->render() ?>
  42. <?= $this->fetch('content') ?>
  43. </div>
  44. </main>
  45. <?= $this->element('footer') ?>
  46. <?= $this->Html->script('app') ?>
  47. </body>
  48. </html>

Powered by TurnKey Linux.