Example #1
0
<?php

/* @var $this yii\web\View */
$this->title .= 'Home';
?>

<div class="site-index">

    <?php 
echo \dmstr\modules\prototype\widgets\HtmlWidget::widget(['enableFlash' => true]);
?>

</div>
Example #2
0
<?php

echo \dmstr\modules\prototype\widgets\HtmlWidget::widget(['id' => 'base']);
Example #3
0
    <?php 
echo $this->render('_navbar');
?>
    <div class="alert-wrapper"><?php 
echo Alert::widget();
?>
</div>

    <?php 
echo $content;
?>
</div>

<footer class="footer">
    <?php 
echo \dmstr\modules\prototype\widgets\HtmlWidget::widget(['key' => 'footer']);
?>
    <div class="container">
        <p class="pull-right">
            <span class="label label-default"><?php 
echo YII_ENV;
?>
</span>
        </p>
        <p class="pull-left">
            <?php 
echo Html::a(Html::img('http://t.phundament.com/p4-16-bw.png', ['alt' => 'Icon Phundament 4']), '#', ['data-toggle' => 'modal', 'data-target' => '#infoModal']);
?>
        </p>
    </div>
</footer>