Ejemplo n.º 1
0
<html>
<head>
    <meta charset="utf-8">
    <title><?php 
echo $this->title;
?>
</title>

    <? $this->getCssFiles(); ?>

    <? $this->getJsFiles() ?>
    <script type="text/javascript">SyntaxHighlighter.all();</script>
</head>
<body>
<div class="container">
    <?php 
echo Nav::widget(['class' => 'navbar-default', 'brandLabel' => \app\sitebuilder\Container::get('siteName') . ' ( ' . \app\sitebuilder\SiteBuilder::$app->t->translate('documentation', 'Documentation') . ' )', 'brandUrl' => '/']);
?>

    <div class="col-md-9">
        <?php 
echo $this->content;
?>
    </div>

    <div class="col-md-3">

    </div>
</div>
</body>
</html>
Ejemplo n.º 2
0
use app\widgets\bootstrap\Nav;

?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title><?php 
echo $this->title;
?>
</title>

    <? $this->getCssFiles(); ?>

    <? $this->getJsFiles() ?>
    <script type="text/javascript">SyntaxHighlighter.all();</script>
</head>
<body>
<div class="container">
    <?php 
echo Nav::widget(['class' => 'navbar-default', 'brandLabel' => \app\sitebuilder\Container::get('siteName'), 'brandUrl' => '/', 'navBars' => [['class' => 'nav navbar-nav navbar-right', 'items' => [['label' => 'Документація', 'url' => '/docs', 'items' => [['label' => 'Маршрутизація', 'url' => '/docs/routing']]]]]]]);
?>

    <div>
        <?php 
echo $this->content;
?>
    </div>
</div>
</body>
</html>