Esempio n. 1
0
    <?php 
if ($type == "index") {
    echo '<div class="col-md-8 col-md-offset-2" >
        <div class="col-md-1 col-sm-1 col-xs-1 orange-line" ></div >
        <hr class="col-md-10" style = "margin-top: 2px;" >
    </div >
    <div class="row" >
        <!--<div class="col-md-12" > -->
        <div class="col-md-8 col-md-offset-2" >
            <h3 class="subName" > Організатори і учасники </h3 >
            <div class="col-md-1 col-sm-1 col-xs-1 orange-line" ></div >
            <hr class="col-md-10" style = "margin-top: 2px;" >
        </div >
        <!--</div > -->
    </div >';
    echo \app\components\LogoWidget::widget();
}
?>

</div>
<script>
    $(document).ready(function(){
        $("#info").on("hide.bs.collapse", function(){
            $("#link").html('розгорнути<span class="glyphicon glyphicon-triangle-bottom" style="padding-left: 5px"></span>');
        });
        $("#info").on("show.bs.collapse", function(){
            $("#link").html('згорнути<span class="glyphicon glyphicon-triangle-top" style="padding-left: 5px"></span>');
        });
    });
    $(document).ready(function(){
        $("#info").on("hide.bs.collapse", function(){
Esempio n. 2
0
    <div class="container top-nav clearfix">
        <div class="pull-right">
            <a href="#">Login</a>
            <a href="#">Cart / <span class="text-bold">0 đ</span></a>
            <a href="#"><img src="/img/cart-icon.png" alt=""></a>
        </div>
    </div>
    <nav>
        <div class="container clearfix">
            <div class="pull-left logo">
                <a href="<?php 
echo Yii::$app->homeUrl;
?>
">
                    <img src="<?php 
echo LogoWidget::widget();
?>
" alt="<?php 
echo Yii::$app->name;
?>
">
                </a>
            </div>
            <div class="pull-right">
                <?php 
echo MenuWidget::widget();
?>
            </div>
        </div>
    </nav>
</header>