コード例 #1
0
ファイル: index.php プロジェクト: ut8ia/iwet
            <ol class="breadcrumb"><h4><?php 
echo Yii::t('main', 'Industrial methods of water purification :');
?>
</h4></ol>
        </div>
    </div>
    <?php 
echo BlocksWidget::widget(['items' => Content::byRubric(16, 3), 'urlHead' => 'methods/', 'itemTemplate' => 'item_preview', 'imageClass' => 'img-responsive img-hover', 'numInRow' => 3, 'rowWrapStart' => '<div class="row">', 'rowWrapEnd' => '</div>', 'textTruncate' => 140]);
?>
    <hr>


    <!-- /.row -->
    <div class="row">
        <div class="col-lg-12">
            <ol class="breadcrumb">
                <h4><?php 
echo Yii::t('main', 'Portable and mobile technologies of water purification :');
?>
</h4>
            </ol>
        </div>
    </div>

    <?php 
echo BlocksWidget::widget(['items' => Content::byRubric(17, 3), 'urlHead' => 'methods/', 'itemTemplate' => 'item_preview', 'imageClass' => 'img-responsive img-hover', 'numInRow' => 3, 'rowWrapStart' => '<div class="row">', 'rowWrapEnd' => '</div>', 'textTruncate' => 140]);
?>
    <hr>

</div>
コード例 #2
0
ファイル: rubric.php プロジェクト: ut8ia/iwet
                <li class="active"><?php 
echo $rubric->name;
?>
</li>
            </ol>
        </div>
    </div>
    <!-- /.row -->

    <div class="row">

        <!-- Blog Entries Column -->
        <div class="col-md-8">

            <?php 
echo BlocksWidget::widget(['items' => $models, 'urlHead' => '/methods/', 'itemTemplate' => 'event_preview', 'imageClass' => 'img-responsive img-hover', 'textTruncate' => 240, 'captionPostedOn' => '<i class="fa fa-clock-o"></i> Posted on ', 'captionMore' => 'Read More <i class="fa fa-angle-right"></i>', 'classMore' => 'btn btn-primary']);
?>

        </div>

        <!-- Blog Sidebar Widgets Column -->
        <div class="col-md-4">

            <!-- Blog Search Well -->
            <div class="well">
                <h4>Content Search</h4>
                <div class="input-group">
                    <input type="text" class="form-control">
                    <span class="input-group-btn">
                            <button class="btn btn-default" type="button"><i class="fa fa-search"></i></button>
                        </span>
コード例 #3
0
ファイル: index.php プロジェクト: ut8ia/iwet
        <div class="container">
            <div class="promoAncor"><a id="events"></a></div>
            <div class="promoHeader">
                <h2><?php 
echo Yii::t('menu', 'Events around water and purification technologies');
?>
</h2></div>
        </div>
    </div>
    <div class="row">
        <div class="container">
            <div class="row">
                <div class="col-md-8">
                    <br>
                    <?php 
echo BlocksWidget::widget(['items' => $eventsPromo, 'urlHead' => 'events/', 'itemTemplate' => 'item_preview', 'imageClass' => 'img-responsive img-hover', 'numInRow' => 2, 'rowWrapStart' => '<div class="row">', 'rowWrapEnd' => '</div>', 'textTruncate' => 140]);
?>
                </div>
                <div class="col-md-4">
                    <br>
                    <?php 
echo partialWidget::widget(['items' => ContentRubrics::findBySection(8), 'itemView' => '@frontend/views/partials/rubricsBlocks/items.php', 'wrapView' => '@frontend/views/partials/rubricsBlocks/blockWrapper.php', 'itemParams' => ['controller' => 'events/rubric']]);
?>

<!--                    <div class="well">-->
<!--                        <h4>Tags Cloud</h4>-->
<!--                        <p></p>-->
<!--                    </div>-->

                    <?php 
echo partialWidget::widget(['items' => $eventsLast, 'itemView' => '@frontend/views/partials/postAnnounce/items.php', 'wrapView' => '@frontend/views/partials/postAnnounce/blockWrapper.php', 'itemParams' => ['controller' => '/events/', 'trim' => 35, 'trimEnding' => '...'], 'wrapParams' => ['header' => 'Latest posts']]);