Exemple #1
0
$this->registerCssFile('/css/main.css');
echo Html::doctype('html5');
?>
<html>
<head>
    <?php 
echo Html::charset('utf-8');
?>
    <?php 
echo Html::meta('language', 'ru');
?>
    <?php 
echo Html::favicon('/favicon.ico');
?>
    <?php 
echo Html::meta('viewport', 'width=device-width, initial-scale=1.0');
?>
    <?php 
echo Html::title($this->title);
?>
</head>
<body>
<div id="container">
    <div id="top">
        <span><?php 
echo $this->container->company;
?>
</span> <?php 
echo $this->container->slogan;
?>
    </div>
Exemple #2
0
(new \App\Assets\AppAsset($this))->publish();
echo Html::doctype('html5');
echo Html::openTag('html', ['lang' => 'ru', 'ng-app' => 'app']);
echo Html::openTag('head');
?>
    <?php 
echo Html::meta('language', 'ru');
?>
    <?php 
echo Html::charset('utf-8');
?>
    <?php 
echo Html::meta('viewport', 'width=device-width, initial-scale=1.0');
?>
    <?php 
echo Html::meta('X-UA-Compatible', 'IE=edge');
?>
    <?php 
echo Html::title($this->container->company);
?>
    <?php 
echo Html::tag('base', ['href' => '/']);
echo Html::closeTag('head');
echo Html::openTag('body', ['class' => 'container-fluid', 'ngView' => '']);
?>


<div class="container-fluid">
    <div class="row-fluid">
        <div class="col-md-12 text-center"><h2><headerbar></headerbar></h2></div>
    </div>