<div class="row"> <script async type="text/javascript" src="http://avia.flightsnova.ru/assets/js/iframe.js"></script> </div> <div class="row"> <?php echo Breadcrumbs::widget(['links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : []]); ?> </div> <div class="row content"> <?php //*/ ?> <div class="col-lg-4"> <div class="col-lg-12"> <?php echo Calendar::widget(['params' => ['searchUrl' => Yii::$app->params['domain'] . '/#/flights/pending', 'width' => 360]]); ?> </div> <div class="col-lg-12"> <?php echo Popular::widget(['params' => ['host' => Yii::$app->params['domain'] . '/#', 'width' => '360px']]); ?> </div> </div> <?php //*/ ?> <div class="col-lg-8"> <?php echo $content; ?>
/* @var $this yii\web\View */ $this->title = 'My Golf League'; ?> <div class="site-index"> <div class="body-content"> <div class="row"> <div class="col-lg-8"> <h2><?php echo Yii::t('igolf', 'Competitions'); ?> </h2> <?php echo Tabs::widget(['items' => [['label' => Yii::t('igolf', 'Calendar'), 'content' => Calendar::widget(), 'active' => true], ['label' => Yii::t('igolf', 'List'), 'content' => GridView::widget(['dataProvider' => $competitions, 'panel' => ['heading' => '<h4>' . $this->title . '</h4>'], 'export' => false, 'columns' => ['name', 'description', 'registration_begin', 'registration_end', ['class' => 'kartik\\grid\\ActionColumn', 'template' => '{view}', 'noWrap' => true]]])]], 'options' => ['style' => 'margin-bottom: 20px;']]); ?> </div> <?php echo ' '; /*Masonry::widget([ 'options' => ['id' => 'mycontent'] ])*/ ?> <div class="col-lg-4"> <h2>Search</h2> <?php
<?php use yii\helpers\Html; use yii\helpers\Url; use frontend\widgets\Calendar; /* @var $this yii\web\View */ /* @var $searchModel app\models\FlightSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('igolf', 'Calendar'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="calendar-index"> <?php echo Calendar::widget(['months' => 3]); ?> </div>
use frontend\widgets\Popular; use frontend\widgets\SearchForm; use frontend\widgets\Subscription; /* @var $this \yii\web\View */ /* @var $content string */ $this->beginContent($this->theme->getBasePath() . '/layouts/main.php'); ?> <div class="col-lg-12"> <?php echo SearchForm::widget(['params' => ['handle' => '972edc737dd8ae229df475da9bf27ddf']]); ?> </div> <div class="col-lg-4"> <div class="col-lg-12"> <?php echo Calendar::widget(['params' => ['width' => 360]]); ?> </div> <div class="col-lg-12"> <?php echo Popular::widget(['params' => ['width' => 360]]); ?> </div> <div class="col-lg-12"> <?php echo Subscription::widget(['params' => ['width' => 360]]); ?> </div> </div> <div class="col-lg-8"> <?php