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
49 <?= \pharext\Metadata::version() ?>
54 <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
55 <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
56 <script>$(".modal").modal("show")</script>
57 <?php if (!empty($scripts)) : ?>
58 <?php foreach ($scripts as $script) : ?>
59 <?php if ($script instanceof \http\Url) : ?>
61 <script src="<?= $script ?>"></script>
65 <script><?= $script ?></script>