6 <?php if (!empty($title)) : ?>
7 <?= $this->e($title) ?> –
11 <meta name="viewport" content="width=device-width, initial-scale=1">
12 <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
13 <link rel="stylesheet" href="<?= $baseUrl->mod("./octicons/octicons.css") ?>">
14 <link rel="stylesheet" href="<?= $baseUrl->mod("./index.css") ?>">
16 <?php if (!empty($styles)) : ?>
17 <?php foreach($styles as $style) : ?>
18 <?php if ($style instanceof \http\Url) : ?>
20 <link rel="stylesheet" href="<?= $style ?>">
24 <style><?= $style ?></style>
33 <?php include "navbar.phtml" ?>
35 <div id="content" class="<?= (isset($container) && !$container) ? "":"container" ?>">
37 <?= $this->section("content") ?>
40 <?php if (isset($modal)) : ?>
41 <?= $this->fetch("modal/$modal") ?>
43 <footer class="footer">
44 <div class="container">
46 © 2015 <abbr title="Michael Wallner">m6w6</abbr>
47 <addr><mike@php.net></addr>
48 — Powered by <a href="//github.com/m6w6/pharext">pharext
50 include_once __DIR__."/../../vendor/m6w6/pharext/src/pharext/Version.php";
57 <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
58 <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
59 <script>$(".modal").modal("show")</script>
60 <?php if (!empty($scripts)) : ?>
61 <?php foreach ($scripts as $script) : ?>
62 <?php if ($script instanceof \http\Url) : ?>
64 <script src="<?= $script ?>"></script>
68 <script><?= $script ?></script>